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

📄 userevent.java

📁 MHP java class for Interactive TV use
💻 JAVA
字号:

package org.dvb.event;


public class UserEvent extends java.util.EventObject {

	public static final int UEF_KEY_EVENT = 1;


	private int family;
	private int type;
	private int code;
	private char keyChar;
	private int modifiers;
	private long when;


	public UserEvent(java.lang.Object source, int family, int type, int code, int modifiers, long when) {
		super(source);
	}


	public UserEvent(java.lang.Object source, int family, char keyChar, long when) {
		super(source);
	}


	public int getFamily() {
		return this.family;
	}


	public int getType() {
		return this.type;
	}


	public int getCode() {
		return this.code;
	}


	public char getKeyChar() {
		return this.keyChar;
	}


	public int getModifiers() {
		return this.modifiers;
	}


	public boolean isShiftDown() {
		return false;

	}


	public boolean isControlDown() {
		return false;

	}


	public boolean isMetaDown() {
		return false;

	}


	public boolean isAltDown() {
		return false;

	}


	public long getWhen() {
		return this.when;
	}

}

⌨️ 快捷键说明

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