plugindescriptor.java
来自「基于jxta的P2P框架的系统」· Java 代码 · 共 89 行
JAVA
89 行
/**
* This class is used to manage informations about a Plugin .
* -- Copyright (C) 2006 Hisham Khalil. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
*
* Author: Hisham Khalil <hishberlin@hotmail.com>
*/
package connex.session.plugin;
import javax.swing.ImageIcon;
public class PluginDescriptor {
private String id = null;
private String type = null;
private String name = null;
private String mainClass = null;
private ImageIcon icon = null;
private String version = null;
public void setId(String value) {
this.id = value;
}
public void setName(String value) {
this.name = value;
}
public void setVersion(String value) {
this.version = value;
}
public void setType(String value) {
this.type = value;
}
public void setMainClass(String value) {
this.mainClass = value;
}
public void setIcon(ImageIcon value) {
this.icon = value;
}
public String getId() {
return this.id;
}
public String getName() {
return this.name;
}
public String getVersion() {
return this.version;
}
public String getType() {
return this.type;
}
public String getMainClass() {
return this.mainClass;
}
public ImageIcon getIcon() {
return this.icon;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?