FileDocCategorySizeDatePackage
SequenceHandler.javaAPI DocJ2ME MIDP 2.01234Thu Nov 07 12:02:22 GMT 2002com.sun.midp.lcdui

SequenceHandler

public interface SequenceHandler
The SequenceHandler interface is used by the AutomationHandler to perform a callbacks which pertain to certain 'hotkey' executions, such as ending an event sequence or capturing the current screen contents.

Fields Summary
Constructors Summary
Methods Summary
public voidhandleEventSequence(EventSequence sequence)
Called by the AutomationHandler when an event sequence is completed via a hotkey. The EventSequence Object will be the same object that would be returned as if AutomationHandler.stopEventSequence() had been called.

param
sequence The completed event sequence

public voidhandleScreenCapture(byte[] capture)
Called by the AutomationHandler when a screen capture is performed via a hotkey. The byte[] will be the same array that would be returned as if AutomationHandler.captureScreen() had been called.

param
capture The byte[] representation of the screen contents