Package simtools.diagram

Examples of simtools.diagram.ElementSelection


        //--------------------------------
        for(int i=0;i<ShapesContainer.this.size();i++){
            AbstractShape r=(AbstractShape)elementAt(i);
            r.draw(g2);

            ElementSelection dss=getElementContainer().getSelection().getSelectedShape(r);
            if(dss!=null){
                drawBounds(g2,dss);
            }

            // update drawing size
View Full Code Here


                    g2.setColor(Color.red);
                } else {
                    g2.setColor(Color.blue);
                }

                ElementSelection dss=_selection.getSelectedShape(r);
                if(dss!=null){
                    dss.drawBounds(g2);
                }    
               
                g2.draw(r);

                // UPdate the bottom right point
View Full Code Here

TOP

Related Classes of simtools.diagram.ElementSelection

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.