public interface NodeModelFilter extends Model
NodeModel
. You can change display
name, tooltip, or icon for some existing object here.Modifier and Type | Method and Description |
---|---|
void |
addModelListener(ModelListener l)
Registers given listener.
|
String |
getDisplayName(NodeModel original,
Object node)
Returns filterred display name for given node.
|
String |
getIconBase(NodeModel original,
Object node)
Returns filterred icon for given node.
|
String |
getShortDescription(NodeModel original,
Object node)
Returns filterred tooltip for given node.
|
void |
removeModelListener(ModelListener l)
Unregisters given listener.
|
String getDisplayName(NodeModel original, Object node) throws UnknownTypeException
UnknownTypeException
- this exception can be thrown from
original.getDisplayName (...)
method call only!String getIconBase(NodeModel original, Object node) throws UnknownTypeException
UnknownTypeException
- this exception can be thrown from
original.getIconBase (...)
method call only!String getShortDescription(NodeModel original, Object node) throws UnknownTypeException
UnknownTypeException
- this exception can be thrown from
original.getShortDescription (...)
method call only!void addModelListener(ModelListener l)
l
- the listener to addvoid removeModelListener(ModelListener l)
l
- the listener to removeBuilt on June 4 2024. | Copyright © 2017-2024 Apache Software Foundation. All Rights Reserved.