|
|||||||||
| Home >> All >> com >> globalretailtech >> pos >> [ events overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.globalretailtech.pos.events
Class FirstItem

java.lang.Objectcom.globalretailtech.pos.events.PosEvent
com.globalretailtech.pos.events.FirstItem
- public class FirstItem
- extends PosEvent
An item has been entered. Set this event as the first on the stack. FirstItem is used by other classes to determine valid transitions, example: you can not start a discount sale after an item has been entered.
| Field Summary | |
private static java.lang.String |
eventname
|
| Fields inherited from class com.globalretailtech.pos.events.PosEvent |
CUST_HIST, CUST_MAIN, FUNCTION, HOME, ITEM, ITEM_MODIFIER, NAVIGATE, NEXT, NUMBER, PREV |
| Constructor Summary | |
FirstItem(com.globalretailtech.pos.context.PosContext context)
Constructor with context. |
|
| Method Summary | |
void |
clear()
Clear impementation for clear, do nothing. |
void |
engage(int value)
Just update the dialogs and displays. |
static java.lang.String |
eventName()
Return staic name. |
java.lang.String |
promptText()
The register open prompt from the context. |
java.lang.String |
toString()
Return staic name. |
boolean |
validTransition(java.lang.String event)
Always return true. |
| Methods inherited from class com.globalretailtech.pos.events.PosEvent |
blocked, checkProfile, context, employeeHasProfile, isDialog, isValidEvent, setBlocked, setContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
eventname
private static java.lang.String eventname
| Constructor Detail |
FirstItem
public FirstItem(com.globalretailtech.pos.context.PosContext context)
- Constructor with context.
| Method Detail |
promptText
public java.lang.String promptText()
- The register open prompt from the context.
engage
public void engage(int value)
- Just update the dialogs and displays. For
displays like reciepts this clears.
validTransition
public boolean validTransition(java.lang.String event)
- Always return true.
- Specified by:
validTransitionin classPosEvent
clear
public void clear()
toString
public java.lang.String toString()
eventName
public static java.lang.String eventName()
- Return staic name.
|
|||||||||
| Home >> All >> com >> globalretailtech >> pos >> [ events overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC