|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.appframe.event.IlvApplicationListenerList
public class IlvApplicationListenerList
A class that holds a list of application listeners.
| Constructor Summary | |
|---|---|
IlvApplicationListenerList()
Constructs an IlvApplicationListenerList. |
|
| Method Summary | |
|---|---|
void |
addApplicationListener(ApplicationListener listener)
Adds an application listener for receiving application events. |
void |
addApplicationListener(String templateName,
ApplicationListener listener)
Adds an application listener for a specific document template. |
void |
applicationEventReceived(ApplicationEvent event)
Invoked when an application event occurs. |
void |
fireApplicationEvent(ApplicationEvent event)
Fires the specified application event to the application listeners added to this listener list. |
ApplicationListener[] |
getApplicationListeners()
Returns a new constructed array of all the application listeners owned by this object. |
boolean |
removeApplicationListener(ApplicationListener listener)
Removes the specified listener, so that it no longer receives application events. |
boolean |
removeApplicationListener(String templateName,
ApplicationListener listener)
Removes the specified listener, so that it no longer receives application events. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvApplicationListenerList()
IlvApplicationListenerList.
| Method Detail |
|---|
public void applicationEventReceived(ApplicationEvent event)
applicationEventReceived in interface ApplicationListenerevent - The application event.public ApplicationListener[] getApplicationListeners()
public void addApplicationListener(ApplicationListener listener)
listener - The application listener to add.removeApplicationListener(ilog.views.appframe.event.ApplicationListener)
public void addApplicationListener(String templateName,
ApplicationListener listener)
templateName - The name of the document template for which
application events will be fired to the listener.listener - The application listener to add.removeApplicationListener(String, ilog.views.appframe.event.ApplicationListener)public boolean removeApplicationListener(ApplicationListener listener)
listener - The application listener to remove.
true if the listener has previously been added to the
listener list; false otherwise.addApplicationListener(ilog.views.appframe.event.ApplicationListener)
public boolean removeApplicationListener(String templateName,
ApplicationListener listener)
templateName - The name of the document template for which
application events were fired to the listener.listener - The application listener to remove.
true if the listener has previously been added to the
listener list; false otherwise.addApplicationListener(String, ilog.views.appframe.event.ApplicationListener)public void fireApplicationEvent(ApplicationEvent event)
event - The event to fire.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||