|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.tree.DefaultMutableTreeNode org.keridwen.modelling.mesh.inspector.core.AnalyserTreeNode
public class AnalyserTreeNode
Node in the model of the JFreeMeshInspector control tree (GUI) corresponding to an analyser object. An analyser object may be linked to this object.
Field Summary | |
---|---|
protected String |
name
|
protected AnalyserUIPanel |
uiPanel
|
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
---|---|
AnalyserTreeNode(String name,
MeshAnalyserInterface analyser)
Default constructor. |
Method Summary | |
---|---|
com.artenum.penelope.mesh.util.MeshAnalyser |
getAnalyser()
return the linked analyser. |
String |
getName()
return the name of the tree node. |
JComponent |
getUiPanel()
|
void |
printName()
print the name of the tree node. |
void |
setAnalyser(com.artenum.penelope.mesh.util.MeshAnalyser mesh)
set the linked analyser object. |
void |
setName(String name)
set the name of the node. |
void |
setUIPanel(JComponent uiPanel)
|
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 |
---|
protected AnalyserUIPanel uiPanel
protected String name
Constructor Detail |
---|
public AnalyserTreeNode(String name, MeshAnalyserInterface analyser)
name
- of the node.linked
- analyser.Method Detail |
---|
public void printName()
public String getName()
getName
in interface DefaultTreeNode
public void setName(String name)
name
- public com.artenum.penelope.mesh.util.MeshAnalyser getAnalyser()
public void setAnalyser(com.artenum.penelope.mesh.util.MeshAnalyser mesh)
mesh
- public JComponent getUiPanel()
getUiPanel
in interface DefaultTreeNode
public void setUIPanel(JComponent uiPanel)
setUIPanel
in interface DefaultTreeNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |