protected static class FilterNode.NodeAdapter extends Object implements NodeListener
FilterNode.createNodeListener()
.FilterNode.PropertyChangeAdapter
Constructor and Description |
---|
NodeAdapter(FilterNode fn)
Create an adapter.
|
Modifier and Type | Method and Description |
---|---|
void |
childrenAdded(NodeMemberEvent ev)
Does nothing.
|
void |
childrenRemoved(NodeMemberEvent ev)
Does nothing.
|
void |
childrenReordered(NodeReorderEvent ev)
Does nothing.
|
void |
nodeDestroyed(NodeEvent ev)
Fired when the node is deleted.
|
protected void |
propertyChange(FilterNode fn,
PropertyChangeEvent ev)
Actually refire the change event in a subclass.
|
void |
propertyChange(PropertyChangeEvent ev) |
public NodeAdapter(FilterNode fn)
fn
- the proxypublic final void propertyChange(PropertyChangeEvent ev)
propertyChange
in interface PropertyChangeListener
protected void propertyChange(FilterNode fn, PropertyChangeEvent ev)
parentNode
property but refires
everything else.fn
- the filter nodeev
- the event to firepublic void childrenAdded(NodeMemberEvent ev)
childrenAdded
in interface NodeListener
ev
- event describing the actionpublic void childrenRemoved(NodeMemberEvent ev)
childrenRemoved
in interface NodeListener
ev
- event describing the actionpublic void childrenReordered(NodeReorderEvent ev)
childrenReordered
in interface NodeListener
ev
- event describing the actionpublic final void nodeDestroyed(NodeEvent ev)
NodeListener
nodeDestroyed
in interface NodeListener
ev
- event describing the node