|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsyn3d.base.ActiveNode
syn3d.nodes.GroupNode
syn3d.nodes.TransformGroupNode
public class TransformGroupNode
Field Summary | |
---|---|
protected static java.util.List |
actions
|
protected static int |
anonymousNodeNumber
|
protected TransformData |
data
|
protected static javax.swing.Icon |
icon
|
protected SceneNode |
universe
|
Fields inherited from class syn3d.base.ActiveNode |
---|
children, name, parent |
Constructor Summary | |
---|---|
TransformGroupNode(ActiveNode parent)
|
Method Summary | |
---|---|
void |
cleanup()
Tells this dirty node to cleanup, before rendering the scene If the node is already clean, it should return immediately |
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. |
javax.swing.Icon |
getIcon()
Utility method to specialize the swing tree renderer. |
protected void |
initData()
|
void |
remove()
Removes this node from the parent list. |
void |
restoreReferences(ActiveNode parent)
Restore a serialized object to the scene graph. |
boolean |
saveChildren()
The scene/swing tree is serialized from root to leaf, hierachically. |
void |
setDirty()
|
Methods inherited from class syn3d.nodes.GroupNode |
---|
getScene |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static int anonymousNodeNumber
protected TransformData data
protected transient SceneNode universe
protected static java.util.List actions
protected static javax.swing.Icon icon
Constructor Detail |
---|
public TransformGroupNode(ActiveNode parent)
Method Detail |
---|
protected void initData()
public void cleanup()
DirtyNode
cleanup
in interface DirtyNode
public void setDirty()
public java.util.List getActions()
ActiveNode
getActions
in class ActiveNode
public void doAction(java.lang.Object action)
ActiveNode
doAction
in class ActiveNode
action
- An action previously declared by the getActions method.public void remove()
ActiveNode
remove
in class ActiveNode
public javax.swing.Icon getIcon()
ActiveNode
getIcon
in class ActiveNode
public void restoreReferences(ActiveNode parent)
ActiveNode
restoreReferences
in class ActiveNode
parent
- The active node to attach this one to once it has been successfully de-serializedpublic boolean saveChildren()
ActiveNode
saveChildren
in class ActiveNode
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |