|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
apps.mtdesktop.desktop.tree.nodes.AssetNode
apps.mtdesktop.desktop.tree.nodes.TextNode
public class TextNode
The Class TextNode.
Field Summary |
---|
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
EMPTY_ENUMERATION |
Constructor Summary | |
---|---|
TextNode(java.io.File assetFile)
Instantiates a new text node. |
|
TextNode(java.lang.String text)
Instantiates a new text node. |
Method Summary | |
---|---|
javax.swing.Icon |
getIcon()
Gets the icon. |
java.lang.String |
getText()
Gets the text. |
void |
setText(java.lang.String text)
Sets the text. |
Methods inherited from class apps.mtdesktop.desktop.tree.nodes.AssetNode |
---|
getAssetFile, getAssetId, setAssetFile, setAssetId, setNodeTitle |
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, 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, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TextNode(java.io.File assetFile)
assetFile
- the asset filepublic TextNode(java.lang.String text)
text
- the textMethod Detail |
---|
public javax.swing.Icon getIcon()
AssetNode
getIcon
in class AssetNode
public java.lang.String getText()
public void setText(java.lang.String text)
text
- the new text
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |