org.openbp.jaspira.plugins.colorchooser
Class ColorChooserPlugin.Events

java.lang.Object
  extended by org.openbp.jaspira.plugin.EventModule
      extended by org.openbp.jaspira.plugins.colorchooser.ColorChooserPlugin.Events
All Implemented Interfaces:
JaspiraEventListener
Enclosing class:
ColorChooserPlugin

public class ColorChooserPlugin.Events
extends EventModule

Event module.


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
ColorChooserPlugin.Events()
           
 
Method Summary
 java.lang.String getName()
          The name of this module like "editor.file".
 JaspiraEventHandlerCode setcolor(JaspiraEvent je)
          Event handler: Set the current color of the chooser.
 JaspiraEventHandlerCode sethelptext(JaspiraEvent je)
          Event handler: Set the help text of the chooser.
 
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

ColorChooserPlugin.Events

public ColorChooserPlugin.Events()
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

setcolor

public JaspiraEventHandlerCode setcolor(JaspiraEvent je)
Event handler: Set the current color of the chooser.

Parameters:
je - Event
Returns:
The event status code

sethelptext

public JaspiraEventHandlerCode sethelptext(JaspiraEvent je)
Event handler: Set the help text of the chooser.

Parameters:
je - Event
Returns:
The event status code


Copyright © 2011. All Rights Reserved.