1 17 package org.alfresco.web.ui.common.tag; 18 19 import javax.faces.component.UIComponent; 20 21 26 public class ImagePickerRadioTag extends HtmlComponentTag 27 { 28 29 private String labelStyle; 30 31 32 private String labelStyleClass; 33 34 35 private String spacing; 36 37 38 private String columns; 39 40 41 private String label; 42 43 44 private String value; 45 46 47 private String image; 48 49 50 private String onclick; 51 52 53 private String configSection; 54 55 58 public String getComponentType() 59 { 60 return "org.alfresco.faces.ImagePicker"; 61 } 62 63 66 public String getRendererType() 67 { 68 return "org.alfresco.faces.Radio"; 69 } 70 71 74 protected void setProperties(UIComponent component) 75 { 76 super.setProperties(component); 77 setStringProperty(component, "labelStyle", this.labelStyle); 78 setStringProperty(component, "labelStyleClass", this.labelStyleClass); 79 setStringProperty(component, "label", this.label); 80 setStringProperty(component, "value", this.value); 81 setStringProperty(component, "image", this.image); 82 setStringProperty(component, "onclick", this.onclick); 83 setStringProperty(component, "configSection", this.configSection); 84 setIntProperty(component, "spacing", this.spacing); 85 setIntProperty(component, "columns", this.columns); 86 } 87 88 91 public void release() 92 { 93 super.release(); 94 this.labelStyle = null; 95 this.labelStyleClass = null; 96 this.spacing = null; 97 this.label = null; 98 this.value = null; 99 this.image = null; 100 this.columns = null; 101 this.onclick = null; 102 this.configSection = null; 103 } 104 105 108 public String getImage() 109 { 110 return image; 111 } 112 113 116 public void setImage(String image) 117 { 118 this.image = image; 119 } 120 121 124 public String getLabel() 125 { 126 return label; 127 } 128 129 132 public void setLabel(String label) 133 { 134 this.label = label; 135 } 136 137 140 public String getLabelStyle() 141 { 142 return labelStyle; 143 } 144 145 148 public void setLabelStyle(String labelStyle) 149 { 150 this.labelStyle = labelStyle; 151 } 152 153 156 public String getLabelStyleClass() 157 { 158 return labelStyleClass; 159 } 160 161 164 public void setLabelStyleClass(String labelStyleClass) 165 { 166 this.labelStyleClass = labelStyleClass; 167 } 168 169 172 public String getSpacing() 173 { 174 return spacing; 175 } 176 177 180 public void setSpacing(String spacing) 181 { 182 this.spacing = spacing; 183 } 184 185 188 public String getValue() 189 { 190 return value; 191 } 192 193 196 public void setValue(String value) 197 { 198 this.value = value; 199 } 200 201 204 public String getColumns() 205 { 206 return columns; 207 } 208 209 212 public void setColumns(String columns) 213 { 214 this.columns = columns; 215 } 216 217 220 public String getOnclick() 221 { 222 return onclick; 223 } 224 225 228 public void setOnclick(String onclick) 229 { 230 this.onclick = onclick; 231 } 232 233 236 public String getConfigSection() 237 { 238 return this.configSection; 239 } 240 241 244 public void setConfigSection(String configSection) 245 { 246 this.configSection = configSection; 247 } 248 } 249 | Popular Tags |