jACOB 2.7 API Documentation.

de.tif.jacob.screen.event
Class ICheckBoxEventHandler

java.lang.Object
  extended by EventHandler
      extended by de.tif.jacob.screen.event.GuiEventHandler
          extended by de.tif.jacob.screen.event.IGroupMemberEventHandler
              extended by de.tif.jacob.screen.event.ICheckBoxEventHandler

public abstract class ICheckBoxEventHandler
extends IGroupMemberEventHandler

Abstract event handler class for check boxes. Derived implementations of this event handler class have to be used to "hook" application-specific business logic to check boxes.


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.
 
Constructor Summary
ICheckBoxEventHandler()
           
 
Method Summary
abstract  void onCheck(IClientContext context, ICheckBox checkBox)
          This hook method will be called, if the user marks (checks) the check box.
abstract  void onUncheck(IClientContext context, ICheckBox checkBox)
          This hook method will be called, if the user unmarks (unchecks) the check box.
 
Methods inherited from class de.tif.jacob.screen.event.IGroupMemberEventHandler
onGroupStatusChanged, onHide, onShow
 
Methods inherited from class de.tif.jacob.screen.event.GuiEventHandler
alert, alert, alert
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

ICheckBoxEventHandler

public ICheckBoxEventHandler()
Method Detail

onCheck

public abstract void onCheck(IClientContext context,
                             ICheckBox checkBox)
                      throws java.lang.Exception
This hook method will be called, if the user marks (checks) the check box.

Then overwriting this method, this is a good place to enable/disable other GUI elements such like text fields or combo boxes.

Parameters:
context - the current client context
checkBox - the check box itself
Throws:
java.lang.Exception

onUncheck

public abstract void onUncheck(IClientContext context,
                               ICheckBox checkBox)
                        throws java.lang.Exception
This hook method will be called, if the user unmarks (unchecks) the check box.

Then overwriting this method, this is a good place to enable/disable other GUI elements such like text fields or combo boxes.

Parameters:
context - the current client context
checkBox - the check box itself
Throws:
java.lang.Exception

jACOB 2.7 API Documentation.