View Javadoc

1   /*
2    * $Id: AbstractDoubleListTag.java 651946 2008-04-27 13:41:38Z apetrelli $
3    *
4    * Licensed to the Apache Software Foundation (ASF) under one
5    * or more contributor license agreements.  See the NOTICE file
6    * distributed with this work for additional information
7    * regarding copyright ownership.  The ASF licenses this file
8    * to you under the Apache License, Version 2.0 (the
9    * "License"); you may not use this file except in compliance
10   * with the License.  You may obtain a copy of the License at
11   *
12   *  http://www.apache.org/licenses/LICENSE-2.0
13   *
14   * Unless required by applicable law or agreed to in writing,
15   * software distributed under the License is distributed on an
16   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17   * KIND, either express or implied.  See the License for the
18   * specific language governing permissions and limitations
19   * under the License.
20   */
21  
22  package org.apache.struts2.views.jsp.ui;
23  
24  import org.apache.struts2.components.DoubleListUIBean;
25  
26  
27  /***
28   */
29  public abstract class AbstractDoubleListTag extends AbstractRequiredListTag {
30  
31      protected String doubleList;
32      protected String doubleListKey;
33      protected String doubleListValue;
34      protected String doubleName;
35      protected String doubleValue;
36      protected String formName;
37  
38      protected String emptyOption;
39      protected String headerKey;
40      protected String headerValue;
41      protected String multiple;
42      protected String size;
43  
44      protected String doubleId;
45      protected String doubleDisabled;
46      protected String doubleMultiple;
47      protected String doubleSize;
48      protected String doubleHeaderKey;
49      protected String doubleHeaderValue;
50      protected String doubleEmptyOption;
51  
52      protected String doubleCssClass;
53      protected String doubleCssStyle;
54  
55      protected String doubleOnclick;
56      protected String doubleOndblclick;
57      protected String doubleOnmousedown;
58      protected String doubleOnmouseup;
59      protected String doubleOnmouseover;
60      protected String doubleOnmousemove;
61      protected String doubleOnmouseout;
62      protected String doubleOnfocus;
63      protected String doubleOnblur;
64      protected String doubleOnkeypress;
65      protected String doubleOnkeydown;
66      protected String doubleOnkeyup;
67      protected String doubleOnselect;
68      protected String doubleOnchange;
69  
70      protected String doubleAccesskey;
71  
72      protected void populateParams() {
73          super.populateParams();
74  
75          DoubleListUIBean bean = ((DoubleListUIBean) this.component);
76          bean.setDoubleList(doubleList);
77          bean.setDoubleListKey(doubleListKey);
78          bean.setDoubleListValue(doubleListValue);
79          bean.setDoubleName(doubleName);
80          bean.setDoubleValue(doubleValue);
81          bean.setFormName(formName);
82  
83          bean.setDoubleId(doubleId);
84          bean.setDoubleDisabled(doubleDisabled);
85          bean.setDoubleMultiple(doubleMultiple);
86          bean.setDoubleSize(doubleSize);
87          bean.setDoubleHeaderKey(doubleHeaderKey);
88          bean.setDoubleHeaderValue(doubleHeaderValue);
89          bean.setDoubleEmptyOption(doubleEmptyOption);
90  
91          bean.setDoubleCssClass(doubleCssClass);
92          bean.setDoubleCssStyle(doubleCssStyle);
93  
94          bean.setDoubleOnclick(doubleOnclick);
95          bean.setDoubleOndblclick(doubleOndblclick);
96          bean.setDoubleOnmousedown(doubleOnmousedown);
97          bean.setDoubleOnmouseup(doubleOnmouseup);
98          bean.setDoubleOnmouseover(doubleOnmouseover);
99          bean.setDoubleOnmousemove(doubleOnmousemove);
100         bean.setDoubleOnmouseout(doubleOnmouseout);
101         bean.setDoubleOnfocus(doubleOnfocus);
102         bean.setDoubleOnblur(doubleOnblur);
103         bean.setDoubleOnkeypress(doubleOnkeypress);
104         bean.setDoubleOnkeydown(doubleOnkeydown);
105         bean.setDoubleOnkeyup(doubleOnkeyup);
106         bean.setDoubleOnselect(doubleOnselect);
107         bean.setDoubleOnchange(doubleOnchange);
108 
109         bean.setDoubleAccesskey(doubleAccesskey);
110 
111         bean.setEmptyOption(emptyOption);
112         bean.setHeaderKey(headerKey);
113         bean.setHeaderValue(headerValue);
114         bean.setMultiple(multiple);
115         bean.setSize(size);
116     }
117 
118     public void setDoubleList(String list) {
119         this.doubleList = list;
120     }
121 
122     public void setDoubleListKey(String listKey) {
123         this.doubleListKey = listKey;
124     }
125 
126     public void setDoubleListValue(String listValue) {
127         this.doubleListValue = listValue;
128     }
129 
130     public void setDoubleName(String aName) {
131         doubleName = aName;
132     }
133 
134     public void setDoubleValue(String doubleValue) {
135         this.doubleValue = doubleValue;
136     }
137 
138     public void setFormName(String formName) {
139         this.formName = formName;
140     }
141 
142     public String getDoubleCssClass() {
143         return doubleCssClass;
144     }
145 
146     public void setDoubleCssClass(String doubleCssClass) {
147         this.doubleCssClass = doubleCssClass;
148     }
149 
150     public String getDoubleCssStyle() {
151         return doubleCssStyle;
152     }
153 
154     public void setDoubleCssStyle(String doubleCssStyle) {
155         this.doubleCssStyle = doubleCssStyle;
156     }
157 
158     public String getDoubleDisabled() {
159         return doubleDisabled;
160     }
161 
162     public void setDoubleDisabled(String doubleDisabled) {
163         this.doubleDisabled = doubleDisabled;
164     }
165 
166     public String getDoubleEmptyOption() {
167         return doubleEmptyOption;
168     }
169 
170     public void setDoubleEmptyOption(String doubleEmptyOption) {
171         this.doubleEmptyOption = doubleEmptyOption;
172     }
173 
174     public String getDoubleHeaderKey() {
175         return doubleHeaderKey;
176     }
177 
178     public void setDoubleHeaderKey(String doubleHeaderKey) {
179         this.doubleHeaderKey = doubleHeaderKey;
180     }
181 
182     public String getDoubleHeaderValue() {
183         return doubleHeaderValue;
184     }
185 
186     public void setDoubleHeaderValue(String doubleHeaderValue) {
187         this.doubleHeaderValue = doubleHeaderValue;
188     }
189 
190     public String getDoubleId() {
191         return doubleId;
192     }
193 
194     public void setDoubleId(String doubleId) {
195         this.doubleId = doubleId;
196     }
197 
198     public String getDoubleMultiple() {
199         return doubleMultiple;
200     }
201 
202     public void setDoubleMultiple(String doubleMultiple) {
203         this.doubleMultiple = doubleMultiple;
204     }
205 
206     public String getDoubleOnblur() {
207         return doubleOnblur;
208     }
209 
210     public void setDoubleOnblur(String doubleOnblur) {
211         this.doubleOnblur = doubleOnblur;
212     }
213 
214     public String getDoubleOnchange() {
215         return doubleOnchange;
216     }
217 
218     public void setDoubleOnchange(String doubleOnchange) {
219         this.doubleOnchange = doubleOnchange;
220     }
221 
222     public String getDoubleOnclick() {
223         return doubleOnclick;
224     }
225 
226     public void setDoubleOnclick(String doubleOnclick) {
227         this.doubleOnclick = doubleOnclick;
228     }
229 
230     public String getDoubleOndblclick() {
231         return doubleOndblclick;
232     }
233 
234     public void setDoubleOndblclick(String doubleOndblclick) {
235         this.doubleOndblclick = doubleOndblclick;
236     }
237 
238     public String getDoubleOnfocus() {
239         return doubleOnfocus;
240     }
241 
242     public void setDoubleOnfocus(String doubleOnfocus) {
243         this.doubleOnfocus = doubleOnfocus;
244     }
245 
246     public String getDoubleOnkeydown() {
247         return doubleOnkeydown;
248     }
249 
250     public void setDoubleOnkeydown(String doubleOnkeydown) {
251         this.doubleOnkeydown = doubleOnkeydown;
252     }
253 
254     public String getDoubleOnkeypress() {
255         return doubleOnkeypress;
256     }
257 
258     public void setDoubleOnkeypress(String doubleOnkeypress) {
259         this.doubleOnkeypress = doubleOnkeypress;
260     }
261 
262     public String getDoubleOnkeyup() {
263         return doubleOnkeyup;
264     }
265 
266     public void setDoubleOnkeyup(String doubleOnkeyup) {
267         this.doubleOnkeyup = doubleOnkeyup;
268     }
269 
270     public String getDoubleOnmousedown() {
271         return doubleOnmousedown;
272     }
273 
274     public void setDoubleOnmousedown(String doubleOnmousedown) {
275         this.doubleOnmousedown = doubleOnmousedown;
276     }
277 
278     public String getDoubleOnmousemove() {
279         return doubleOnmousemove;
280     }
281 
282     public void setDoubleOnmousemove(String doubleOnmousemove) {
283         this.doubleOnmousemove = doubleOnmousemove;
284     }
285 
286     public String getDoubleOnmouseout() {
287         return doubleOnmouseout;
288     }
289 
290     public void setDoubleOnmouseout(String doubleOnmouseout) {
291         this.doubleOnmouseout = doubleOnmouseout;
292     }
293 
294     public String getDoubleOnmouseover() {
295         return doubleOnmouseover;
296     }
297 
298     public void setDoubleOnmouseover(String doubleOnmouseover) {
299         this.doubleOnmouseover = doubleOnmouseover;
300     }
301 
302     public String getDoubleOnmouseup() {
303         return doubleOnmouseup;
304     }
305 
306     public void setDoubleOnmouseup(String doubleOnmouseup) {
307         this.doubleOnmouseup = doubleOnmouseup;
308     }
309 
310     public String getDoubleOnselect() {
311         return doubleOnselect;
312     }
313 
314     public void setDoubleOnselect(String doubleOnselect) {
315         this.doubleOnselect = doubleOnselect;
316     }
317 
318     public String getDoubleSize() {
319         return doubleSize;
320     }
321 
322     public void setDoubleSize(String doubleSize) {
323         this.doubleSize = doubleSize;
324     }
325 
326     public String getDoubleList() {
327         return doubleList;
328     }
329 
330     public String getDoubleListKey() {
331         return doubleListKey;
332     }
333 
334     public String getDoubleListValue() {
335         return doubleListValue;
336     }
337 
338     public String getDoubleName() {
339         return doubleName;
340     }
341 
342     public String getDoubleValue() {
343         return doubleValue;
344     }
345 
346     public String getFormName() {
347         return formName;
348     }
349 
350     public void setEmptyOption(String emptyOption) {
351         this.emptyOption = emptyOption;
352     }
353 
354     public void setHeaderKey(String headerKey) {
355         this.headerKey = headerKey;
356     }
357 
358     public void setHeaderValue(String headerValue) {
359         this.headerValue = headerValue;
360     }
361 
362     public void setMultiple(String multiple) {
363         this.multiple = multiple;
364     }
365 
366     public void setSize(String size) {
367         this.size = size;
368     }
369 
370     public void setDoubleAccesskey(String doubleAccesskey) {
371         this.doubleAccesskey = doubleAccesskey;
372     }
373 }