1 21 package au.id.jericho.lib.html; 22 23 import java.util.*; 24 25 31 public final class FormControlOutputStyle { 32 private String description; 33 34 39 public static final FormControlOutputStyle NORMAL=new FormControlOutputStyle("NORMAL"); 40 41 44 public static final FormControlOutputStyle REMOVE=new FormControlOutputStyle("REMOVE"); 45 46 111 public static final FormControlOutputStyle DISPLAY_VALUE=new FormControlOutputStyle("DISPLAY_VALUE"); 112 113 private FormControlOutputStyle(final String description) { 114 this.description=description; 115 } 116 117 121 public String getDebugInfo() { 122 return description; 123 } 124 125 132 public String toString() { 133 return getDebugInfo(); 134 } 135 136 143 public static final class ConfigDisplayValue { 144 145 154 public static volatile String MultipleValueSeparator=", "; 155 156 173 public static volatile String ElementName=HTMLElementName.DIV; 174 175 186 public static volatile List AttributeNames=new ArrayList(Arrays.asList(new String [] {Attribute.ID,Attribute.CLASS,Attribute.STYLE})); 187 188 196 public static volatile String EmptyHTML=" "; 197 198 209 public static volatile char PasswordChar='*'; 210 211 223 public static volatile String CheckedHTML=null; 224 225 237 public static volatile String UncheckedHTML=null; 238 239 private ConfigDisplayValue() {} 240 } 241 } 242 | Popular Tags |