public class IlvApplicationAdapter extends Object implements ApplicationListener
This class is provided to make creating
ApplicationEvent
listeners easier.
Extend this class to create an ApplicationEvent
listener and
override the methods for the events of interest. (If you implement the
ApplicationListener
interface, you must define all of the
methods in it. This abstract class defines null
methods for them all,
so you only need to define methods for the events you care about.)
Constructor and Description |
---|
IlvApplicationAdapter()
Constructs a default
IlvApplicationAdapter . |
Modifier and Type | Method and Description |
---|---|
void |
applicationClosed(ApplicationEvent event)
Invoked when the application is closed.
|
void |
applicationClosing(ApplicationEvent event)
Invoked when the application is asked to close.
|
void |
applicationEventReceived(ApplicationEvent event)
Invoked when an application event occurs.
|
void |
applicationInitialized(ApplicationEvent event)
Invoked after the application has been initialized.
|
void |
applicationInitializingSettings(ApplicationEvent event)
Invoked during the initialization process of the application while
it initializes its settings.
|
void |
applicationSavingSettings(ApplicationEvent event)
Invoked when the application saves its settings.
|
void |
documentActivated(ApplicationEvent event)
Invoked when a document has been activated.
|
void |
documentClosed(ApplicationEvent event)
Invoked when a document has been closed.
|
void |
documentClosing(ApplicationEvent event)
Invoked when a document is closed.
|
void |
documentCreated(ApplicationEvent event)
Invoked when a document has been created within the application.
|
void |
documentDeactivated(ApplicationEvent event)
Invoked when a document has been deactivated.
|
void |
documentInitializing(ApplicationEvent event)
Invoked when a document is about to be initialized
within the application.
|
void |
documentSaved(ApplicationEvent event)
Invoked after a document has been saved.
|
void |
documentTemplateActivated(ApplicationEvent event)
Invoked when the document template of a newly activated document is
different from the document template of the previously active document.
|
void |
documentTemplateDeactivated(ApplicationEvent event)
Invoked when the currently active document template is being
replaced by a different document template of a newly activated document.
|
void |
documentViewActivated(ApplicationEvent event)
Invoked when a document view has been activated.
|
void |
documentViewClosed(ApplicationEvent event)
Invoked when a document view has been closed.
|
void |
documentViewClosing(ApplicationEvent event)
Invoked when a document view is closed.
|
void |
documentViewCreated(ApplicationEvent event)
Invoked when a document view has been created.
|
void |
documentViewDeactivated(ApplicationEvent event)
Invoked when an active document view is deactivated.
|
void |
documentViewInitialized(ApplicationEvent event)
Invoked when a document view has been initialized with a new document.
|
void |
mainWindowInitialized(ApplicationEvent event)
Invoked after a main window has been set to the application.
|
void |
viewContainerActivated(ApplicationEvent event)
Invoked when a view container has been activated.
|
void |
viewContainerClosed(ApplicationEvent event)
Invoked when a view container has been closed.
|
void |
viewContainerClosing(ApplicationEvent event)
Invoked when a view container is closed.
|
void |
viewContainerCreated(ApplicationEvent event)
Invoked when a view container has been created.
|
void |
viewContainerCreating(ApplicationEvent event)
Invoked when a view container is created.
|
void |
viewContainerDeactivated(ApplicationEvent event)
Invoked when a view container has been deactivated.
|
public IlvApplicationAdapter()
IlvApplicationAdapter
.public void applicationEventReceived(ApplicationEvent event)
applicationEventReceived
in interface ApplicationListener
event
- The application event.public void documentInitializing(ApplicationEvent event)
event
- The application event.ApplicationEvent.DOCUMENT_INITIALIZING
,
ApplicationEvent.DOCUMENT_CREATED
public void documentCreated(ApplicationEvent event)
event
- The application event.ApplicationEvent.DOCUMENT_CREATED
public void documentClosing(ApplicationEvent event)
event
- The application event.ApplicationEvent.DOCUMENT_CLOSING
public void documentClosed(ApplicationEvent event)
event
- The application event.ApplicationEvent.DOCUMENT_CLOSED
public void documentActivated(ApplicationEvent event)
event
- The application event.ApplicationEvent.DOCUMENT_ACTIVATED
public void documentDeactivated(ApplicationEvent event)
event
- The application event.ApplicationEvent.DOCUMENT_ACTIVATED
public void documentSaved(ApplicationEvent event)
event
- The application event.ApplicationEvent.DOCUMENT_SAVED
public void documentTemplateActivated(ApplicationEvent event)
event
- The application event.documentTemplateDeactivated(ilog.views.appframe.event.ApplicationEvent)
,
ApplicationEvent.DOCUMENT_TEMPLATE_ACTIVATED
public void documentTemplateDeactivated(ApplicationEvent event)
event
- The application event.documentTemplateActivated(ilog.views.appframe.event.ApplicationEvent)
,
ApplicationEvent.DOCUMENT_TEMPLATE_DEACTIVATED
public void documentViewCreated(ApplicationEvent event)
event
- The application event.ApplicationEvent.DOCUMENT_VIEW_CREATED
public void documentViewInitialized(ApplicationEvent event)
IlvDocumentView.initializeView(ilog.views.appframe.docview.IlvDocument)
has been
called.event
- The application event.ApplicationEvent.DOCUMENT_VIEW_INITIALIZED
public void documentViewClosing(ApplicationEvent event)
event
- The application event.ApplicationEvent.DOCUMENT_VIEW_CLOSING
public void documentViewClosed(ApplicationEvent event)
event
- The application event.ApplicationEvent.DOCUMENT_VIEW_CLOSED
public void documentViewActivated(ApplicationEvent event)
event
- The application event.documentViewDeactivated(ilog.views.appframe.event.ApplicationEvent)
,
ApplicationEvent.DOCUMENT_VIEW_ACTIVATED
public void documentViewDeactivated(ApplicationEvent event)
event
- The application event.documentViewActivated(ilog.views.appframe.event.ApplicationEvent)
,
ApplicationEvent.DOCUMENT_VIEW_DEACTIVATED
public void viewContainerCreating(ApplicationEvent event)
event
- The application event.viewContainerCreated(ilog.views.appframe.event.ApplicationEvent)
,
viewContainerClosing(ilog.views.appframe.event.ApplicationEvent)
,
viewContainerClosed(ilog.views.appframe.event.ApplicationEvent)
,
ApplicationEvent.VIEW_CONTAINER_CREATING
public void viewContainerCreated(ApplicationEvent event)
event
- The application event.viewContainerCreating(ilog.views.appframe.event.ApplicationEvent)
,
viewContainerClosing(ilog.views.appframe.event.ApplicationEvent)
,
viewContainerClosed(ilog.views.appframe.event.ApplicationEvent)
,
ApplicationEvent.VIEW_CONTAINER_CREATED
public void viewContainerActivated(ApplicationEvent event)
event
- The application event.viewContainerDeactivated(ilog.views.appframe.event.ApplicationEvent)
,
ApplicationEvent.VIEW_CONTAINER_ACTIVATED
public void viewContainerDeactivated(ApplicationEvent event)
event
- The application event.viewContainerActivated(ilog.views.appframe.event.ApplicationEvent)
,
ApplicationEvent.VIEW_CONTAINER_DEACTIVATED
public void viewContainerClosing(ApplicationEvent event)
event
- The application event.viewContainerCreated(ilog.views.appframe.event.ApplicationEvent)
,
viewContainerClosed(ilog.views.appframe.event.ApplicationEvent)
,
ApplicationEvent.VIEW_CONTAINER_CLOSING
public void viewContainerClosed(ApplicationEvent event)
event
- The application event.viewContainerCreated(ilog.views.appframe.event.ApplicationEvent)
,
viewContainerClosing(ilog.views.appframe.event.ApplicationEvent)
,
ApplicationEvent.VIEW_CONTAINER_CLOSED
public void applicationInitializingSettings(ApplicationEvent event)
event
- The application event.ApplicationEvent.APPLICATION_INITIALIZING_SETTINGS
public void applicationInitialized(ApplicationEvent event)
event
- The application event.applicationClosed(ilog.views.appframe.event.ApplicationEvent)
,
applicationClosing(ilog.views.appframe.event.ApplicationEvent)
,
ApplicationEvent.APPLICATION_INITIALIZED
public void mainWindowInitialized(ApplicationEvent event)
event
- The application event.ApplicationEvent.MAIN_WINDOW_INITIALIZED
public void applicationClosing(ApplicationEvent event)
event
- The application event.applicationClosed(ilog.views.appframe.event.ApplicationEvent)
,
applicationInitialized(ilog.views.appframe.event.ApplicationEvent)
,
ApplicationEvent.APPLICATION_CLOSING
public void applicationSavingSettings(ApplicationEvent event)
event
- The application event.applicationInitialized(ilog.views.appframe.event.ApplicationEvent)
,
ApplicationEvent.APPLICATION_SAVING_SETTINGS
public void applicationClosed(ApplicationEvent event)
event
- The application event.applicationClosing(ilog.views.appframe.event.ApplicationEvent)
,
applicationInitialized(ilog.views.appframe.event.ApplicationEvent)
,
ApplicationEvent.APPLICATION_CLOSED
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.