public interface NodeModel extends Model
TreeModel
.Modifier and Type | Method and Description |
---|---|
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 tool tip for given node.
|
void |
removeModelListener(ModelListener l)
Unregisters given listener.
|
String getDisplayName(Object node) throws UnknownTypeException
UnknownTypeException
String getIconBase(Object node) throws UnknownTypeException
UnknownTypeException
- if this NodeModel implementation is not
able to resolve icon for given node typeString getShortDescription(Object node) throws UnknownTypeException
UnknownTypeException
- if this NodeModel implementation is not
able to resolve tool tip for given node typevoid addModelListener(ModelListener l)
l
- the listener to addvoid removeModelListener(ModelListener l)
l
- the listener to remove