001    package railo.runtime.tag;
002    
003    import railo.runtime.exp.TagNotSupported;
004    import railo.runtime.ext.tag.BodyTagImpl;
005    
006    public final class Grid extends BodyTagImpl {
007    
008            /** Width value of the grid control, in pixels. */
009            private double width;
010    
011            /** The name of a query column when the grid uses a query. The column specified becomes the Key 
012            **              regardless of the select mode for the grid. */
013            private String hrefkey;
014    
015            /** If Yes, sort buttons are added to the grid control. When clicked, sort buttons perform a simple 
016            **      text sort on the selected column. Default is No.
017            **      Note that columns are sortable by clicking the column head, even if no sort button is displayed. */
018            private boolean sort;
019    
020            /** Yes or No. Yes displays column headers in the grid control. Default is Yes. */
021            private boolean colheaders;
022    
023            /** Text color value for the grid control row headers. Entries are: black (default), magenta, cyan, 
024            **              orange, darkgray, pink, gray, white, lightgray, yellow. A hex value can be entered in the form: rowHeaderTextColor = "##xxxxxx" 
025            **              Where x is 0-9 or A-F. Use two pound signs or no pound signs. */
026            private String rowheadertextcolor;
027    
028            /** Font to use for column data in the grid control. */
029            private String font;
030    
031            /** Yes or No. Yes displays column header text in italic. Default is No. */
032            private boolean colheaderitalic;
033    
034            /** Optional. Yes or No. Default is No.
035            **      If Yes, automatically sets the width of each column so that all the columns are visible within the 
036            **      grid's specified width. All columns are initially set to equal widths. Users can resize any column. 
037            **      No horizontal scroll bars are available since all columns are visible. 
038            **      note that if you explicitly specify the width of a column and set autoWidth to Yes, CFML will 
039            **      set the column to the explicit width, if possible. */
040            private boolean autowidth;
041    
042            /** Background color for a selected item. See bgColor for color options. */
043            private String selectcolor;
044    
045            /** Yes highlights links associated with a cfgrid with an href attribute value. No disables
046            **              highlight. Default is Yes. */
047            private boolean highlighthref;
048    
049            /** Yes displays grid control text in italic. Default is No. */
050            private boolean italic;
051    
052            /** Yes or No. Yes enables row and column rules (lines) in the grid control. No suppresses rules. 
053            **              Default is Yes. */
054            private boolean gridlines;
055    
056            /** Yes or No. If Yes, images are used for the Insert, delete, and Sort buttons rather than text. 
057            **              Default is No. */
058            private boolean picturebar;
059    
060            /** Text to use for the delete action button. The default is delete. */
061            private String deletebutton;
062    
063            /** Color value for text in the grid control. Options are: black (default), magenta, cyan, orange, darkgray, 
064            **              pink, gray, white, lightgray, yellow. A hex value can be entered in the form: textColor = "##xxxxxx" where x is 0-9 or A-F. Use two 
065            **              pound signs or no pound signs. */
066            private String textcolor;
067    
068            /** Text to use for the Insert action button. The default is Insert. */
069            private String insertbutton;
070    
071            /** Number of pixels for the minimum row height of the grid control. Used with cfgridcolumn 
072            **              type = "Image", you can use rowHeight to define enough space for graphics to display in the row. */
073            private double rowheight;
074    
075            /** Selection mode for items in the grid control. */
076            private String notsupported;
077    
078            /** Font size for text in the grid control, in points. */
079            private double fontsize;
080    
081            /** The width, in pixels, of the row header column. */
082            private double rowheaderwidth;
083    
084            /** The name of a JavaScript function to execute in the event of a failed validation. */
085            private String onerror;
086    
087            /** Target attribute for href URL. */
088            private String target;
089    
090            /** Font for the column header in the grid control. */
091            private String colheaderfont;
092    
093            /** Enter Left, Right, or Center to position data in the grid within a column. Default is Left. */
094            private String griddataalign;
095    
096            /** Enter Left, Right, or Center to position data within a column header. Default is Left. */
097            private String colheaderalign;
098    
099            /** Height value of the grid control, in pixels. */
100            private double height;
101    
102            /** Name of the query associated with the grid control. */
103            private String query;
104    
105            /** Specifies the maximum number of rows to display in the grid. */
106            private String maxrows;
107    
108            /** Alignment value. Options are: Top, Left, Bottom, Baseline, Texttop, Absbottom, Middle, 
109            **      Absmiddle, Right. */
110            private String align;
111    
112            /** Vertical margin spacing above and below the grid control, in pixels. */
113            private double vspace;
114    
115            /** Yes lets end users insert row data into the grid. Default is No. */
116            private boolean insert;
117    
118            /** Background color value for the grid control. Entries are: black, magenta, cyan, 
119            **              orange, darkgray, pink, gray, white, lightgray, yellow. A hex value can be entered in the form: bgColor = "##xxxxxx"
120            **              where x is 0-9 or A-F. Use either two pound signs or no pound signs. */
121            private String bgcolor;
122    
123            /** When used with href, Yes passes query string value of the selected tree item in the URL to the
124            **              application page specified in the cfform action attribute. Default is Yes. */
125            private boolean appendkey;
126    
127            /** A name for the grid element. */
128            private String name;
129    
130            /** Text to use for the Sort button. Default is "A - Z". */
131            private String sortascendingbutton;
132    
133            /** Yes or No. Yes displays row label text in italic. Default is No. */
134            private boolean rowheaderitalic;
135    
136            /** The name of a JavaScript function used to validate user input. The form object, input object, 
137            **              and input object value are passed to the routine, which should return True if validation succeeds and 
138            **              False otherwise. */
139            private String onvalidate;
140    
141            /** URL to associate with the grid item or a query column for a grid that is populated from a query.
142            **              If href is a query column, the href value is populated by the query. If href is not recognized as a 
143            **              query column, it is assumed that the href text is an actual HTML href. */
144            private String href;
145    
146            /** Yes or No. Yes displays column header text in boldface. Default is No. */
147            private boolean colheaderbold;
148    
149            /** Yes lets end users delete row data from the grid. Default is No. */
150            private boolean delete;
151    
152            /** Size for row label text in the grid control, in points. */
153            private double rowheaderfontsize;
154    
155            /** Selection mode for items in the grid control. */
156            private String selectmode;
157    
158            /** Yes or No. Yes displays row label text in boldface. Default is No. */
159            private boolean rowheaderbold;
160    
161            /** Size for column header text in the grid control, in points. */
162            private double colheaderfontsize;
163    
164            /** Enter Left, Right, or Center to position data within a row header. Default is Left. */
165            private String rowheaderalign;
166    
167            /** Font to use for the row label. */
168            private String rowheaderfont;
169    
170            /** Yes or No. Yes displays a column of numeric row labels in the grid control. 
171            **              Defaults to Yes. */
172            private boolean rowheaders;
173    
174            /** Yes displays grid control text in boldface. Default is No. */
175            private boolean bold;
176    
177            /** Color value for the grid control column headers. Valid entries are: black (default), magenta, 
178            **              cyan, orange, darkgray, pink, gray, white, lightgray, yellow.A hex value can be entered in the form: 
179            **              colHeaderTextColor = "##xxxxxx" 
180            **              where x is 0-9 or A-F. Use either two pound signs or no pound signs. */
181            private String colheadertextcolor;
182    
183            /** Horizontal margin spacing to the left and right of the grid control, in pixels. */
184            private double hspace;
185    
186            /** Text to use for the Sort button. Default is "Z - A". */
187            private String sortdescendingbutton;
188    
189            private int format;
190            private boolean enabled;
191            private String onchange;
192            private String onblur;
193            private String onfocus;
194            private String style;
195            private String tooltip;
196            private boolean visible;
197            
198            
199            public void release()   {
200                    super.release();
201                    width=0d;
202                    hrefkey="";
203                    sort=false;
204                    colheaders=false;
205                    rowheadertextcolor="";
206                    font="";
207                    colheaderitalic=false;
208                    autowidth=false;
209                    selectcolor="";
210                    highlighthref=false;
211                    italic=false;
212                    gridlines=false;
213                    picturebar=false;
214                    deletebutton="";
215                    textcolor="";
216                    insertbutton="";
217                    rowheight=0d;
218                    notsupported="";
219                    fontsize=0d;
220                    rowheaderwidth=0d;
221                    onerror="";
222                    target="";
223                    colheaderfont="";
224                    griddataalign="";
225                    colheaderalign="";
226                    height=0d;
227                    query="";
228                    maxrows="";
229                    align="";
230                    vspace=0d;
231                    insert=false;
232                    bgcolor="";
233                    appendkey=false;
234                    name="";
235                    sortascendingbutton="";
236                    rowheaderitalic=false;
237                    onvalidate="";
238                    href="";
239                    colheaderbold=false;
240                    delete=false;
241                    rowheaderfontsize=0d;
242                    selectmode="";
243                    rowheaderbold=false;
244                    colheaderfontsize=0d;
245                    rowheaderalign="";
246                    rowheaderfont="";
247                    rowheaders=false;
248                    bold=false;
249                    colheadertextcolor="";
250                    hspace=0d;
251                    sortdescendingbutton="";
252                    
253    
254                    format=0;
255                    enabled=true;
256                    onchange=null;
257                    onblur=null;
258                    onfocus=null;
259                    style=null;
260                    tooltip=null;
261                    visible=true;
262            }
263            
264    
265            /**
266            * constructor for the tag class
267             * @throws TagNotSupported 
268            **/
269            public Grid() throws TagNotSupported {
270                    // TODO implement tag
271                    throw new TagNotSupported("grid");
272            }
273    
274            /** set the value width
275            *  Width value of the grid control, in pixels.
276            * @param width value to set
277            **/
278            public void setWidth(double width)      {
279                    this.width=width;
280            }
281    
282            /** set the value hrefkey
283            *  The name of a query column when the grid uses a query. The column specified becomes the Key 
284            *               regardless of the select mode for the grid.
285            * @param hrefkey value to set
286            **/
287            public void setHrefkey(String hrefkey)  {
288                    this.hrefkey=hrefkey;
289            }
290    
291            /** set the value sort
292            *  If Yes, sort buttons are added to the grid control. When clicked, sort buttons perform a simple 
293            *       text sort on the selected column. Default is No.
294            *       Note that columns are sortable by clicking the column head, even if no sort button is displayed.
295            * @param sort value to set
296            **/
297            public void setSort(boolean sort)       {
298                    this.sort=sort;
299            }
300    
301            /** set the value colheaders
302            *  Yes or No. Yes displays column headers in the grid control. Default is Yes.
303            * @param colheaders value to set
304            **/
305            public void setColheaders(boolean colheaders)   {
306                    this.colheaders=colheaders;
307            }
308    
309            /** set the value rowheadertextcolor
310            *  Text color value for the grid control row headers. Entries are: black (default), magenta, cyan, 
311            *               orange, darkgray, pink, gray, white, lightgray, yellow. A hex value can be entered in the form: rowHeaderTextColor = "##xxxxxx" 
312            *               Where x is 0-9 or A-F. Use two pound signs or no pound signs.
313            * @param rowheadertextcolor value to set
314            **/
315            public void setRowheadertextcolor(String rowheadertextcolor)    {
316                    this.rowheadertextcolor=rowheadertextcolor;
317            }
318    
319            /** set the value font
320            *  Font to use for column data in the grid control.
321            * @param font value to set
322            **/
323            public void setFont(String font)        {
324                    this.font=font;
325            }
326    
327            /** set the value colheaderitalic
328            *  Yes or No. Yes displays column header text in italic. Default is No.
329            * @param colheaderitalic value to set
330            **/
331            public void setColheaderitalic(boolean colheaderitalic) {
332                    this.colheaderitalic=colheaderitalic;
333            }
334    
335            /** set the value autowidth
336            *  Optional. Yes or No. Default is No.
337            *       If Yes, automatically sets the width of each column so that all the columns are visible within the 
338            *       grid's specified width. All columns are initially set to equal widths. Users can resize any column. 
339            *       No horizontal scroll bars are available since all columns are visible. 
340            *       note that if you explicitly specify the width of a column and set autoWidth to Yes, CFML will 
341            *       set the column to the explicit width, if possible.
342            * @param autowidth value to set
343            **/
344            public void setAutowidth(boolean autowidth)     {
345                    this.autowidth=autowidth;
346            }
347    
348            /** set the value selectcolor
349            *  Background color for a selected item. See bgColor for color options.
350            * @param selectcolor value to set
351            **/
352            public void setSelectcolor(String selectcolor)  {
353                    this.selectcolor=selectcolor;
354            }
355    
356            /** set the value highlighthref
357            *  Yes highlights links associated with a cfgrid with an href attribute value. No disables
358            *               highlight. Default is Yes.
359            * @param highlighthref value to set
360            **/
361            public void setHighlighthref(boolean highlighthref)     {
362                    this.highlighthref=highlighthref;
363            }
364    
365            /** set the value italic
366            *  Yes displays grid control text in italic. Default is No.
367            * @param italic value to set
368            **/
369            public void setItalic(boolean italic)   {
370                    this.italic=italic;
371            }
372    
373            /** set the value gridlines
374            *  Yes or No. Yes enables row and column rules (lines) in the grid control. No suppresses rules. 
375            *               Default is Yes.
376            * @param gridlines value to set
377            **/
378            public void setGridlines(boolean gridlines)     {
379                    this.gridlines=gridlines;
380            }
381    
382            /** set the value picturebar
383            *  Yes or No. If Yes, images are used for the Insert, delete, and Sort buttons rather than text. 
384            *               Default is No.
385            * @param picturebar value to set
386            **/
387            public void setPicturebar(boolean picturebar)   {
388                    this.picturebar=picturebar;
389            }
390    
391            /** set the value deletebutton
392            *  Text to use for the delete action button. The default is delete.
393            * @param deletebutton value to set
394            **/
395            public void setDeletebutton(String deletebutton)        {
396                    this.deletebutton=deletebutton;
397            }
398    
399            /** set the value textcolor
400            *  Color value for text in the grid control. Options are: black (default), magenta, cyan, orange, darkgray, 
401            *               pink, gray, white, lightgray, yellow. A hex value can be entered in the form: textColor = "##xxxxxx" where x is 0-9 or A-F. Use two 
402            *               pound signs or no pound signs.
403            * @param textcolor value to set
404            **/
405            public void setTextcolor(String textcolor)      {
406                    this.textcolor=textcolor;
407            }
408    
409            /** set the value insertbutton
410            *  Text to use for the Insert action button. The default is Insert.
411            * @param insertbutton value to set
412            **/
413            public void setInsertbutton(String insertbutton)        {
414                    this.insertbutton=insertbutton;
415            }
416    
417            /** set the value rowheight
418            *  Number of pixels for the minimum row height of the grid control. Used with cfgridcolumn 
419            *               type = "Image", you can use rowHeight to define enough space for graphics to display in the row.
420            * @param rowheight value to set
421            **/
422            public void setRowheight(double rowheight)      {
423                    this.rowheight=rowheight;
424            }
425    
426            /** set the value notsupported
427            *  Selection mode for items in the grid control.
428            * @param notsupported value to set
429            **/
430            public void setNotsupported(String notsupported)        {
431                    this.notsupported=notsupported;
432            }
433    
434            /** set the value fontsize
435            *  Font size for text in the grid control, in points.
436            * @param fontsize value to set
437            **/
438            public void setFontsize(double fontsize)        {
439                    this.fontsize=fontsize;
440            }
441    
442            /** set the value rowheaderwidth
443            *  The width, in pixels, of the row header column.
444            * @param rowheaderwidth value to set
445            **/
446            public void setRowheaderwidth(double rowheaderwidth)    {
447                    this.rowheaderwidth=rowheaderwidth;
448            }
449    
450            /** set the value onerror
451            *  The name of a JavaScript function to execute in the event of a failed validation.
452            * @param onerror value to set
453            **/
454            public void setOnerror(String onerror)  {
455                    this.onerror=onerror;
456            }
457    
458            /** set the value target
459            *  Target attribute for href URL.
460            * @param target value to set
461            **/
462            public void setTarget(String target)    {
463                    this.target=target;
464            }
465    
466            /** set the value colheaderfont
467            *  Font for the column header in the grid control.
468            * @param colheaderfont value to set
469            **/
470            public void setColheaderfont(String colheaderfont)      {
471                    this.colheaderfont=colheaderfont;
472            }
473    
474            /** set the value griddataalign
475            *  Enter Left, Right, or Center to position data in the grid within a column. Default is Left.
476            * @param griddataalign value to set
477            **/
478            public void setGriddataalign(String griddataalign)      {
479                    this.griddataalign=griddataalign;
480            }
481    
482            /** set the value colheaderalign
483            *  Enter Left, Right, or Center to position data within a column header. Default is Left.
484            * @param colheaderalign value to set
485            **/
486            public void setColheaderalign(String colheaderalign)    {
487                    this.colheaderalign=colheaderalign;
488            }
489    
490            /** set the value height
491            *  Height value of the grid control, in pixels.
492            * @param height value to set
493            **/
494            public void setHeight(double height)    {
495                    this.height=height;
496            }
497    
498            /** set the value query
499            *  Name of the query associated with the grid control.
500            * @param query value to set
501            **/
502            public void setQuery(String query)      {
503                    this.query=query;
504            }
505    
506            /** set the value maxrows
507            *  Specifies the maximum number of rows to display in the grid.
508            * @param maxrows value to set
509            **/
510            public void setMaxrows(String maxrows)  {
511                    this.maxrows=maxrows;
512            }
513    
514            /** set the value align
515            *  Alignment value. Options are: Top, Left, Bottom, Baseline, Texttop, Absbottom, Middle, 
516            *       Absmiddle, Right.
517            * @param align value to set
518            **/
519            public void setAlign(String align)      {
520                    this.align=align;
521            }
522    
523            /** set the value vspace
524            *  Vertical margin spacing above and below the grid control, in pixels.
525            * @param vspace value to set
526            **/
527            public void setVspace(double vspace)    {
528                    this.vspace=vspace;
529            }
530    
531            /** set the value insert
532            *  Yes lets end users insert row data into the grid. Default is No.
533            * @param insert value to set
534            **/
535            public void setInsert(boolean insert)   {
536                    this.insert=insert;
537            }
538    
539            /** set the value bgcolor
540            *  Background color value for the grid control. Entries are: black, magenta, cyan, 
541            *               orange, darkgray, pink, gray, white, lightgray, yellow. A hex value can be entered in the form: bgColor = "##xxxxxx"
542            *               where x is 0-9 or A-F. Use either two pound signs or no pound signs.
543            * @param bgcolor value to set
544            **/
545            public void setBgcolor(String bgcolor)  {
546                    this.bgcolor=bgcolor;
547            }
548    
549            /** set the value appendkey
550            *  When used with href, Yes passes query string value of the selected tree item in the URL to the
551            *               application page specified in the cfform action attribute. Default is Yes.
552            * @param appendkey value to set
553            **/
554            public void setAppendkey(boolean appendkey)     {
555                    this.appendkey=appendkey;
556            }
557    
558            /** set the value name
559            *  A name for the grid element.
560            * @param name value to set
561            **/
562            public void setName(String name)        {
563                    this.name=name;
564            }
565    
566            /** set the value sortascendingbutton
567            *  Text to use for the Sort button. Default is "A - Z".
568            * @param sortascendingbutton value to set
569            **/
570            public void setSortascendingbutton(String sortascendingbutton)  {
571                    this.sortascendingbutton=sortascendingbutton;
572            }
573    
574            /** set the value rowheaderitalic
575            *  Yes or No. Yes displays row label text in italic. Default is No.
576            * @param rowheaderitalic value to set
577            **/
578            public void setRowheaderitalic(boolean rowheaderitalic) {
579                    this.rowheaderitalic=rowheaderitalic;
580            }
581    
582            /** set the value onvalidate
583            *  The name of a JavaScript function used to validate user input. The form object, input object, 
584            *               and input object value are passed to the routine, which should return True if validation succeeds and 
585            *               False otherwise.
586            * @param onvalidate value to set
587            **/
588            public void setOnvalidate(String onvalidate)    {
589                    this.onvalidate=onvalidate;
590            }
591    
592            /** set the value href
593            *  URL to associate with the grid item or a query column for a grid that is populated from a query.
594            *               If href is a query column, the href value is populated by the query. If href is not recognized as a 
595            *               query column, it is assumed that the href text is an actual HTML href.
596            * @param href value to set
597            **/
598            public void setHref(String href)        {
599                    this.href=href;
600            }
601    
602            /** set the value colheaderbold
603            *  Yes or No. Yes displays column header text in boldface. Default is No.
604            * @param colheaderbold value to set
605            **/
606            public void setColheaderbold(boolean colheaderbold)     {
607                    this.colheaderbold=colheaderbold;
608            }
609    
610            /** set the value delete
611            *  Yes lets end users delete row data from the grid. Default is No.
612            * @param delete value to set
613            **/
614            public void setDelete(boolean delete)   {
615                    this.delete=delete;
616            }
617    
618            /** set the value rowheaderfontsize
619            *  Size for row label text in the grid control, in points.
620            * @param rowheaderfontsize value to set
621            **/
622            public void setRowheaderfontsize(double rowheaderfontsize)      {
623                    this.rowheaderfontsize=rowheaderfontsize;
624            }
625    
626            /** set the value selectmode
627            *  Selection mode for items in the grid control.
628            * @param selectmode value to set
629            **/
630            public void setSelectmode(String selectmode)    {
631                    this.selectmode=selectmode;
632            }
633    
634            /** set the value rowheaderbold
635            *  Yes or No. Yes displays row label text in boldface. Default is No.
636            * @param rowheaderbold value to set
637            **/
638            public void setRowheaderbold(boolean rowheaderbold)     {
639                    this.rowheaderbold=rowheaderbold;
640            }
641    
642            /** set the value colheaderfontsize
643            *  Size for column header text in the grid control, in points.
644            * @param colheaderfontsize value to set
645            **/
646            public void setColheaderfontsize(double colheaderfontsize)      {
647                    this.colheaderfontsize=colheaderfontsize;
648            }
649    
650            /** set the value rowheaderalign
651            *  Enter Left, Right, or Center to position data within a row header. Default is Left.
652            * @param rowheaderalign value to set
653            **/
654            public void setRowheaderalign(String rowheaderalign)    {
655                    this.rowheaderalign=rowheaderalign;
656            }
657    
658            /** set the value rowheaderfont
659            *  Font to use for the row label.
660            * @param rowheaderfont value to set
661            **/
662            public void setRowheaderfont(String rowheaderfont)      {
663                    this.rowheaderfont=rowheaderfont;
664            }
665    
666            /** set the value rowheaders
667            *  Yes or No. Yes displays a column of numeric row labels in the grid control. 
668            *               Defaults to Yes.
669            * @param rowheaders value to set
670            **/
671            public void setRowheaders(boolean rowheaders)   {
672                    this.rowheaders=rowheaders;
673            }
674    
675            /** set the value bold
676            *  Yes displays grid control text in boldface. Default is No.
677            * @param bold value to set
678            **/
679            public void setBold(boolean bold)       {
680                    this.bold=bold;
681            }
682    
683            /** set the value colheadertextcolor
684            *  Color value for the grid control column headers. Valid entries are: black (default), magenta, 
685            *               cyan, orange, darkgray, pink, gray, white, lightgray, yellow.A hex value can be entered in the form: 
686            *               colHeaderTextColor = "##xxxxxx" 
687            *               where x is 0-9 or A-F. Use either two pound signs or no pound signs.
688            * @param colheadertextcolor value to set
689            **/
690            public void setColheadertextcolor(String colheadertextcolor)    {
691                    this.colheadertextcolor=colheadertextcolor;
692            }
693    
694            /** set the value hspace
695            *  Horizontal margin spacing to the left and right of the grid control, in pixels.
696            * @param hspace value to set
697            **/
698            public void setHspace(double hspace)    {
699                    this.hspace=hspace;
700            }
701    
702            /** set the value sortdescendingbutton
703            *  Text to use for the Sort button. Default is "Z - A".
704            * @param sortdescendingbutton value to set
705            **/
706            public void setSortdescendingbutton(String sortdescendingbutton)        {
707                    this.sortdescendingbutton=sortdescendingbutton;
708            }
709    
710    
711    
712            /**
713             * @param enabled the enabled to set
714             */
715            public void setEnabled(boolean enabled) {
716                    this.enabled = enabled;
717            }
718    
719    
720            /**
721             * @param format the format to set
722             */
723            public void setFormat(String format) {
724                    //this.format = format;
725            }
726    
727    
728            /**
729             * @param onblur the onblur to set
730             */
731            public void setOnblur(String onblur) {
732                    this.onblur = onblur;
733            }
734    
735    
736            /**
737             * @param onchange the onchange to set
738             */
739            public void setOnchange(String onchange) {
740                    this.onchange = onchange;
741            }
742    
743    
744            /**
745             * @param onfocus the onfocus to set
746             */
747            public void setOnfocus(String onfocus) {
748                    this.onfocus = onfocus;
749            }
750    
751    
752            /**
753             * @param style the style to set
754             */
755            public void setStyle(String style) {
756                    this.style = style;
757            }
758    
759    
760            /**
761             * @param tooltip the tooltip to set
762             */
763            public void setTooltip(String tooltip) {
764                    this.tooltip = tooltip;
765            }
766    
767    
768            /**
769             * @param visible the visible to set
770             */
771            public void setVisible(boolean visible) {
772                    this.visible = visible;
773            }
774    
775    
776            /**
777            * @see javax.servlet.jsp.tagext.Tag#doStartTag()
778            */
779            public int doStartTag() {
780                    return SKIP_BODY;
781            }
782    
783            /**
784            * @see javax.servlet.jsp.tagext.Tag#doEndTag()
785            */
786            public int doEndTag()   {
787                    return EVAL_PAGE;
788            }
789    
790            /**
791            * @see javax.servlet.jsp.tagext.BodyTag#doInitBody()
792            */
793            public void doInitBody()        {
794                    
795            }
796    
797    
798            public void addRow(String[] data) {
799                    
800            }
801    
802    
803            public void addColumn(GridColumnBean column) {
804                    
805            }
806    
807    }