org.openbp.jaspira.gui.plugin
Class ApplicationBase.CloseEvents

java.lang.Object
  extended by org.openbp.jaspira.plugin.EventModule
      extended by org.openbp.jaspira.gui.plugin.ApplicationBase.CloseEvents
All Implemented Interfaces:
JaspiraEventListener
Enclosing class:
ApplicationBase

public class ApplicationBase.CloseEvents
extends EventModule

Event module. Handles application and frame close events.


Field Summary
 
Fields inherited from class org.openbp.jaspira.plugin.EventModule
EVENT_CONSUMED, EVENT_HANDLED, EVENT_IGNORED, MODULE_POST_GLOBAL, MODULE_PRE_GLOBAL, MODULE_TREE
 
Constructor Summary
ApplicationBase.CloseEvents()
           
 
Method Summary
 java.lang.String getName()
          The name of this module like "editor.file".
 JaspiraEventHandlerCode global_application_exit(JaspiraEvent je)
          Event handler: Exits the application.
 JaspiraEventHandlerCode global_frame_close(JaspiraEvent je)
          Event handler: A Jaspira page container has been closed.
 
Methods inherited from class org.openbp.jaspira.plugin.EventModule
eventFired, getEventActionNames, getForeignEventNames, getModuleType, getPriority, handleUnaccountedEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationBase.CloseEvents

public ApplicationBase.CloseEvents()
Method Detail

getName

public java.lang.String getName()
Description copied from class: EventModule
The name of this module like "editor.file". Decides which events will be received.

Specified by:
getName in class EventModule

global_application_exit

public JaspiraEventHandlerCode global_application_exit(JaspiraEvent je)
Event handler: Exits the application.

Parameters:
je - Event
Returns:
The event status code

global_frame_close

public JaspiraEventHandlerCode global_frame_close(JaspiraEvent je)
Event handler: A Jaspira page container has been closed.

Parameters:
je - Event
Returns:
The event status code


Copyright © 2011. All Rights Reserved.