toolelement.java

来自「拥有图形界面的」· Java 代码 · 共 51 行

JAVA
51
字号
/* * ToolElement.java * * Created on 26 marzo 2001, 0.02 */package org.joone.edit;import java.util.*;/** * * @author  pmarrone */public class ToolElement {        protected Hashtable params;     protected String type;        /** Creates new ToolElement */    public ToolElement() {        params = new Hashtable();    }    public ToolElement(String newType)    {        this();        type = newType;    }        public Hashtable getParams() {        return params;    }        public void setParam(Object key, Object value) {        if (!params.containsKey(key))            params.put(key, value);    }        public Object getParam(Object key) {        return params.get(key);    }        public String getType() {        return type;    }        public void setType(String newType) {        type = newType;    }    }

⌨️ 快捷键说明

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