001    package railo.runtime.tag;
002    
003    import railo.runtime.exp.TagNotSupported;
004    import railo.runtime.ext.tag.BodyTagImpl;
005    
006    public final class Formgroup extends BodyTagImpl {
007            
008            private int type;
009            private Query query;
010            private int startrow=0;
011            private int maxrows=-1;
012            private String label;
013            private String style;
014            private int selectedIndex=-1;
015            private int width=-1;
016            private int height=-1;
017            private boolean enabled=true;
018            private boolean visible=true;
019            private String onChange;
020            private String tooltip;
021            private  String id;
022            
023            public Formgroup() throws TagNotSupported {
024                    throw new TagNotSupported("formgroup");
025                    // TODO impl tag formgroup
026            }
027            
028            /**
029             *
030             * @see railo.runtime.ext.tag.BodyTagImpl#release()
031             */
032            public void release() {
033                    super.release();
034                    query=null;
035                    startrow=0;
036                    maxrows=-1;
037                    String label=null;
038                    style=null;
039                    selectedIndex=-1;
040                    width=-1;
041                    height=-1;
042                    enabled=true;
043                    visible=true;
044                    onChange=null;
045                    tooltip=null;
046                    id=null;
047                    
048            }
049    
050    
051    
052            /**
053             * @param type the type to set
054             */
055            public void setType(String type) {
056                    //this.type = type;
057            }
058            
059            /**
060             * @param label the label to set
061             */
062            public void setLabel(String label) {
063                    this.label = label;
064            }
065    
066            /**
067             * @param maxrows the maxrows to set
068             */
069            public void setMaxrows(double maxrows) {
070                    this.maxrows = (int) maxrows;
071            }
072    
073            /**
074             * @param onChange the onChange to set
075             */
076            public void setOnchange(String onChange) {
077                    this.onChange = onChange;
078            }
079    
080            /**
081             * @param query the query to set
082             */
083            public void setQuery(String queryName) {
084                    //this.query = query;
085            }
086    
087            /**
088             * @param selectedIndex the selectedIndex to set
089             */
090            public void setSelectedindex(double selectedIndex) {
091                    this.selectedIndex = (int) selectedIndex;
092            }
093    
094            /**
095             * @param startrow the startrow to set
096             */
097            public void setStartrow(double startrow) {
098                    this.startrow = (int) startrow;
099            }
100    
101            /**
102             * @param style the style to set
103             */
104            public void setStyle(String style) {
105                    this.style = style;
106            }
107    
108            /**
109             * @param tooltip the tooltip to set
110             */
111            public void setTooltip(String tooltip) {
112                    this.tooltip = tooltip;
113            }
114    
115            /**
116             * @param visible the visible to set
117             */
118            public void setVisible(boolean visible) {
119                    this.visible = visible;
120            }
121    
122            /**
123             * @param width the width to set
124             */
125            public void setWidth(double width) {
126                    this.width = (int) width;
127            }
128            
129            
130    }