|
||||||||||
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.ImageNode
public class ImageNode
The Class ImageNode.
Field Summary |
---|
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
EMPTY_ENUMERATION |
Constructor Summary | |
---|---|
ImageNode(java.io.File assetFile)
Instantiates a new image node. |
|
ImageNode(java.awt.Image img)
Instantiates a new image node. |
Method Summary | |
---|---|
javax.swing.Icon |
getIcon()
Gets the icon. |
java.awt.Image |
getImage()
Gets the image. |
void |
setImage(java.awt.Image img)
Sets the image. |
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 ImageNode(java.io.File assetFile)
assetFile
- the asset filepublic ImageNode(java.awt.Image img)
img
- the imgMethod Detail |
---|
public javax.swing.Icon getIcon()
AssetNode
getIcon
in class AssetNode
public java.awt.Image getImage()
public void setImage(java.awt.Image img)
img
- the new image
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |