1 17 package org.alfresco.web.ui.common.tag.data; 18 19 import javax.faces.component.UIComponent; 20 21 import org.alfresco.web.ui.common.tag.BaseComponentTag; 22 23 24 27 public class RichListTag extends BaseComponentTag 28 { 29 32 35 public String getComponentType() 36 { 37 return "org.alfresco.faces.RichList"; 38 } 39 40 43 public String getRendererType() 44 { 45 return "org.alfresco.faces.RichListRenderer"; 46 } 47 48 51 public void release() 52 { 53 super.release(); 54 this.value = null; 55 this.var = null; 56 this.initialSortColumn = null; 57 this.initialSortDescending = null; 58 this.listConfig = null; 59 this.viewMode = null; 60 this.style = null; 61 this.styleClass = null; 62 this.rowStyleClass = null; 63 this.altRowStyleClass = null; 64 this.headerStyleClass = null; 65 this.width = null; 66 this.pageSize = null; 67 } 68 69 72 protected void setProperties(UIComponent component) 73 { 74 super.setProperties(component); 75 setStringBindingProperty(component, "value", this.value); 76 setStringStaticProperty(component, "var", this.var); 77 setStringProperty(component, "initialSortColumn", this.initialSortColumn); 78 setBooleanProperty(component, "initialSortDescending", this.initialSortDescending); 79 setStringProperty(component, "listConfig", this.listConfig); 80 setStringProperty(component, "viewMode", this.viewMode); 81 setStringProperty(component, "style", this.style); 82 setStringProperty(component, "styleClass", this.styleClass); 83 setStringProperty(component, "rowStyleClass", this.rowStyleClass); 84 setStringProperty(component, "altRowStyleClass", this.altRowStyleClass); 85 setStringProperty(component, "headerStyleClass", this.headerStyleClass); 86 setStringProperty(component, "width", this.width); 87 setIntProperty(component, "pageSize", this.pageSize); 88 } 89 90 91 94 99 public void setViewMode(String viewMode) 100 { 101 this.viewMode = viewMode; 102 } 103 104 109 public void setPageSize(String pageSize) 110 { 111 this.pageSize = pageSize; 112 } 113 114 119 public void setInitialSortColumn(String initialSortColumn) 120 { 121 this.initialSortColumn = initialSortColumn; 122 } 123 124 129 public void setInitialSortDescending(String initialSortDescending) 130 { 131 this.initialSortDescending = initialSortDescending; 132 } 133 134 139 public void setListConfig(String listConfig) 140 { 141 this.listConfig = listConfig; 142 } 143 144 149 public void setValue(String value) 150 { 151 this.value = value; 152 } 153 154 159 public void setVar(String var) 160 { 161 this.var = var; 162 } 163 164 169 public void setStyle(String style) 170 { 171 this.style = style; 172 } 173 174 179 public void setStyleClass(String styleClass) 180 { 181 this.styleClass = styleClass; 182 } 183 184 189 public void setRowStyleClass(String rowStyleClass) 190 { 191 this.rowStyleClass = rowStyleClass; 192 } 193 194 199 public void setAltRowStyleClass(String altRowStyleClass) 200 { 201 this.altRowStyleClass = altRowStyleClass; 202 } 203 204 209 public void setWidth(String width) 210 { 211 this.width = width; 212 } 213 214 219 public void setHeaderStyleClass(String headerStyleClass) 220 { 221 this.headerStyleClass = headerStyleClass; 222 } 223 224 225 228 229 private String headerStyleClass; 230 231 232 private String rowStyleClass; 233 234 235 private String altRowStyleClass; 236 237 238 private String style; 239 240 241 private String styleClass; 242 243 244 private String width; 245 246 247 private String value; 248 249 250 private String var; 251 252 253 private String viewMode; 254 255 256 private String pageSize; 257 258 259 private String initialSortColumn; 260 261 262 private String initialSortDescending; 263 264 265 private String listConfig; 266 } 267 | Popular Tags |