syn3d.nodes.java3d
Class BuilderNodeJava3D
java.lang.Object
syn3d.base.ActiveNode
syn3d.nodes.BuilderNode
syn3d.nodes.java3d.BuilderNodeJava3D
- All Implemented Interfaces:
- java.io.Serializable
public class BuilderNodeJava3D
- extends BuilderNode
- implements java.io.Serializable
- Author:
- ogor
TODO To change the template for this generated type comment go to
Window - Preferences - Java - Code Style - Code Templates
- See Also:
- Serialized Form
Method Summary |
void |
doAction(java.lang.Object action)
When the user has selected an action in the list return by getActions(), this method is called. |
java.util.List |
getActions()
Returns a list of possible actions on this node. |
boolean |
loadJava3dScene(java.io.File f)
|
Methods inherited from class syn3d.base.ActiveNode |
addChild, findDescendantOfType, findDescendantOfType, get3DObject, getChildren, getName, getParent, highlight, notifyInternalChange, notifyStructuralChange, propagateAddChildEvent, propagateChangeNameEvent, propagateHighlightEvent, propagateInternalChangeEvent, propagateRemoveChildEvent, propagateStructuralChangeEvent, remove, removeChild, removeNodeTree, removeNodeTreeFrom, restoreReferences, saveChildren, setName, setParent, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
pluginManager
protected PluginManager pluginManager
actions
protected static java.util.List actions
BuilderNodeJava3D
public BuilderNodeJava3D(ActiveNode parent,
PluginManager pluginManager)
getActions
public java.util.List getActions()
- Description copied from class:
ActiveNode
- Returns a list of possible actions on this node. Actions may be classified
by categories using the "|" separator.
Ex: a transform node may have the following actions: "Rotate|90° on X", "Rotate|180° on X", etc...
- Overrides:
getActions
in class ActiveNode
- Returns:
- an array of possible actions, or a null or empty array if this node doesn't handle any action
doAction
public void doAction(java.lang.Object action)
- Description copied from class:
ActiveNode
- When the user has selected an action in the list return by getActions(), this method is called.
The node should then do what it claims.
- Overrides:
doAction
in class ActiveNode
- Parameters:
action
- An action previously declared by the getActions method.
loadJava3dScene
public boolean loadJava3dScene(java.io.File f)