public class SubtreeEditor extends DefaultEditor
INSTANCE
Constructor and Description |
---|
SubtreeEditor(Editor editor,
java.lang.String... path) |
Modifier and Type | Method and Description |
---|---|
@Nullable Editor |
childNodeAdded(java.lang.String name,
NodeState after)
Processes an added child node.
|
@Nullable Editor |
childNodeChanged(java.lang.String name,
NodeState before,
NodeState after)
Processes a changed child node.
|
@Nullable 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)
@Nullable public @Nullable 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 processing@Nullable public @Nullable 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 processing@Nullable public @Nullable 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 processingCopyright © 2010 - 2020 Adobe. All Rights Reserved