001/** 002 * 003 * Copyright (c) 2014, the Railo Company Ltd. All rights reserved. 004 * 005 * This library is free software; you can redistribute it and/or 006 * modify it under the terms of the GNU Lesser General Public 007 * License as published by the Free Software Foundation; either 008 * version 2.1 of the License, or (at your option) any later version. 009 * 010 * This library is distributed in the hope that it will be useful, 011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 013 * Lesser General Public License for more details. 014 * 015 * You should have received a copy of the GNU Lesser General Public 016 * License along with this library. If not, see <http://www.gnu.org/licenses/>. 017 * 018 **/ 019package lucee.runtime.tag; 020 021import java.awt.Color; 022 023public class GridColumnBean { 024 025 private boolean display; 026 private int width; 027 private String header; 028 private String headerFont; 029 private boolean headerItalic; 030 private boolean headerBold; 031 private int headerFontSize; 032 private Color headerTextColor; 033 private String headerAlign; 034 private String href; 035 private String hrefKey; 036 private String target; 037 private String[] values; 038 private String[] valuesDisplay; 039 private String font; 040 private int fontSize; 041 private boolean italic; 042 private Color bgColor; 043 private String name; 044 private String type; 045 private String numberFormat; 046 private Color textColor; 047 private boolean select; 048 private String dataAlign; 049 private boolean bold; 050 private String mask; 051 052 /** 053 * @return the bgColor 054 */ 055 public Color getBgColor() { 056 return bgColor; 057 } 058 /** 059 * @param bgColor the bgColor to set 060 */ 061 public void setBgColor(Color bgColor) { 062 this.bgColor = bgColor; 063 } 064 /** 065 * @return the bold 066 */ 067 public boolean isBold() { 068 return bold; 069 } 070 /** 071 * @param bold the bold to set 072 */ 073 public void setBold(boolean bold) { 074 this.bold = bold; 075 } 076 /** 077 * @return the dataAlign 078 */ 079 public String getDataAlign() { 080 return dataAlign; 081 } 082 /** 083 * @param dataAlign the dataAlign to set 084 */ 085 public void setDataAlign(String dataAlign) { 086 this.dataAlign = dataAlign; 087 } 088 /** 089 * @return the display 090 */ 091 public boolean isDisplay() { 092 return display; 093 } 094 /** 095 * @param display the display to set 096 */ 097 public void setDisplay(boolean display) { 098 this.display = display; 099 } 100 /** 101 * @return the font 102 */ 103 public String getFont() { 104 return font; 105 } 106 /** 107 * @param font the font to set 108 */ 109 public void setFont(String font) { 110 this.font = font; 111 } 112 /** 113 * @return the fontSize 114 */ 115 public int getFontSize() { 116 return fontSize; 117 } 118 /** 119 * @param fontSize the fontSize to set 120 */ 121 public void setFontSize(int fontSize) { 122 this.fontSize = fontSize; 123 } 124 /** 125 * @return the header 126 */ 127 public String getHeader() { 128 return header; 129 } 130 /** 131 * @param header the header to set 132 */ 133 public void setHeader(String header) { 134 this.header = header; 135 } 136 /** 137 * @return the headerAlign 138 */ 139 public String getHeaderAlign() { 140 return headerAlign; 141 } 142 /** 143 * @param headerAlign the headerAlign to set 144 */ 145 public void setHeaderAlign(String headerAlign) { 146 this.headerAlign = headerAlign; 147 } 148 /** 149 * @return the headerBold 150 */ 151 public boolean isHeaderBold() { 152 return headerBold; 153 } 154 /** 155 * @param headerBold the headerBold to set 156 */ 157 public void setHeaderBold(boolean headerBold) { 158 this.headerBold = headerBold; 159 } 160 /** 161 * @return the headerFont 162 */ 163 public String getHeaderFont() { 164 return headerFont; 165 } 166 /** 167 * @param headerFont the headerFont to set 168 */ 169 public void setHeaderFont(String headerFont) { 170 this.headerFont = headerFont; 171 } 172 /** 173 * @return the headerFontSize 174 */ 175 public int getHeaderFontSize() { 176 return headerFontSize; 177 } 178 /** 179 * @param headerFontSize the headerFontSize to set 180 */ 181 public void setHeaderFontSize(int headerFontSize) { 182 this.headerFontSize = headerFontSize; 183 } 184 /** 185 * @return the headerItalic 186 */ 187 public boolean isHeaderItalic() { 188 return headerItalic; 189 } 190 /** 191 * @param headerItalic the headerItalic to set 192 */ 193 public void setHeaderItalic(boolean headerItalic) { 194 this.headerItalic = headerItalic; 195 } 196 /** 197 * @return the headerTextColor 198 */ 199 public Color getHeaderTextColor() { 200 return headerTextColor; 201 } 202 /** 203 * @param headerTextColor the headerTextColor to set 204 */ 205 public void setHeaderTextColor(Color headerTextColor) { 206 this.headerTextColor = headerTextColor; 207 } 208 /** 209 * @return the href 210 */ 211 public String getHref() { 212 return href; 213 } 214 /** 215 * @param href the href to set 216 */ 217 public void setHref(String href) { 218 this.href = href; 219 } 220 /** 221 * @return the hrefKey 222 */ 223 public String getHrefKey() { 224 return hrefKey; 225 } 226 /** 227 * @param hrefKey the hrefKey to set 228 */ 229 public void setHrefKey(String hrefKey) { 230 this.hrefKey = hrefKey; 231 } 232 /** 233 * @return the italic 234 */ 235 public boolean isItalic() { 236 return italic; 237 } 238 /** 239 * @param italic the italic to set 240 */ 241 public void setItalic(boolean italic) { 242 this.italic = italic; 243 } 244 /** 245 * @return the mask 246 */ 247 public String getMask() { 248 return mask; 249 } 250 /** 251 * @param mask the mask to set 252 */ 253 public void setMask(String mask) { 254 this.mask = mask; 255 } 256 /** 257 * @return the name 258 */ 259 public String getName() { 260 return name; 261 } 262 /** 263 * @param name the name to set 264 */ 265 public void setName(String name) { 266 this.name = name; 267 } 268 /** 269 * @return the numberFormat 270 */ 271 public String getNumberFormat() { 272 return numberFormat; 273 } 274 /** 275 * @param numberFormat the numberFormat to set 276 */ 277 public void setNumberFormat(String numberFormat) { 278 this.numberFormat = numberFormat; 279 } 280 /** 281 * @return the select 282 */ 283 public boolean isSelect() { 284 return select; 285 } 286 /** 287 * @param select the select to set 288 */ 289 public void setSelect(boolean select) { 290 this.select = select; 291 } 292 /** 293 * @return the target 294 */ 295 public String getTarget() { 296 return target; 297 } 298 /** 299 * @param target the target to set 300 */ 301 public void setTarget(String target) { 302 this.target = target; 303 } 304 /** 305 * @return the textColor 306 */ 307 public Color getTextColor() { 308 return textColor; 309 } 310 /** 311 * @param textColor the textColor to set 312 */ 313 public void setTextColor(Color textColor) { 314 this.textColor = textColor; 315 } 316 /** 317 * @return the type 318 */ 319 public String getType() { 320 return type; 321 } 322 /** 323 * @param type the type to set 324 */ 325 public void setType(String type) { 326 this.type = type; 327 } 328 /** 329 * @return the values 330 */ 331 public String[] getValues() { 332 return values; 333 } 334 /** 335 * @param values the values to set 336 */ 337 public void setValues(String[] values) { 338 this.values = values; 339 } 340 341 /** 342 * @return the valuesDisplay 343 */ 344 public String[] getValuesDisplay() { 345 return valuesDisplay; 346 } 347 /** 348 * @param valuesDisplay the valuesDisplay to set 349 */ 350 public void setValuesDisplay(String[] valuesDisplay) { 351 this.valuesDisplay = valuesDisplay; 352 } 353 /** 354 * @return the width 355 */ 356 public double getWidth() { 357 return width; 358 } 359 /** 360 * @param width the width to set 361 */ 362 public void setWidth(int width) { 363 this.width = width; 364 } 365}