sequencehandler.java

来自「用于移动设备上的java虚拟机源代码」· Java 代码 · 共 41 行

JAVA
41
字号
/* * @(#)SequenceHandler.java	1.4 02/07/24 @(#) * * Copyright (c) 2001 Sun Microsystems, Inc.  All rights reserved. * PROPRIETARY/CONFIDENTIAL * Use is subject to license terms. */package com.sun.midp.lcdui;/** * 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. */public interface SequenceHandler {    /**     * 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 void handleEventSequence(EventSequence sequence);    /**     * 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     */    public void handleScreenCapture(byte[] capture);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?