Package jsynoptic.plugins.java3d

Examples of jsynoptic.plugins.java3d.Animator


    public class AnimatorListSelection extends JDialog {
        Animator _an;
        public AnimatorListSelection(){
            super(_owner, "Animator selection"); // TODO i18n
            Animator anc=AnimatorFactory.create(_param);
            final Node n=_p.getHolder().getSceneGraphNode();
            AnimatorList list=new AnimatorList(AnimatorFactory.getCompatibleAnimators(anc, n));
            getContentPane().add(list, CENTER);
            JPanel pbutton=new JPanel();
            // TODO i18n
View Full Code Here


    /* (non-Javadoc)
     * @see jsynoptic.plugins.java3d.tree.AbstractNode#getSceneGraphChildren(java.util.ArrayList)
     */
    @Override
    protected void getSceneGraphChildren(ArrayList<Object> list) {
        Animator n=(Animator)getGraphObject();
        list.addAll(n.getGraphObjects());
    }
View Full Code Here

        }
        throw new RuntimeException("addSceneGraphObject invalid argument ="+obj.getClass());
    }
   
    public void addRef(SceneGraphObject o) {
        Animator a=(Animator)getGraphObject();
        boolean forced=forceCapability(Group.ALLOW_CHILDREN_EXTEND);
        SceneGraphObjectHolder res=Universe.findHolder(this, o);
        a.addGraphObject(o, res.getSceneGraphNode() , _ad);
        if(forced) restoreCapability(Group.ALLOW_CHILDREN_EXTEND);
    }
View Full Code Here

        a.addGraphObject(o, res.getSceneGraphNode() , _ad);
        if(forced) restoreCapability(Group.ALLOW_CHILDREN_EXTEND);
    }

    public void removeRef(GraphObjectReference r) {
        Animator a=(Animator)getGraphObject();
        boolean forced=forceCapability(Group.ALLOW_CHILDREN_WRITE);
        a.removeGraphObject(r, _ad);
        if(forced) restoreCapability(Group.ALLOW_CHILDREN_WRITE);
    }
View Full Code Here

TOP

Related Classes of jsynoptic.plugins.java3d.Animator

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.