|
||||||||||
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
public abstract class AssetNode
The Class AssetNode.
Field Summary |
---|
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
EMPTY_ENUMERATION |
Constructor Summary | |
---|---|
AssetNode(java.io.File assetFile)
Instantiates a new asset node. |
Method Summary | |
---|---|
java.io.File |
getAssetFile()
Gets the asset file. |
java.lang.String |
getAssetId()
Gets the asset id. |
abstract javax.swing.Icon |
getIcon()
Gets the icon. |
void |
setAssetFile(java.io.File file)
Sets the asset file. |
void |
setAssetId(java.lang.String id)
Sets the asset id. |
void |
setNodeTitle(java.lang.String title)
Sets the node title. |
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 AssetNode(java.io.File assetFile)
assetFile
- the asset fileMethod Detail |
---|
public java.io.File getAssetFile()
public java.lang.String getAssetId()
public abstract javax.swing.Icon getIcon()
public void setAssetFile(java.io.File file)
file
- the new asset filepublic void setAssetId(java.lang.String id)
id
- the new asset idpublic void setNodeTitle(java.lang.String title)
title
- the new node title
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |