|
SMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsmacs.gui.service.simple.SimpleNodeDecorator
xngr XDecorator implementation.
shows an icon and associated text in the treepanel view of the xngr browser.
The original xngr browser will not give us smacs SimpleNode but instead
its own explorer node derived directly from the Element.
In that case we just present the NodeName and possibly its NodeValue in the view.
| Field Summary | |
protected ImageIcon |
_ObjectNameIcon
|
protected ImageIcon |
_SimpleNodeIcon
|
| Constructor Summary | |
SimpleNodeDecorator()
|
|
| Method Summary | |
String |
getDescription(XElement element)
Returns the description for the specific element... |
ImageIcon |
getIcon(XElement element)
Returns the icon for the specific element. |
String |
getName(XElement element)
Returns the name for the specific element... |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected ImageIcon _SimpleNodeIcon
protected ImageIcon _ObjectNameIcon
| Constructor Detail |
public SimpleNodeDecorator()
| Method Detail |
public String getName(XElement element)
XDecorator
getName in interface XDecoratorelement - the element to get the name for.
public String getDescription(XElement element)
XDecorator
getDescription in interface XDecoratorelement - the element to get the description for.
public ImageIcon getIcon(XElement element)
XDecorator
getIcon in interface XDecoratorelement - the element to return the icon for.
|
SMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||