|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--WebFlow.PropertyChangeSupport
This is a utility class that can be used by beans that support bound properties. You can use an instance of this class as a member field of your bean and delegate various work to it.
Field Summary | |
java.util.Hashtable |
children
|
myHashMap |
listeners
|
Constructor Summary | |
PropertyChangeSupport(org.omg.CORBA.Object sourceBean,
BeanContextChildSupport BChild_)
|
Method Summary | |
void |
addPropertyChangeListener(org.omg.CORBA.Object listener)
Add a PropertyChangeListener to the listener list. |
void |
addPropertyChangeListener(java.lang.String propertyName,
org.omg.CORBA.Object listener)
Add a PropertyChangeListener for a specific property. |
void |
fireEvent_old(java.lang.String eventMethod,
org.omg.CORBA.Object evt)
|
void |
fireEvent(java.lang.String eventMethod,
org.omg.CORBA.Object evt)
|
void |
firePropertyChange_old(WebFlow.PropertyChangeEvent evt)
Fire an existing PropertyChangeEvent to any registered listeners. |
void |
firePropertyChange(WebFlow.PropertyChangeEvent evt)
|
void |
firePropertyChange(java.lang.String propertyName,
org.omg.CORBA.Any oldValue,
org.omg.CORBA.Any newValue)
Report a bound property update 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,
org.omg.CORBA.Object oldValue,
org.omg.CORBA.Object newValue)
|
void |
firePropertyChange(java.lang.String propertyName,
java.lang.String oldValue,
java.lang.String newValue)
|
boolean |
hasListeners(java.lang.String propertyName)
Check if there are any listeners for a specific property. |
void |
insertContextInfo(org.omg.CORBA.Request request)
|
void |
invokeEventMethod(org.omg.CORBA.Object target,
java.lang.String eventMethod,
org.omg.CORBA.Object evt)
|
void |
invokePropertyChange(org.omg.CORBA.Object target,
WebFlow.PropertyChangeEvent evt)
|
org.omg.CORBA.Object[] |
invokePullEventsOfListeners(org.omg.CORBA.Object target)
|
void |
listContents(java.lang.String propertyName,
java.util.Hashtable children)
|
org.omg.CORBA.Object[] |
pull()
|
void |
pullExtended(java.util.Vector vlist)
|
void |
removePropertyChangeListener(org.omg.CORBA.Object listener)
Remove a PropertyChangeListener from the listener list. |
void |
removePropertyChangeListener(java.lang.String propertyName,
org.omg.CORBA.Object listener)
Remove a PropertyChangeListener for a specific property. |
void |
sendEvent_old(java.lang.String propertyName,
WebFlow.PropertyChangeEvent evt)
|
void |
sendEvent(java.lang.String propertyName,
WebFlow.PropertyChangeEvent evt)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public myHashMap listeners
public java.util.Hashtable children
Constructor Detail |
public PropertyChangeSupport(org.omg.CORBA.Object sourceBean, BeanContextChildSupport BChild_)
sourceBean
- The bean to be given as the source for any events.Method Detail |
public void insertContextInfo(org.omg.CORBA.Request request)
public void addPropertyChangeListener(org.omg.CORBA.Object listener)
listener
- The PropertyChangeListener to be addedpublic void removePropertyChangeListener(org.omg.CORBA.Object listener)
listener
- The PropertyChangeListener to be removedpublic void addPropertyChangeListener(java.lang.String propertyName, org.omg.CORBA.Object listener)
propertyName
- The name of the property to listen on.listener
- The PropertyChangeListener to be addedpublic void removePropertyChangeListener(java.lang.String propertyName, org.omg.CORBA.Object listener)
propertyName
- The name of the property that was listened on.listener
- The PropertyChangeListener to be removedpublic void fireEvent_old(java.lang.String eventMethod, org.omg.CORBA.Object evt)
public void fireEvent(java.lang.String eventMethod, org.omg.CORBA.Object evt)
public void invokeEventMethod(org.omg.CORBA.Object target, java.lang.String eventMethod, org.omg.CORBA.Object evt)
public void invokePropertyChange(org.omg.CORBA.Object target, WebFlow.PropertyChangeEvent evt)
public void firePropertyChange(java.lang.String propertyName, org.omg.CORBA.Any oldValue, org.omg.CORBA.Any newValue)
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 sendEvent_old(java.lang.String propertyName, WebFlow.PropertyChangeEvent evt)
public void sendEvent(java.lang.String propertyName, WebFlow.PropertyChangeEvent evt)
public org.omg.CORBA.Object[] invokePullEventsOfListeners(org.omg.CORBA.Object target)
public org.omg.CORBA.Object[] pull()
public void pullExtended(java.util.Vector vlist)
public void listContents(java.lang.String propertyName, java.util.Hashtable children)
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.
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, java.lang.String oldValue, java.lang.String newValue)
public void firePropertyChange(java.lang.String propertyName, org.omg.CORBA.Object oldValue, org.omg.CORBA.Object newValue)
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.
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_old(WebFlow.PropertyChangeEvent evt)
evt
- The PropertyChangeEvent object.public void firePropertyChange(WebFlow.PropertyChangeEvent evt)
public boolean hasListeners(java.lang.String propertyName)
propertyName
- the property name.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |