jncomponentevent.java

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

JAVA
47
字号
/*
 * $Id: JNComponentEvent.java,v 1.2 2004/02/28 09:20:55 epr Exp $
 */
package org.jnode.wt.events;

import org.jnode.wt.desktop.JNodeEvent;

/**
 * @author vali
 *
 * To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
public class JNComponentEvent extends JNodeEvent {

    /*
     * event IDs
     */

    /** This is the first id in the range of ids used by this class. */
    public static final int COMPONENT_FIRST = 100;

    /** This is the last id in the range of ids used by this class. */
    public static final int COMPONENT_LAST = 103;

    /** This id indicates that a component was moved. */
    public static final int COMPONENT_MOVED = 100;

    /** This id indicates that a component was resized. */
    public static final int COMPONENT_RESIZED = 101;

    /** This id indicates that a component was shown. */
    public static final int COMPONENT_SHOWN = 102;

    /** This id indicates that a component was hidden. */
    public static final int COMPONENT_HIDDEN = 103;

    /**
     * @param source
     * @param id
     */
    public JNComponentEvent(org.jnode.wt.components.JNComponent source, int id) {
        super(source, id);
    }

}

⌨️ 快捷键说明

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