|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
jsynoptic.plugins.java3d.tree.AbstractNode
jsynoptic.plugins.java3d.tree.SceneGraphNode
jsynoptic.plugins.java3d.tree.GroupNode
public class GroupNode
A Node to hold a Group Node
| Nested Class Summary | |
|---|---|
static class |
GroupNode.LoaderHandler
|
| Nested classes/interfaces inherited from class jsynoptic.plugins.java3d.tree.SceneGraphNode |
|---|
SceneGraphNode.CopyAction, SceneGraphNode.CutAction, SceneGraphNode.PasteAction, SceneGraphNode.PropertiesAction, SceneGraphNode.RemoveAction |
| Field Summary |
|---|
| Fields inherited from class jsynoptic.plugins.java3d.tree.SceneGraphNode |
|---|
sharedResources |
| Fields inherited from class jsynoptic.plugins.java3d.tree.AbstractNode |
|---|
_name |
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
|---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Constructor Summary | |
|---|---|
GroupNode(Tree tree,
java.lang.Object graphObject,
boolean getChildren)
|
|
| Method Summary | |
|---|---|
void |
addChild(Node n)
|
SceneGraphObject |
addSceneGraphObject(SceneGraphObject obj)
Add one scene graph object According to the target, this new object can replace the previous object or be added to a list |
protected java.lang.Class<?> |
getChildrenNodeClass(java.lang.Object sceneGraphObject)
According to a child scene graph object, returns the class of the Node to hold it in the Tree |
protected void |
getSceneGraphChildren(java.util.ArrayList<java.lang.Object> list)
Get the list of children of this scene graph object |
void |
removeChild(Node n)
|
void |
removeSceneGraphObject(SceneGraphObject obj,
SceneGraphObject oldObj)
Remove one scene graph object |
| Methods inherited from class jsynoptic.plugins.java3d.tree.SceneGraphNode |
|---|
addActions, canAddSceneGraphObject, canPaste, cloneNode, copy, cut, getName, paste, remove |
| Methods inherited from class jsynoptic.plugins.java3d.tree.AbstractNode |
|---|
addResource, addResources, createNode, getAllowsChildren, getChildCount, getDescription, getGraphObject, getIcon, getOwner, getTree, refresh |
| Methods inherited from class javax.swing.tree.DefaultMutableTreeNode |
|---|
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getChildAfter, getChildAt, getChildBefore, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GroupNode(Tree tree,
java.lang.Object graphObject,
boolean getChildren)
| Method Detail |
|---|
protected java.lang.Class<?> getChildrenNodeClass(java.lang.Object sceneGraphObject)
AbstractNode
getChildrenNodeClass in class SceneGraphNodesceneGraphObject - a child object of this Node scene graph object
createNodeprotected void getSceneGraphChildren(java.util.ArrayList<java.lang.Object> list)
AbstractNode
getSceneGraphChildren in class SceneGraphNodelist - the list to fill with the scene graph childrenpublic SceneGraphObject addSceneGraphObject(SceneGraphObject obj)
AddRemoveSceneGraphObject
addSceneGraphObject in interface AddRemoveSceneGraphObjectaddSceneGraphObject in class SceneGraphNodeobj - the object to add
public void removeSceneGraphObject(SceneGraphObject obj,
SceneGraphObject oldObj)
AddRemoveSceneGraphObject
removeSceneGraphObject in interface AddRemoveSceneGraphObjectremoveSceneGraphObject in class SceneGraphNodeobj - the object to removeoldObj - the optional object to be used in place ofpublic void addChild(Node n)
public void removeChild(Node n)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||