| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jaffa.presentation.portlet.component.Component
org.jaffa.components.maint.UpdateComponent
This is an abstract implementation of the IUpdateComponent interface. All the Update components should extend this component.
| Constructor Summary | |
| UpdateComponent() | |
| Method Summary | |
|  void | addUpdateListener(IUpdateListener listener)Adds a listener. | 
| protected  Collection | getUpdateListeners()Returns a Collection of IUpdateListener objects. | 
| protected  void | invokeUpdateListeners()Invokes the updateDone() method of the registered IUpdateListener objects in the same thread. | 
| protected  void | invokeUpdateListeners(EventObject eventObject)Invokes the updateDone() method of the registered IUpdateListener objects in the same thread. | 
|  void | quit()This clears the internal collection of listeners. | 
|  boolean | removeUpdateListener(IUpdateListener listener)Removes a listener. | 
| Methods inherited from class org.jaffa.presentation.portlet.component.Component | 
| addChildComponent, addFormKeyChangeListener, display, getComponentDefinition, getComponentId, getContainerFormKey, getFormKeyChangeListeners, getReturnToFormKey, getToken, getUserSession, isActive, quitAndReturnToCallingScreen, reflectAndSetParms, removeFormKeyChangeListener, returnChildComponents, returnLastActivityDate, run, setContainerFormKey, setReturnToFormKey, setToken, updateLastActivityDate | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface org.jaffa.presentation.portlet.component.IComponent | 
| addFormKeyChangeListener, display, getComponentDefinition, getComponentId, getContainerFormKey, getFormKeyChangeListeners, getReturnToFormKey, getToken, getUserSession, isActive, quitAndReturnToCallingScreen, removeFormKeyChangeListener, setContainerFormKey, setReturnToFormKey, setToken | 
| Constructor Detail | 
public UpdateComponent()
| Method Detail | 
public void addUpdateListener(IUpdateListener listener)
addUpdateListener in interface IUpdateComponentlistener - the listener.public boolean removeUpdateListener(IUpdateListener listener)
removeUpdateListener in interface IUpdateComponentlistener - the listener.
public void quit()
quit in interface IComponentquit in class Componentprotected Collection getUpdateListeners()
protected void invokeUpdateListeners()
protected void invokeUpdateListeners(EventObject eventObject)
eventObject - The EventObject which will probably contain the component itself.| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||