Package mgui.interfaces.shapes.trees
Class Shape3DTreeNode
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
mgui.interfaces.trees.InterfaceTreeNode
mgui.interfaces.shapes.trees.ShapeTreeNode
mgui.interfaces.shapes.trees.Shape3DTreeNode
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,javax.swing.tree.MutableTreeNode
,javax.swing.tree.TreeNode
,InterfaceObjectListener
,PopupMenuObject
,ShapeListener
public class Shape3DTreeNode extends ShapeTreeNode implements ShapeListener
A tree node specialized for an instance of Shape3DInt.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Andrew Reid
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class mgui.interfaces.trees.InterfaceTreeNode
isDestroyed, isMouseOverSelect, isSelectable, listeners, parent_tree, popup_handler, popup_menu
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
-
Constructor Summary
Constructors Constructor Description Shape3DTreeNode()
Shape3DTreeNode(Shape3DInt thisShape)
-
Method Summary
Modifier and Type Method Description java.lang.Object
clone()
InterfacePopupMenu
getPopupMenu()
Produces and returns a popup menu for this object.Shape3DInt
getUserObject()
boolean
hasShapeNode(InterfaceShape shape)
void
removeShapeNode(InterfaceShape shape)
void
setUserObject(InterfaceObject obj)
Methods inherited from class mgui.interfaces.shapes.trees.ShapeTreeNode
getChildForShape, getShape, getVertexDataColumnNode, getVertexDataNode, shapeUpdated
Methods inherited from class mgui.interfaces.trees.InterfaceTreeNode
addChild, addListener, containsObject, destroy, destroy, destroyAllChildren, fireTreeListeners, getChildren, getParentTree, getPopupMenu, handleMouseEvent, handlePopupEvent, init, insertChild, isDestroyed, isSelectable, moveChild, objectChanged, objectChanged, removeChild, removeListener, setParentTree, setPopupMenu, setSelectable, showPopupMenu
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, 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
Methods inherited from interface mgui.interfaces.shapes.util.ShapeListener
destroy, isDestroyed, shapeUpdated
-
Constructor Details
-
Shape3DTreeNode
public Shape3DTreeNode() -
Shape3DTreeNode
-
-
Method Details
-
setUserObject
- Overrides:
setUserObject
in classInterfaceTreeNode
-
getUserObject
- Overrides:
getUserObject
in classjavax.swing.tree.DefaultMutableTreeNode
-
getPopupMenu
Description copied from interface:PopupMenuObject
Produces and returns a popup menu for this object.- Specified by:
getPopupMenu
in interfacePopupMenuObject
- Overrides:
getPopupMenu
in classInterfaceTreeNode
- Returns:
-
removeShapeNode
- Specified by:
removeShapeNode
in classShapeTreeNode
-
hasShapeNode
- Specified by:
hasShapeNode
in classShapeTreeNode
-
clone
public java.lang.Object clone()- Overrides:
clone
in classInterfaceTreeNode
-