|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
com.lowagie.rups.view.icons.IconTreeNode
public class IconTreeNode
A tree node with a specific icon.
Field Summary | |
---|---|
protected Icon |
icon
The icon that has to be used for this TreeNode. |
private static long |
serialVersionUID
A Serial Version UID. |
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
---|---|
IconTreeNode(String icon)
Constructs an IconTreeNode. |
|
IconTreeNode(String icon,
Object userobject)
Constructs an IconTreeNode. |
Method Summary | |
---|---|
Icon |
getIcon()
Getter for the icon. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Icon icon
private static final long serialVersionUID
Constructor Detail |
---|
public IconTreeNode(String icon)
icon
- the filename of the icon to use for this node.public IconTreeNode(String icon, Object userobject)
icon
- the filename of the icon to use for this node.userobject
- the userobject for this nodeMethod Detail |
---|
public Icon getIcon()
|
Hosted by Hostbasket | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |