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

📄 jremcommanddata.java

📁 JRemoteControl is a simple Java&#8482 driven bluetooth remote control.It allows you to initiate virt
💻 JAVA
字号:
package fildiv.jremcntl.common.core;/* * JRemCntl - Copyright (C) 2007 Filippo Di Vattimo <fildiv@gmail.com> * See COPYING */public class JRemCommandData implements Command {		private Context context;	private int id;	private String desc = "";			private String exePath = "";	private String key = "";	private String question = "";		private Extension ext;		public JRemCommandData(Context context, int id, String desc, 			String exePath, String key, String question) {		this(context);				this.id = id;		this.desc = desc;		this.exePath = exePath;		this.key = key;		this.question = question;	}	public JRemCommandData(String exePath) {		this.exePath = exePath;	}		public JRemCommandData(Context context) {				if (context == null)			throw new IllegalArgumentException();		this.context = context;	}	public Context getContext() {		return context;	}		public int getID() {		return id;	}	public void setID(int id) {		this.id = id;	}		public String getDesc() {		return desc;	}	public void setDesc(String desc) {		this.desc = desc;	}		public String getExePath() {		return exePath;	}		public void setExePath(String exePath) {		this.exePath = exePath;	}		public String getKey() {		return key;	}	public void setKey(String key) {		this.key = key;	}		public String getQuestion() {		return question;	}		public void setQuestion(String question) {		this.question = question;	}		public Extension getExtension(boolean parentRecursion) {				if (ext == null && parentRecursion) {			Context ctx = getContext();						if (ctx == null)				return null;						return ctx.getExtension(parentRecursion);					}					return ext;	}		public void setExtension(Extension ext) {		this.ext = ext;	}	public boolean isInHerited() {		return ext == null;	}	public String toString() {		return id + " - " + desc;	}	public boolean equals(Object obj) {				Command cmd = (Command) obj;		return cmd.getID() == getID();	}	public int hashCode() {		return id;	}		public SupportExtension getParent() {		return context;	}}

⌨️ 快捷键说明

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