Package jsynoptic.plugins.java3d.panels

Examples of jsynoptic.plugins.java3d.panels.PointsDialog


    }
   
    static class LineAction extends AbstractNodeAction {
        @Override
        public void actionPerformed(ActionEvent e) {
            PointsDialog d=new PointsDialog(
                    javax.swing.SwingUtilities.getWindowAncestor( getNode().getTree()),
                    getLocation(),"Line",2); // TODO i18n
            double[] v=d.getResult();
            if(v!=null){
                GroupNode gn=(GroupNode)getNode();
       
                LineArray la = new LineArray(2, LineArray.COORDINATES);
                la.setCoordinates(0,v);
View Full Code Here


    }
   
    static class TriangleAction extends AbstractNodeAction {
        @Override
        public void actionPerformed(ActionEvent e) {
            PointsDialog d=new PointsDialog(
                    javax.swing.SwingUtilities.getWindowAncestor( getNode().getTree()),
                    getLocation(),"Triangle",3); // TODO i18n
            double[] v=d.getResult();
            if(v!=null){
                apply(v);
            }
        }
View Full Code Here

    }
   
    static class QuadAction extends TriangleAction {
        @Override
        public void actionPerformed(ActionEvent e) {
            PointsDialog d=new PointsDialog(
                    javax.swing.SwingUtilities.getWindowAncestor( getNode().getTree()),
                    getLocation(),"Quadrangle",4); // TODO i18n
            double[] v=d.getResult();
            if(v!=null){
                apply(v);
            }
        }
View Full Code Here

TOP

Related Classes of jsynoptic.plugins.java3d.panels.PointsDialog

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.