|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides display name, icon and tooltip value for some type of objects.
Designed to be used with TreeModel
.
Method Summary | |
void |
addModelListener(ModelListener l)
Registers given listener. |
String |
getDisplayName(Object node)
Returns display name for given node. |
String |
getIconBase(Object node)
Returns icon for given node. |
String |
getShortDescription(Object node)
Returns tooltip for given node. |
void |
removeModelListener(ModelListener l)
Unregisters given listener. |
Method Detail |
public String getDisplayName(Object node) throws UnknownTypeException
UnknownTypeException
public String getIconBase(Object node) throws UnknownTypeException
UnknownTypeException
- if this NodeModel implementation is not
able to resolve icon for given node typepublic String getShortDescription(Object node) throws UnknownTypeException
UnknownTypeException
- if this NodeModel implementation is not
able to resolve tooltip for given node typepublic void addModelListener(ModelListener l)
l
- the listener to addpublic void removeModelListener(ModelListener l)
l
- the listener to remove
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |