Package simtools.shapes

Examples of simtools.shapes.ShapesContainer


        System.exit(0);
      }
    });
   
    // a container with coordinates
    svg=new ShapesContainer("SVG");
    LabelShape l;
    for(int i=0;i<GRID_SIZE;i++){
      l=new LabelShape(""+i,GRID_STEP*i,0,LabelShape.CENTER,false);
      l.setBounds(sFont);
      svg.addElement(l);
 
View Full Code Here


                }

                // Save synoptics
                try {
                    for(int i = 0; i < selectedSheets.size(); i++) {
                        ShapesContainer sc = ((ShapesComponent) selectedSheets.get(i)).getContainer();
                        File sheetFile =  JSynoptic.gui.getFilePanel().getFile(sc.getComponent());
                        String fileName;
                        if (sheetFile == null){
                            fileName = sc.getComponent().getName();
                            fileName = "Doc" + fileName.charAt(fileName.length() - 1) + JSynopticPanels.resources.getStringValue("defaultSaveExtension");
                        } else {
                            fileName = sheetFile.getName();
                        }
                        sheetFile = new File(temRep, fileName);
View Full Code Here

TOP

Related Classes of simtools.shapes.ShapesContainer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.