| java.lang.Object java.beans.PropertyChangeSupport javax.media.jai.PropertyChangeSupportJAI
PropertyChangeSupportJAI | final public class PropertyChangeSupportJAI extends PropertyChangeSupport (Code) | | Extension of the beans utility class PropertyChangeSupport
which adds an accessor for the parameter passed to the constructor. All
events fired by the firePropertyChange() methods of this
class are instances of PropertyChangeEventJAI ; consequently
all property names are forced to lower case for recognition purposes.
The property name-specific PropertyChangeListener registration
and unregistration methods defined in this class also force the supplied
property name to lower case.
See Also: PropertyChangeSupport since: JAI 1.1 |
propertyChangeEventSource | protected Object propertyChangeEventSource(Code) | | The PropertyChangeEvent source.
|
PropertyChangeSupportJAI | public PropertyChangeSupportJAI(Object propertyChangeEventSource)(Code) | | Constructs a PropertyChangeSupportJAI object. The
parameter is cached for later use and retrieval.
Parameters: propertyChangeEventSource - The property change event source. throws: If - propertyChangeEventSource is null then a NullPointerException will be thrownin the superclass. |
firePropertyChange | public void firePropertyChange(PropertyChangeEvent evt)(Code) | | Report a bound property update to any registered listeners.
If the supplied object is not a PropertyChangeEventJAI
then a PropertyChangeEventJAI is constructed from the
event object's accessors and fired instead.
Parameters: evt - The PropertyChangeEvent object. |
firePropertyChange | public void firePropertyChange(String propertyName, Object oldValue, Object newValue)(Code) | | Report a bound property update to any registered listeners.
A PropertyChangeEventJAI is created from the cached
property event source and the supplied parameters and fired using
the superclass firePropertyChange(PropertyChangeEvent)
method.
Parameters: propertyName - The name of the changed property. Parameters: oldValue - The old value of the property. Parameters: newValue - The new value of the property. |
getPropertyChangeEventSource | public Object getPropertyChangeEventSource()(Code) | | Retrieve the parameter passed to the constructor.
The property change event source. |
hasListeners | public synchronized boolean hasListeners(String propertyName)(Code) | | Check whether there are any listeners for a specific property.
The propertyName is forced to lower case.
Parameters: propertyName - The name of the property. true if there are one or more listeners forthe given property |
Methods inherited from java.beans.PropertyChangeSupport | public synchronized void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc) public synchronized void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc) public void fireIndexedPropertyChange(String propertyName, int index, Object oldValue, Object newValue)(Code)(Java Doc) public void fireIndexedPropertyChange(String propertyName, int index, int oldValue, int newValue)(Code)(Java Doc) public void fireIndexedPropertyChange(String propertyName, int index, boolean oldValue, boolean newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, Object oldValue, Object newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, int oldValue, int newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)(Code)(Java Doc) public void firePropertyChange(PropertyChangeEvent evt)(Code)(Java Doc) public synchronized PropertyChangeListener[] getPropertyChangeListeners()(Code)(Java Doc) public synchronized PropertyChangeListener[] getPropertyChangeListeners(String propertyName)(Code)(Java Doc) public synchronized boolean hasListeners(String propertyName)(Code)(Java Doc) public synchronized void removePropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc) public synchronized void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc)
|
|
|