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 EasyScriptEventListener
coordinate
- The most recent coordinate parsed from the incoming
character stream.public void newStroke()
newStroke
in interface EasyScriptEventListener
public void cancel()
cancel
in interface EasyScriptEventListener
public void endOfSignature()
endOfSignature
in interface EasyScriptEventListener
public void signatureMetaData(SignatureMetaData header)
signatureMetaData
in interface EasyScriptEventListener
header
- the array that contains the signature metadatapublic void cardSwipe(CardSwipe swipe)
cardSwipe
in interface EasyScriptEventListener
swipe
- Card swipe.