org.keridwen.modelling.mesh.inspector.core
Class MeshTreeNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by org.keridwen.modelling.mesh.inspector.core.MeshTreeNode
All Implemented Interfaces:
Serializable, Cloneable, MutableTreeNode, TreeNode, DefaultTreeNode

public class MeshTreeNode
extends DefaultMutableTreeNode
implements DefaultTreeNode

See Also:
Serialized Form

Field Summary
protected  String name
           
protected  MeshUIPanel uiPanel
           
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
MeshTreeNode(String name, com.artenum.penelope.mesh.interfaces.Mesh mesh)
           
 
Method Summary
 com.artenum.penelope.mesh.interfaces.Mesh getMesh()
           
 String getName()
           
 JComponent getUiPanel()
           
 void printName()
           
 void setMesh(com.artenum.penelope.mesh.interfaces.Mesh mesh)
           
 void setName(String name)
           
 void setUIPanel(JComponent uiPanel)
           
 void setUiPanel(MeshUIPanel uiPanel)
           
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, 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, 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
 
Methods inherited from interface javax.swing.tree.MutableTreeNode
insert, remove, remove, removeFromParent, setParent, setUserObject
 
Methods inherited from interface javax.swing.tree.TreeNode
children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf
 

Field Detail

name

protected String name

uiPanel

protected MeshUIPanel uiPanel
Constructor Detail

MeshTreeNode

public MeshTreeNode(String name,
                    com.artenum.penelope.mesh.interfaces.Mesh mesh)
Method Detail

printName

public void printName()

getName

public String getName()
Specified by:
getName in interface DefaultTreeNode

setName

public void setName(String name)

getMesh

public com.artenum.penelope.mesh.interfaces.Mesh getMesh()

setMesh

public void setMesh(com.artenum.penelope.mesh.interfaces.Mesh mesh)

getUiPanel

public JComponent getUiPanel()
Specified by:
getUiPanel in interface DefaultTreeNode

setUiPanel

public void setUiPanel(MeshUIPanel uiPanel)

setUIPanel

public void setUIPanel(JComponent uiPanel)
Specified by:
setUIPanel in interface DefaultTreeNode


Copyright © 2013 Artenum. All Rights Reserved.