Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.globalretailtech.pos.events
Class MultKey  view MultKey download MultKey.java

java.lang.Object
  extended bycom.globalretailtech.pos.events.PosEvent
      extended bycom.globalretailtech.pos.events.NumKey
          extended bycom.globalretailtech.pos.events.MultKey

public class MultKey
extends NumKey

Multiplyer key, takes the value from the key and multiplies the input buffer by it, then reverts to NumKey


Field Summary
private static java.lang.String eventname
           
 
Fields inherited from class com.globalretailtech.pos.events.NumKey
 
Fields inherited from class com.globalretailtech.pos.events.PosEvent
CUST_HIST, CUST_MAIN, FUNCTION, HOME, ITEM, ITEM_MODIFIER, NAVIGATE, NEXT, NUMBER, PREV
 
Constructor Summary
MultKey()
          Simple constructor for dynamic load
 
Method Summary
 void engage(int value)
          Multiplier for context input, useful for a "00" key.
static java.lang.String eventName()
          Return staic name.
 java.lang.String toString()
          Return staic name.
 
Methods inherited from class com.globalretailtech.pos.events.NumKey
clear, numText, promptText, validTransition
 
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

MultKey

public MultKey()
Simple constructor for dynamic load

Method Detail

engage

public void engage(int value)
Multiplier for context input, useful for a "00" key. Multiplies the input by the value, set in the PosKey table. Extended for Logon event to echo the promptText from that PosEvent.

Overrides:
engage in class NumKey

toString

public java.lang.String toString()
Return staic name.

Overrides:
toString in class NumKey

eventName

public static java.lang.String eventName()
Return staic name.