| Modifier and Type | Class and Description |
|---|---|
static class |
NodeCounterEditor.NodeCounterRoot |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COUNT_PROPERTY_NAME |
static java.lang.String |
DATA_NODE_NAME |
static int |
DEFAULT_RESOLUTION |
| Constructor and Description |
|---|
NodeCounterEditor(NodeCounterEditor.NodeCounterRoot root,
NodeCounterEditor parent,
java.lang.String name) |
| 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.
|
void |
enter(NodeState before,
NodeState after)
Called before the given before and after states are compared.
|
void |
leave(NodeState before,
NodeState after)
Called after the given before and after states are compared.
|
void |
propertyAdded(PropertyState after)
Processes an added property.
|
void |
propertyChanged(PropertyState before,
PropertyState after)
Processes a changed property.
|
void |
propertyDeleted(PropertyState before)
Processes a removed property.
|
public static final java.lang.String DATA_NODE_NAME
public static final java.lang.String COUNT_PROPERTY_NAME
public static final int DEFAULT_RESOLUTION
public NodeCounterEditor(NodeCounterEditor.NodeCounterRoot root, NodeCounterEditor parent, java.lang.String name)
public void enter(NodeState before, NodeState after) throws CommitFailedException
Editorenter in interface Editorbefore - before state, non-existent if this node was addedafter - after state, non-existent if this node was removedCommitFailedException - if this commit should be rejectedpublic void leave(NodeState before, NodeState after) throws CommitFailedException
Editorleave in interface Editorbefore - before state, non-existent if this node was addedafter - after state, non-existent if this node was removedCommitFailedException - if this commit should be rejectedpublic void propertyAdded(PropertyState after) throws CommitFailedException
EditorpropertyAdded in interface Editorafter - the added propertyCommitFailedException - if processing failedpublic void propertyChanged(PropertyState before, PropertyState after) throws CommitFailedException
EditorpropertyChanged in interface Editorbefore - the original propertyafter - the changed propertyCommitFailedException - if processing failedpublic void propertyDeleted(PropertyState before) throws CommitFailedException
EditorpropertyDeleted in interface Editorbefore - the removed propertyCommitFailedException - if processing failedpublic Editor childNodeChanged(java.lang.String name, NodeState before, NodeState after) throws CommitFailedException
EditorchildNodeChanged in interface Editorname - name of the changed nodebefore - child node before the changeafter - child node after the changenull if the subtree does not need processingCommitFailedException - if processing failedpublic Editor childNodeAdded(java.lang.String name, NodeState after) throws CommitFailedException
EditorchildNodeAdded in interface Editorname - name of the added nodeafter - the added child nodenull if the subtree does not need processingCommitFailedException - if processing failedpublic Editor childNodeDeleted(java.lang.String name, NodeState before) throws CommitFailedException
EditorchildNodeDeleted in interface Editorname - name of the deleted nodebefore - the deleted child nodenull if the subtree does not need processingCommitFailedException - if processing failed"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"