⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 eventlistener.java

📁 j2me下的1套UI框架.包含j2me开发中会应用的各种低级组件
💻 JAVA
字号:
package com.jmobilecore.ui.core;

/**
 * The listener interface for receiving action events.
 * The class that is interested in processing an action event
 * implements this interface. When the action event
 * occurs, that object's <code>actionPerformed</code> method is
 * invoked.
 *
 * @author Greg Gridin
 */
public interface EventListener {

    /**
     * Event OK
     */
    public static final int EVENT_OK = 0;

    /**
     * Event ESCAPE
     */
    public static final int EVENT_ESCAPE = 1;

    /**
     * Event DONE
     */
    public static final int EVENT_DONE = 2;

    /**
     * Event ERROR
     */
    public static final int EVENT_ERROR = 3;

    /**
     * Invoked when an action occurs.
     */
    public void actionPerformed(int rslt);

} // class EventListener

⌨️ 快捷键说明

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