|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
ch.hearc.I04_05s08.GUI.RDF.RdfTreeNode
ch.hearc.I04_05s08.GUI.RDF.RdfTreeLeaf
A node of the RDF Toolbar that is a leaf
Nested Class Summary |
Nested classes inherited from class javax.swing.tree.DefaultMutableTreeNode |
|
Field Summary | |
private Color[] |
colors
The colors |
private Icon |
icon
The icon |
private Instance |
instance
Associated resource |
Fields inherited from class ch.hearc.I04_05s08.GUI.RDF.RdfTreeNode |
|
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
RdfTreeLeaf(Instance instance,
Icon icon)
Build a leaf |
|
RdfTreeLeaf(String title,
Icon icon)
Init the tree node |
|
RdfTreeLeaf(String title,
String help)
Init the tree node |
|
RdfTreeLeaf(String title,
String help,
Icon icon)
Init the tree node |
Method Summary | |
Color |
getBackgroundColor()
Get the background color |
Color |
getForegroundColor()
Get the foreground color |
Icon |
getIcon()
Get the icon |
Instance |
getInstance()
Get the RDF Instance |
void |
setBackgroundColor(Color color)
Set the background color |
void |
setForegroundColor(Color color)
Set the foreground color |
Methods inherited from class ch.hearc.I04_05s08.GUI.RDF.RdfTreeNode |
add, getHelptext |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private Icon icon
private Color[] colors
private Instance instance
Constructor Detail |
public RdfTreeLeaf(String title, String help, Icon icon)
title
- the title of the nodehelp
- help texticon
- the iconpublic RdfTreeLeaf(Instance instance, Icon icon)
instance
- the instanceicon
- the inconpublic RdfTreeLeaf(String title, Icon icon)
title
- the title of the nodeicon
- the iconpublic RdfTreeLeaf(String title, String help)
title
- the title of the nodehelp
- help textMethod Detail |
public Icon getIcon()
public Instance getInstance()
public void setBackgroundColor(Color color)
color
- background colorpublic void setForegroundColor(Color color)
color
- foreground colorpublic Color getBackgroundColor()
public Color getForegroundColor()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A project by Blanc, Yoan – supervised by Dr. Ghorbel, Hatem.
2004 © Blanc, Yoan - HE-ARC