1 17 package org.alfresco.web.ui.common.tag; 18 19 import javax.faces.component.UIComponent; 20 21 22 27 public abstract class HtmlComponentTag extends BaseComponentTag 28 { 29 32 protected void setProperties(UIComponent component) 33 { 34 super.setProperties(component); 35 36 setStringProperty(component, "style", this.style); 37 setStringProperty(component, "styleClass", this.styleClass); 38 setStringProperty(component, "tooltip", this.tooltip); 39 } 40 41 44 public void release() 45 { 46 super.release(); 47 this.style = null; 48 this.styleClass = null; 49 this.tooltip = null; 50 } 51 52 57 public void setStyle(String style) 58 { 59 this.style = style; 60 } 61 62 67 public void setStyleClass(String styleClass) 68 { 69 this.styleClass = styleClass; 70 } 71 72 77 public void setTooltip(String tooltip) 78 { 79 this.tooltip = tooltip; 80 } 81 82 83 84 private String tooltip; 85 86 87 private String style; 88 89 90 private String styleClass; 91 } 92 | Popular Tags |