public static class TopComponent.NodeName
extends NodeAdapter
| Constructor and Description |
|---|
NodeName(TopComponent top)
Constructs new name adapter that
can be attached to any node and will listen on changes
of its display name and modify the name of the component.
|
| Modifier and Type | Method and Description |
|---|---|
void |
propertyChange(java.beans.PropertyChangeEvent ev)
Listens to Node.PROP_DISPLAY_NAME.
|
public NodeName(TopComponent top)
top - top compoonent to modify its name