de.tif.jacob.screen.event
Class IButtonEventHandler
java.lang.Object
EventHandler
de.tif.jacob.screen.event.GuiEventHandler
de.tif.jacob.screen.event.IGroupMemberEventHandler
de.tif.jacob.screen.event.IButtonEventHandler
public abstract class IButtonEventHandler
- extends IGroupMemberEventHandler
Abstract event handler class for non-action buttons. Derived implementations
of this event handler class have to be used to "hook" application-specific
business logic to buttons.
|
Field Summary |
static java.lang.String |
RCS_ID
The internal revision control system id. |
static java.lang.String |
RCS_REV
The internal revision control system id in short form. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RCS_ID
public static final transient java.lang.String RCS_ID
- The internal revision control system id.
- See Also:
- Constant Field Values
RCS_REV
public static final transient java.lang.String RCS_REV
- The internal revision control system id in short form.
- See Also:
- Constant Field Values
IButtonEventHandler
public IButtonEventHandler()
onAction
public abstract void onAction(IClientContext context,
IGuiElement button)
throws java.lang.Exception
- The hook method will be called, if the button has been clicked by the user.
- Parameters:
context - the current client contextbutton - the button itself
- Throws:
java.lang.Exception