public class FwkVetoableChange extends FwkPresentation implements FwkVetoableChangeInterface
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected FwkInterface |
source |
static java.lang.String |
version |
Constructor and Description |
---|
FwkVetoableChange() |
FwkVetoableChange(FwkInterface source)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addVetoableChangeListener(FwkVetoableChangeListenerInterface listener)
Add a VetoableChangeListener to the listener list.
|
void |
addVetoableChangeListener(java.lang.String propertyName,
FwkVetoableChangeListenerInterface listener)
Add a VetoableChangeListener for a specific property.
|
protected void |
fireVetoableChange(java.util.Hashtable listeners,
java.beans.PropertyChangeEvent event)
Fire a property change event on the given listener list.
|
protected void |
fireVetoableChange(java.beans.PropertyChangeEvent evt)
Fire an existing VetoableChangeEvent to any registered listeners.
|
protected void |
fireVetoableChange(java.lang.String propertyName,
boolean oldValue,
boolean newValue)
Report a boolean bound property update to any registered listeners.
|
protected void |
fireVetoableChange(java.lang.String propertyName,
char oldValue,
char newValue)
Report an char bound property update to any registered listeners.
|
protected void |
fireVetoableChange(java.lang.String propertyName,
double oldValue,
double newValue)
Report an double bound property update to any registered listeners.
|
protected void |
fireVetoableChange(java.lang.String propertyName,
float oldValue,
float newValue)
Report an float bound property update to any registered listeners.
|
protected void |
fireVetoableChange(java.lang.String propertyName,
int oldValue,
int newValue)
Report an int bound property update to any registered listeners.
|
protected void |
fireVetoableChange(java.lang.String propertyName,
long oldValue,
long newValue)
Report an long bound property update to any registered listeners.
|
protected void |
fireVetoableChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
Report a bound property update to any registered listeners.
|
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
FwkArrayInterface |
getVetoableChangeArray()
Get a vector containing the property names for that listeners are registered.
|
FwkArrayInterface |
getVetoableChangeListenerArray()
Get a vector containing the registered property change listeners.
|
FwkArrayInterface |
getVetoableChangeListenerArray(java.lang.String propertyName)
Get a vector containing the registered property change listeners for the
specific property.
|
void |
removeVetoableChangeListener(FwkVetoableChangeListenerInterface listener)
Remove a VetoableChangeListener from the listener list.
|
void |
removeVetoableChangeListener(java.lang.String propertyName,
FwkVetoableChangeListenerInterface listener)
Remove a VetoableChangeListener for a specific property.
|
void |
setSource(FwkInterface source)
Set the bean source object of the property change support.
|
getPresentationString, getPresentationString
getNiceVersion, release
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
release
public static final java.lang.String version
protected FwkInterface source
public FwkVetoableChange()
public FwkVetoableChange(FwkInterface source)
source
- The component to be given as the source for any events.public java.lang.String getVersion()
FwkInterface
getVersion
in interface FwkInterface
getVersion
in class FwkPresentation
public void setSource(FwkInterface source)
source
- The component to be given as the source for any events.public FwkArrayInterface getVetoableChangeListenerArray()
getVetoableChangeListenerArray
in interface FwkVetoableChangeInterface
public FwkArrayInterface getVetoableChangeListenerArray(java.lang.String propertyName)
getVetoableChangeListenerArray
in interface FwkVetoableChangeInterface
public FwkArrayInterface getVetoableChangeArray()
getVetoableChangeArray
in interface FwkVetoableChangeInterface
public void addVetoableChangeListener(FwkVetoableChangeListenerInterface listener)
addVetoableChangeListener
in interface FwkVetoableChangeInterface
listener
- The property change listener.VetoableChangeSupport
public void addVetoableChangeListener(java.lang.String propertyName, FwkVetoableChangeListenerInterface listener)
addVetoableChangeListener
in interface FwkVetoableChangeInterface
propertyName
- The property name.listener
- The property change listener.VetoableChangeSupport
protected void fireVetoableChange(java.util.Hashtable listeners, java.beans.PropertyChangeEvent event) throws FwkException
ListenerList
- The list of listeners that should receive an event.event
- The event to be fired.FwkException
protected void fireVetoableChange(java.beans.PropertyChangeEvent evt) throws FwkException
evt
- The property change event.FwkException
VetoableChangeSupport
protected void fireVetoableChange(java.lang.String propertyName, boolean oldValue, boolean newValue) throws FwkException
propertyName
- The property name.oldValue
- The old value of the property.newValue
- The new value of the property.FwkException
PropertyChangeSupport
protected void fireVetoableChange(java.lang.String propertyName, char oldValue, char newValue) throws FwkException
propertyName
- The property name.oldValue
- The old value of the property.newValue
- The new value of the property.FwkException
protected void fireVetoableChange(java.lang.String propertyName, int oldValue, int newValue) throws FwkException
propertyName
- The property name.oldValue
- The old value of the property.newValue
- The new value of the property.FwkException
PropertyChangeSupport
protected void fireVetoableChange(java.lang.String propertyName, long oldValue, long newValue) throws FwkException
propertyName
- The property name.oldValue
- The old value of the property.newValue
- The new value of the property.FwkException
protected void fireVetoableChange(java.lang.String propertyName, float oldValue, float newValue) throws FwkException
propertyName
- The property name.oldValue
- The old value of the property.newValue
- The new value of the property.FwkException
protected void fireVetoableChange(java.lang.String propertyName, double oldValue, double newValue) throws FwkException
propertyName
- The property name.oldValue
- The old value of the property.newValue
- The new value of the property.FwkException
protected void fireVetoableChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue) throws FwkException
propertyName
- The property name.oldValue
- The old value of the property.newValue
- The new value of the property.FwkException
PropertyChangeSupport
public void removeVetoableChangeListener(FwkVetoableChangeListenerInterface listener)
removeVetoableChangeListener
in interface FwkVetoableChangeInterface
listener
- The vetoable change listener.VetoableChangeSupport
public void removeVetoableChangeListener(java.lang.String propertyName, FwkVetoableChangeListenerInterface listener)
removeVetoableChangeListener
in interface FwkVetoableChangeInterface
propertyName
- The property name.listener
- The vetoable change listener.VetoableChangeSupport