package coreservlets; /* * HiddenData.java * * Created on November 16, 2004, 9:14 AM */ /** * * @author Tim Downey */ public class HiddenData extends downey.PresetCheckedAndSelected { /** Creates a new instance of HiddenData */ public HiddenData() { fullName = ""; colors = new String[0]; } private String fullName; private String[] colors; public void setFullName(String fullName) { this.fullName = fullName; } public String getFullName() { if (fullName == null) return ""; return fullName; } public void setColors(String[] colors) { this.colors = colors; setChecked(colors); } public String[] getColors() { return colors; } public void setColors(int i, String colors) { this.colors[i] = colors; } public String getColors(int i) { return colors[i]; } public String getFullNameHidden() { return getHidden("fullName", getFullName()); } public String getColorsHidden() { StringBuffer result = new StringBuffer(); if (colors != null) { for (int i=0; i"); return result.toString(); } }