public class BrowseTriggerStateHandler
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BrowseTriggerStateHandler.BrowseInternalState
Defines the internal states
|
static class |
BrowseTriggerStateHandler.State
Holds information about the current and previous states, the events code and its scope.
|
| Modifier and Type | Field and Description |
|---|---|
private Stack<BrowseTriggerStateHandler.State> |
triggers
The stack of invoked triggers.
|
| Constructor and Description |
|---|
BrowseTriggerStateHandler()
Creates the browse state handler
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptEvent(int eventCode,
boolean cell)
Tests if entry and row-entry events can be triggered or not.
|
void |
completeTrigger(int eventCode,
boolean cell)
Manages the internal state after the trigger is done.
|
void |
startTrigger(int eventCode,
boolean cell)
Manages the internal state before the trigger is started.
|
private Stack<BrowseTriggerStateHandler.State> triggers
public BrowseTriggerStateHandler()
public void startTrigger(int eventCode,
boolean cell)
eventCode - The events codecell - The trigger scopepublic void completeTrigger(int eventCode,
boolean cell)
eventCode - The events codecell - The trigger scopepublic boolean acceptEvent(int eventCode,
boolean cell)
eventCode - The events codecell - The trigger scope