public class Example extends java.lang.Object implements EasyScriptEventListener
| Constructor and Description |
|---|
Example()
The constructor of the class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
This method is called when the user presses the cancel button on the
ScriptTouch EasyScript device.
|
void |
cardSwipe(CardSwipe swipe)
This method receives a card swipe from the EasyScript parser.
|
void |
endOfSignature()
This method is called when the user presses the OK button on the ScriptTouch EasyScrpt
device, or when the end of the signature is detected.
|
static void |
main(java.lang.String[] args)
Main, starts this program.
|
void |
newStroke()
This method is called when a new stroke is detected.
|
void |
receiveCoordinate(Coordinate coordinate)
This method receives coordinates from EasyScript as events are parsed from
the incoming EasyScript stream.
|
void |
signatureMetaData(SignatureMetaData header)
This method prints the signature metadata to the textArea of the demo form.
|
public static void main(java.lang.String[] args)
args - Command line arguments.public void receiveCoordinate(Coordinate coordinate)
receiveCoordinate in interface EasyScriptEventListenercoordinate - The most recent coordinate parsed from the incoming
character stream.public void newStroke()
newStroke in interface EasyScriptEventListenerpublic void cancel()
cancel in interface EasyScriptEventListenerpublic void endOfSignature()
endOfSignature in interface EasyScriptEventListenerpublic void signatureMetaData(SignatureMetaData header)
signatureMetaData in interface EasyScriptEventListenerheader - the array that contains the signature metadatapublic void cardSwipe(CardSwipe swipe)
cardSwipe in interface EasyScriptEventListenerswipe - Card swipe.