public class IlvApplicationListenerList extends Object implements ApplicationListener
Constructor and Description |
---|
IlvApplicationListenerList()
Constructs an
IlvApplicationListenerList . |
Modifier and Type | Method and Description |
---|---|
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.
|
public IlvApplicationListenerList()
IlvApplicationListenerList
.public void applicationEventReceived(ApplicationEvent event)
applicationEventReceived
in interface ApplicationListener
event
- 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.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.