Interface StyleSheetListener
- All Known Implementing Classes:
StyleGroupSet
public interface StyleSheetListener
Listener for style events.
-
Method Summary
Modifier and Type Method Description voidstyleAdded(Rule oldRule, Rule newRule)A style was changed or added.voidstyleSheetCleared()The complete style sheet was cleared.
-
Method Details
-
styleAdded
A style was changed or added. To differentiate the addition of a new style from a change (augmentation) of an existing style, two values are passed, the old style if augmented and the new style. The first is set to null if the style is added. The old style is set to a value if is was augmented.- Parameters:
oldRule- The style that changed.newRule- The style that was added to the style sheet.
-
styleSheetCleared
void styleSheetCleared()The complete style sheet was cleared.
-