displaygroup.java
来自「这个weblogging 设计得比较精巧」· Java 代码 · 共 73 行
JAVA
73 行
/* * DisplayGroup.java * * Created on June 4, 2005, 1:10 PM */package org.roller.config.runtime;import java.util.ArrayList;import java.util.List;/** * Represents a single DisplayGroup. * Each DisplayGroup may contain 0 or more PropertyDefs. * * @author Allen Gilliland */public class DisplayGroup { private List propertyDefs = null; private String name = null; private String key = null; public DisplayGroup() { this.propertyDefs = new ArrayList(); } public DisplayGroup(List propdefs) { this.propertyDefs = propdefs; } public boolean addPropertyDef(PropertyDef prop) { return this.propertyDefs.add(prop); } public boolean removePropertyDef(PropertyDef prop) { return this.propertyDefs.remove(prop); } public String toString() { return name+","+key; } public List getPropertyDefs() { return propertyDefs; } public void setPropertyDefs(List propertyDefs) { this.propertyDefs = propertyDefs; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getKey() { return key; } public void setKey(String key) { this.key = key; } }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?