jnmouselistener.java

来自「纯java操作系统jnode,安装简单和操作简单的个人使用的Java操作系统」· Java 代码 · 共 52 行

JAVA
52
字号
/*
 * $Id: JNMouseListener.java,v 1.1 2004/02/26 21:17:17 lsantha Exp $
 */
package org.jnode.wt.events;

import org.jnode.wt.events.JNodeMouseEvent;

/**
 * @author vali
 *
 * To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
public interface JNMouseListener {
    /**
     * This method is called when the mouse is clicked (pressed and released
     * in short succession) on a component.
     *
     * @param event the <code>JNodeMouseEvent</code> indicating the click
     */
    void mouseClicked(JNodeMouseEvent event);

    /**
     * This method is called when the mouse is pressed over a component.
     *
     * @param event the <code>JNMouseEvent</code> for the press
     */
    void mousePressed(JNodeMouseEvent event);

    /**
     * This method is called when the mouse is released over a component.
     *
     * @param event the <code>JNodeMouseEvent</code> for the release
     */
    void mouseReleased(JNodeMouseEvent event);

    /**
     * This method is called when the mouse enters a component.
     *
     * @param event the <code>JNodeMouseEvent</code> for the entry
     */
    void mouseEntered(JNodeMouseEvent event);

    /**
     * This method is called when the mouse exits a component.
     *
     * @param event the <code>JNodeMouseEvent</code> for the exit
     */
    void mouseExited(JNodeMouseEvent event);

}

⌨️ 快捷键说明

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