|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Indicates which style constructs have been changed.
Acts as a series of breadcrumbs stored up by a StyleEvent to communicate changes.
This delta is constructed a fashion following the outline of the style document, allowing you to skip over entire branches of changes if you are not interested.
Nested Class Summary | |
static class |
StyleDelta.Kind
Kind of Delta, used to indicate change. |
Field Summary | |
static java.util.List |
NO_CHILDREN
List indicating no children are present |
Method Summary | |
void |
accept(StyleDeltaVisitor visitor)
Accepts the given visitor. |
java.lang.Object |
getAffected()
Affected style construct, getChildern may indicate specific details of the change. |
java.util.List |
getChildren()
Finds and returns deltas for specificly changed constructs. |
StyleDelta.Kind |
getKind()
Returns the kind of this delta. |
Field Detail |
public static final java.util.List NO_CHILDREN
Method Detail |
public StyleDelta.Kind getKind()
Normally, one of ADDED
, REMOVED
or CHANGED
.
Kind.ADDED
,
Kind.REMOVED
,
Kind.CHANGED
public java.lang.Object getAffected()
Examples of style constructs (in order of abstraction):
This event system will stop at the Rule level, even though changes may occur at individual Filter Exppressions.
public java.util.List getChildren()
This code may be considered more accessable then the use of StyleDeltaVisitor.
public void accept(StyleDeltaVisitor visitor)
visitor
-
CoreException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |