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.HtmlComponentTag; 22 23 26 public class SortLinkTag extends HtmlComponentTag 27 { 28 31 34 public String getComponentType() 35 { 36 return "org.alfresco.faces.SortLink"; 37 } 38 39 42 public String getRendererType() 43 { 44 return null; 45 } 46 47 50 public void release() 51 { 52 super.release(); 53 this.mode = null; 54 this.value = null; 55 this.label = null; 56 } 57 58 61 protected void setProperties(UIComponent component) 62 { 63 super.setProperties(component); 64 setStringProperty(component, "value", this.value); 65 setStringProperty(component, "label", this.label); 66 setStringProperty(component, "mode", this.mode); 67 } 68 69 74 public void setValue(String value) 75 { 76 this.value = value; 77 } 78 79 84 public void setMode(String mode) 85 { 86 this.mode = mode; 87 } 88 89 94 public void setLabel(String label) 95 { 96 this.label = label; 97 } 98 99 100 101 private String label; 102 103 104 private String value; 105 106 107 private String mode; 108 } 109 | Popular Tags |