|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.css.event.CSSStyleDeclarationChangeSupport
This class provides methods to manage CSSStyleDeclarationChangeEvent.
Field Summary | |
protected CSSStyleDeclarationChangeEvent |
event
The fired CSSStyleDeclarationChangeEvent event. |
protected java.util.List |
listeners
The listeners. |
protected java.lang.Object |
source
The event source. |
Constructor Summary | |
CSSStyleDeclarationChangeSupport(java.lang.Object source)
Creates a new CSSStyleDeclarationChangeSupport object. |
Method Summary | |
void |
addCSSStyleDeclarationChangeListener(CSSStyleDeclarationChangeListener listener)
Adds a CSSStyleDeclarationChangeListener to the listener list. |
void |
fireCSSPropertyChange(CSSPropertyChangeEvent evt)
Fires an existing CSSPropertyChangeEvent to any registered listeners. |
void |
fireCSSPropertyChange(java.lang.String property,
CSSValue oldValue,
CSSValue newValue)
Reports a bound property update to any registered listeners. |
void |
fireCSSStyleDeclarationChangeCancel()
Reports the annulation of a CSSStyleDeclaration update to any registered listeners. |
void |
fireCSSStyleDeclarationChangeCancel(CSSStyleDeclarationChangeEvent evt)
Fires an existing CSSStyleDeclarationChangeEvent that reports the annulation of a CSSStyleDeclaration update to any registered listeners. |
void |
fireCSSStyleDeclarationChangeEnd()
Reports the end of a CSSStyleDeclaration update to any registered listeners. |
void |
fireCSSStyleDeclarationChangeEnd(CSSStyleDeclarationChangeEvent evt)
Fires an existing CSSStyleDeclarationChangeEvent that reports the end of a CSSStyleDeclaration update to any registered listeners. |
void |
fireCSSStyleDeclarationChangeStart()
Reports the start of a CSSStyleDeclaration update to any registered listeners. |
void |
fireCSSStyleDeclarationChangeStart(CSSStyleDeclarationChangeEvent evt)
Fires an existing CSSStyleDeclarationChangeEvent that reports the start of a CSSStyleDeclaration update to any registered listeners. |
void |
removeCSSStyleDeclarationChangeListener(CSSStyleDeclarationChangeListener listener)
Removes a CSSStyleDeclarationChangeListener from the listener list. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected CSSStyleDeclarationChangeEvent event
protected java.lang.Object source
protected java.util.List listeners
Constructor Detail |
public CSSStyleDeclarationChangeSupport(java.lang.Object source)
source
- The source of the fired events.Method Detail |
public void addCSSStyleDeclarationChangeListener(CSSStyleDeclarationChangeListener listener)
listener
- The CSSStyleDeclarationChangeListener to be addedpublic void removeCSSStyleDeclarationChangeListener(CSSStyleDeclarationChangeListener listener)
listener
- The CSSStyleDeclarationChangeListener to be removedpublic void fireCSSStyleDeclarationChangeStart()
public void fireCSSStyleDeclarationChangeStart(CSSStyleDeclarationChangeEvent evt)
public void fireCSSStyleDeclarationChangeCancel()
public void fireCSSStyleDeclarationChangeCancel(CSSStyleDeclarationChangeEvent evt)
public void fireCSSStyleDeclarationChangeEnd()
public void fireCSSStyleDeclarationChangeEnd(CSSStyleDeclarationChangeEvent evt)
public void fireCSSPropertyChange(java.lang.String property, CSSValue oldValue, CSSValue newValue)
property
- The name of the property that was changed.oldValue
- The old value of the property.newValue
- The new value of the property.public void fireCSSPropertyChange(CSSPropertyChangeEvent evt)
evt
- The CSSPropertyChangeEvent object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |