de.pannenleiter.client
Class TextNode
java.lang.Object
|
+--de.pannenleiter.client.TreeNode
|
+--de.pannenleiter.client.TextNode
- Direct Known Subclasses:
- ElementNode
- public class TextNode
- extends TreeNode
TextNode -- a TreeNode with a label
|
Method Summary |
static java.awt.Image |
getIcon(int what,
java.awt.Component at)
|
void |
paint(java.awt.Graphics g,
TreeWidget tree,
int x,
int y)
|
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ICON_DB
public static final int ICON_DB
ICON_FOLDER
public static final int ICON_FOLDER
ICON_DOC
public static final int ICON_DOC
ICON_PACKAGE
public static final int ICON_PACKAGE
label
protected java.lang.String label
icon
protected int icon
TextNode
public TextNode(TreeNode up,
boolean toOpen,
java.lang.String label,
int icon)
TextNode
public TextNode(TreeWidget up,
boolean toOpen,
java.lang.String label,
int icon)
getIcon
public static java.awt.Image getIcon(int what,
java.awt.Component at)
paint
public void paint(java.awt.Graphics g,
TreeWidget tree,
int x,
int y)
- Overrides:
- paint in class TreeNode