classnode.java
来自「这是自定义工作流的图形定义部分」· Java 代码 · 共 60 行
JAVA
60 行
/** * Title: work-flow * Description: * Copyright: Copyright (c) 2002 * Company: CSU * @author smallbeetle * @version 1.0 */class ClassNode implements Cloneable{ final static int LAB = 0; final static int SYSTEM = 1; final static int USERDEFINE = 2; final static int CLASSLIST = 3; final static int CLASS = 4; final static int METHODLIST = 5; final static int METHOD = 6; final static int PROPERTYLIST = 7; final static int PROPERTY = 8; final static int LEAF = 9; String label; String description; String iconFile; String name; //for a ClassNode: name is the class url, for a MethodNode it is the complete signer of the method, for a PropertyNode it is the name of peroperty String title; int type; public ClassNode(String name, String label, String description, int type){ this.name = name; this.title = name; this.label = label; this.description = description; this.type = type; } public ClassNode(String name, String description, int type){ this.name = name; this.label = name; this.description = description; this.type = type; } public ClassNode(String name, String title, String label, String description, int type){ this.name = name; this.title = title; this.label = label; this.description = description; this.type = type; } public Object clone() { Object o = null; try { o = super.clone(); } catch(CloneNotSupportedException e) { } return o; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?