| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Class used as a source of information that defines representation of tree nodes.
Use NodeUIService.addNodeUIProvider method to register your UI provider.
You can use default values or override methods to return necessary information.
| Method Summary | |
String | getDisplayName(Reference ref)Returns string that will be displayed as a name of a node. |
Icon | getIcon(Reference ref)Return an icon to be displayed for node representing specified model reference. |
Color | getTextColor(Reference ref)Returns color of text to be used to display node's name. |
Font | getTextFont(Reference ref)Returns text font to be used to display node's name. |
String | getToolTipText(Reference ref)Returns tooltip text to be displayed for a node. |
| Method Detail |
public String getDisplayName(Reference ref)
Property.NAME is used by default.Reference object that belongs to nodepublic Icon getIcon(Reference ref)
Reference object that belongs to nodeIcon objectpublic Color getTextColor(Reference ref)
Reference object that belongs to nodeColor of node's name textpublic Font getTextFont(Reference ref)
Reference object that belongs to nodeFont objectpublic String getToolTipText(Reference ref)
Reference object that belongs to node
| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||