1 21 package net.mlw.vlh.web.tag.support; 22 23 import java.util.List ; 24 25 31 public class ColumnInfo 32 { 33 34 private String title; 35 36 37 private String toolTip = null; 38 39 40 private List nestedList; 41 42 43 private String adapterPropertyName; 44 45 46 private Integer defaultSort; 47 48 private String attributes; 49 50 54 public ColumnInfo() 55 { 56 } 57 58 70 public ColumnInfo(String title, String toolTip, String propertyName, Integer defaultSort, String attributes) 71 { 72 this(title, propertyName, defaultSort, attributes); 73 setToolTip(toolTip); 74 } 75 76 83 public ColumnInfo(String title, String propertyName, Integer defaultSort, String attributes) 84 { 85 this.title = title; 86 this.adapterPropertyName = propertyName; 87 this.defaultSort = defaultSort; 88 this.attributes = attributes; 89 } 90 91 94 public String getTitle() 95 { 96 return title; 97 } 98 99 102 public void setTitle(String title) 103 { 104 this.title = title; 105 } 106 107 112 public String getToolTip() 113 { 114 return toolTip; 115 } 116 117 120 public List getNestedList() 121 { 122 return nestedList; 123 } 124 125 128 public void setNestedList(List nestedList) 129 { 130 this.nestedList = nestedList; 131 } 132 133 139 public void setToolTip(String toolTip) 140 { 141 this.toolTip = toolTip; 142 } 143 144 147 public String getAdapterPropertyName() 148 { 149 return adapterPropertyName; 150 } 151 152 155 public void setAdapterPropertyName(String adapterPropertyName) 156 { 157 this.adapterPropertyName = adapterPropertyName; 158 } 159 160 163 public Integer getDefaultSort() 164 { 165 return defaultSort; 166 } 167 168 171 public void setDefaultSort(Integer defaultSort) 172 { 173 this.defaultSort = defaultSort; 174 } 175 176 179 public String getAttributes() 180 { 181 return attributes; 182 } 183 184 187 public void setAttributes(String attributes) 188 { 189 this.attributes = attributes; 190 } 191 } | Popular Tags |