|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.report.style.StyleChangeSupport
A utility class for managing a collection of StyleChangeListener
objects.
Constructor Summary | |
StyleChangeSupport(ElementStyleSheet source)
Creates a new support object. |
Method Summary | |
void |
addListener(StyleChangeListener l)
Adds a listener. |
void |
fireStyleChanged(StyleKey key,
java.lang.Object value)
Notifies all listeners that a style has changed. |
void |
fireStyleRemoved(StyleKey key)
Notifies all listeners that a style has been removed. |
void |
removeListener(StyleChangeListener l)
Removes a listener. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StyleChangeSupport(ElementStyleSheet source)
source
- the source of change events.Method Detail |
public void addListener(StyleChangeListener l)
l
- the listener.public void removeListener(StyleChangeListener l)
l
- the listener.public void fireStyleChanged(StyleKey key, java.lang.Object value)
key
- the style key.value
- the new style value.public void fireStyleRemoved(StyleKey key)
key
- the style key.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |