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 ColumnTag extends BaseComponentTag 28 { 29 32 public String getComponentType() 33 { 34 return "org.alfresco.faces.RichListColumn"; 35 } 36 37 40 public String getRendererType() 41 { 42 return null; 44 } 45 46 49 public void release() 50 { 51 super.release(); 52 this.primary = null; 53 this.actions = null; 54 this.width = null; 55 this.style = null; 56 this.styleClass = null; 57 } 58 59 62 protected void setProperties(UIComponent component) 63 { 64 super.setProperties(component); 65 66 setBooleanProperty(component, "primary", this.primary); 67 setBooleanProperty(component, "actions", this.actions); 68 setStringProperty(component, "width", this.width); 69 setStringProperty(component, "style", this.style); 70 setStringProperty(component, "styleClass", this.styleClass); 71 } 72 73 74 77 82 public void setPrimary(String primary) 83 { 84 this.primary = primary; 85 } 86 87 92 public void setWidth(String width) 93 { 94 this.width = width; 95 } 96 97 102 public void setStyle(String style) 103 { 104 this.style = style; 105 } 106 107 112 public void setStyleClass(String styleClass) 113 { 114 this.styleClass = styleClass; 115 } 116 117 122 public void setActions(String actions) 123 { 124 this.actions = actions; 125 } 126 127 128 129 private String actions; 130 131 132 private String style; 133 134 135 private String styleClass; 136 137 138 private String width; 139 140 141 private String primary; 142 } 143 | Popular Tags |