public class SubtreeEditor extends DefaultEditor
INSTANCE
Constructor and Description |
---|
SubtreeEditor(Editor editor,
java.lang.String... path) |
Modifier and Type | Method and Description |
---|---|
Editor |
childNodeAdded(java.lang.String name,
NodeState after)
Processes an added child node.
|
Editor |
childNodeChanged(java.lang.String name,
NodeState before,
NodeState after)
Processes a changed child node.
|
Editor |
childNodeDeleted(java.lang.String name,
NodeState before)
Processes a deleted child node.
|
enter, leave, propertyAdded, propertyChanged, propertyDeleted
public SubtreeEditor(Editor editor, java.lang.String... path)
public Editor childNodeAdded(java.lang.String name, NodeState after)
Editor
childNodeAdded
in interface Editor
childNodeAdded
in class DefaultEditor
name
- name of the added nodeafter
- the added child nodenull
if the subtree does not need processingpublic Editor childNodeChanged(java.lang.String name, NodeState before, NodeState after)
Editor
childNodeChanged
in interface Editor
childNodeChanged
in class DefaultEditor
name
- name of the changed nodebefore
- child node before the changeafter
- child node after the changenull
if the subtree does not need processingpublic Editor childNodeDeleted(java.lang.String name, NodeState before)
Editor
childNodeDeleted
in interface Editor
childNodeDeleted
in class DefaultEditor
name
- name of the deleted nodebefore
- the deleted child nodenull
if the subtree does not need processing"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"