|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.beans.PropertyChangeSupport org.w3c.tools.jdbc.JdbcPropertyChangeSupport
public class JdbcPropertyChangeSupport
This subclass of java.beans.PropertyChangeSupport is identical in functionality except that it fire a PropertyChangeEvent even if the old value and the new value are identicals.
Constructor Summary | |
---|---|
JdbcPropertyChangeSupport(java.lang.Object sourceBean)
Constructor |
Method Summary | |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Add a PropertyChangeListener to the listener list. |
void |
addPropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
Add a PropertyChangeListener for a specific property. |
void |
firePropertyChange(java.beans.PropertyChangeEvent evt)
Fire an existing PropertyChangeEvent to any registered listeners. |
void |
firePropertyChange(java.lang.String propertyName,
boolean oldValue,
boolean newValue)
Report a boolean bound property update to any registered listeners. |
void |
firePropertyChange(java.lang.String propertyName,
int oldValue,
int newValue)
Report an int bound property update to any registered listeners. |
void |
firePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
Report a bound property update to any registered listeners. |
boolean |
hasListeners(java.lang.String propertyName)
Check if there are any listeners for a specific property. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Remove a PropertyChangeListener from the listener list. |
void |
removePropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
Remove a PropertyChangeListener for a specific property. |
Methods inherited from class java.beans.PropertyChangeSupport |
---|
fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getPropertyChangeListeners, getPropertyChangeListeners |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JdbcPropertyChangeSupport(java.lang.Object sourceBean)
sourceBean
- our beanMethod Detail |
---|
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
addPropertyChangeListener
in class java.beans.PropertyChangeSupport
listener
- The PropertyChangeListener to be addedpublic void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener
in class java.beans.PropertyChangeSupport
listener
- The PropertyChangeListener to be removedpublic void addPropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener)
addPropertyChangeListener
in class java.beans.PropertyChangeSupport
propertyName
- The name of the property to listen on.listener
- The PropertyChangeListener to be addedpublic void removePropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener)
removePropertyChangeListener
in class java.beans.PropertyChangeSupport
propertyName
- The name of the property that was listened on.listener
- The PropertyChangeListener to be removedpublic void firePropertyChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)
firePropertyChange
in class java.beans.PropertyChangeSupport
propertyName
- The programmatic name of the property
that was changed.oldValue
- The old value of the property.newValue
- The new value of the property.public void firePropertyChange(java.lang.String propertyName, int oldValue, int newValue)
This is merely a convenience wrapper around the more general firePropertyChange method that takes Object values.
firePropertyChange
in class java.beans.PropertyChangeSupport
propertyName
- The programmatic name of the property
that was changed.oldValue
- The old value of the property.newValue
- The new value of the property.public void firePropertyChange(java.lang.String propertyName, boolean oldValue, boolean newValue)
This is merely a convenience wrapper around the more general firePropertyChange method that takes Object values.
firePropertyChange
in class java.beans.PropertyChangeSupport
propertyName
- The programmatic name of the property
that was changed.oldValue
- The old value of the property.newValue
- The new value of the property.public void firePropertyChange(java.beans.PropertyChangeEvent evt)
firePropertyChange
in class java.beans.PropertyChangeSupport
evt
- The PropertyChangeEvent object.public boolean hasListeners(java.lang.String propertyName)
hasListeners
in class java.beans.PropertyChangeSupport
propertyName
- the property name.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |