|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Allows for processing of StyleDeltas.
Example Usage:
class Visitor implements StyleDeltaVisitor {
public boolean visit(StyleDelta delta) {
switch (delta.getKind()) {
case StyleDelta.Kind.ADDED :
// handle added handled
break;
case StyleDelta.Kind.REMOVED :
// handle removed handled
break;
case StyleDelta.Kind.CHANGED :
// handle changed handled
break;
}
return true; // visit children
}
}
StyleDelta delta = styleEvent.getDelta();
delta.accept(new Visitor());
| Method Summary | |
boolean |
visit(StyleDelta delta)
Visits the given delta. |
| Method Detail |
public boolean visit(StyleDelta delta)
true if the delta's children should be visited;
false if they should be skipped.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||