|
jACOB 2.7 API Documentation. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectEventHandler
de.tif.jacob.screen.event.GuiEventHandler
de.tif.jacob.screen.event.IGroupMemberEventHandler
de.tif.jacob.screen.event.IListBoxEventHandler
public abstract class IListBoxEventHandler
Abstract event handler class for list boxes. Derived implementations of this event handler class have to be used to "hook" application-specific business logic to list 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 | |
|---|---|
IListBoxEventHandler()
|
|
| Method Summary | |
|---|---|
void |
onGroupStatusChanged(IClientContext context,
IGuiElement.GroupState state,
IGuiElement element)
This event method will be called, if the status of the corresponding group has been changed. |
abstract void |
onGroupStatusChanged(IClientContext context,
IGuiElement.GroupState state,
IListBox listBox)
This event method will be called, if the status of the corresponding group has been changed. |
abstract void |
onSelect(IClientContext context,
IListBox listBox)
This hook method will be called, if the user selects a new item in the list box. |
| Methods inherited from class de.tif.jacob.screen.event.IGroupMemberEventHandler |
|---|
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 |
|---|
public static final transient java.lang.String RCS_ID
public static final transient java.lang.String RCS_REV
| Constructor Detail |
|---|
public IListBoxEventHandler()
| Method Detail |
|---|
public final void onGroupStatusChanged(IClientContext context,
IGuiElement.GroupState state,
IGuiElement element)
throws java.lang.Exception
IGroupMemberEventHandlerIGuiElement:
onGroupStatusChanged in class IGroupMemberEventHandlercontext - The current client contextstate - The new group stateelement - The corresponding GUI element to this event handler
java.lang.Exception
public abstract void onGroupStatusChanged(IClientContext context,
IGuiElement.GroupState state,
IListBox listBox)
throws java.lang.Exception
IGuiElement:
context - The current client contextstate - The new group statelistBox - The corresponding GUI element to this event handler
java.lang.Exception
public abstract void onSelect(IClientContext context,
IListBox listBox)
throws java.lang.Exception
Then overwriting this method, this is a good place for enable/disable other GUI elements.
Note: This method will only be invoked, if the corresponding group state is
either IGuiElement.NEW or
IGuiElement.UPDATE.
context - the current client contextlistBox - the listbox itself
java.lang.Exception
|
jACOB 2.7 API Documentation. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||