001: /*
002: * $Id: AbstractDoubleListTag.java 471756 2006-11-06 15:01:43Z husted $
003: *
004: * Licensed to the Apache Software Foundation (ASF) under one
005: * or more contributor license agreements. See the NOTICE file
006: * distributed with this work for additional information
007: * regarding copyright ownership. The ASF licenses this file
008: * to you under the Apache License, Version 2.0 (the
009: * "License"); you may not use this file except in compliance
010: * with the License. You may obtain a copy of the License at
011: *
012: * http://www.apache.org/licenses/LICENSE-2.0
013: *
014: * Unless required by applicable law or agreed to in writing,
015: * software distributed under the License is distributed on an
016: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
017: * KIND, either express or implied. See the License for the
018: * specific language governing permissions and limitations
019: * under the License.
020: */
021: package org.apache.struts2.views.jsp.ui;
022:
023: import org.apache.struts2.components.DoubleListUIBean;
024:
025: /**
026: */
027: public abstract class AbstractDoubleListTag extends
028: AbstractRequiredListTag {
029:
030: protected String doubleList;
031: protected String doubleListKey;
032: protected String doubleListValue;
033: protected String doubleName;
034: protected String doubleValue;
035: protected String formName;
036:
037: protected String emptyOption;
038: protected String headerKey;
039: protected String headerValue;
040: protected String multiple;
041: protected String size;
042:
043: protected String doubleId;
044: protected String doubleDisabled;
045: protected String doubleMultiple;
046: protected String doubleSize;
047: protected String doubleHeaderKey;
048: protected String doubleHeaderValue;
049: protected String doubleEmptyOption;
050:
051: protected String doubleCssClass;
052: protected String doubleCssStyle;
053:
054: protected String doubleOnclick;
055: protected String doubleOndblclick;
056: protected String doubleOnmousedown;
057: protected String doubleOnmouseup;
058: protected String doubleOnmouseover;
059: protected String doubleOnmousemove;
060: protected String doubleOnmouseout;
061: protected String doubleOnfocus;
062: protected String doubleOnblur;
063: protected String doubleOnkeypress;
064: protected String doubleOnkeydown;
065: protected String doubleOnkeyup;
066: protected String doubleOnselect;
067: protected String doubleOnchange;
068:
069: protected String doubleAccesskey;
070:
071: protected void populateParams() {
072: super .populateParams();
073:
074: DoubleListUIBean bean = ((DoubleListUIBean) this .component);
075: bean.setDoubleList(doubleList);
076: bean.setDoubleListKey(doubleListKey);
077: bean.setDoubleListValue(doubleListValue);
078: bean.setDoubleName(doubleName);
079: bean.setDoubleValue(doubleValue);
080: bean.setFormName(formName);
081:
082: bean.setDoubleId(doubleId);
083: bean.setDoubleDisabled(doubleDisabled);
084: bean.setDoubleMultiple(doubleMultiple);
085: bean.setDoubleSize(doubleSize);
086: bean.setDoubleHeaderKey(doubleHeaderKey);
087: bean.setDoubleHeaderValue(doubleHeaderValue);
088: bean.setDoubleEmptyOption(doubleEmptyOption);
089:
090: bean.setDoubleCssClass(doubleCssClass);
091: bean.setDoubleCssStyle(doubleCssStyle);
092:
093: bean.setDoubleOnclick(doubleOnclick);
094: bean.setDoubleOndblclick(doubleOndblclick);
095: bean.setDoubleOnmousedown(doubleOnmousedown);
096: bean.setDoubleOnmouseup(doubleOnmouseup);
097: bean.setDoubleOnmouseover(doubleOnmouseover);
098: bean.setDoubleOnmousemove(doubleOnmousemove);
099: bean.setDoubleOnmouseout(doubleOnmouseout);
100: bean.setDoubleOnfocus(doubleOnfocus);
101: bean.setDoubleOnblur(doubleOnblur);
102: bean.setDoubleOnkeypress(doubleOnkeypress);
103: bean.setDoubleOnkeydown(doubleOnkeydown);
104: bean.setDoubleOnkeyup(doubleOnkeyup);
105: bean.setDoubleOnselect(doubleOnselect);
106: bean.setDoubleOnchange(doubleOnchange);
107:
108: bean.setDoubleAccesskey(doubleAccesskey);
109:
110: bean.setEmptyOption(emptyOption);
111: bean.setHeaderKey(headerKey);
112: bean.setHeaderValue(headerValue);
113: bean.setMultiple(multiple);
114: bean.setSize(size);
115: }
116:
117: public void setDoubleList(String list) {
118: this .doubleList = list;
119: }
120:
121: public void setDoubleListKey(String listKey) {
122: this .doubleListKey = listKey;
123: }
124:
125: public void setDoubleListValue(String listValue) {
126: this .doubleListValue = listValue;
127: }
128:
129: public void setDoubleName(String aName) {
130: doubleName = aName;
131: }
132:
133: public void setDoubleValue(String doubleValue) {
134: this .doubleValue = doubleValue;
135: }
136:
137: public void setFormName(String formName) {
138: this .formName = formName;
139: }
140:
141: public String getDoubleCssClass() {
142: return doubleCssClass;
143: }
144:
145: public void setDoubleCssClass(String doubleCssClass) {
146: this .doubleCssClass = doubleCssClass;
147: }
148:
149: public String getDoubleCssStyle() {
150: return doubleCssStyle;
151: }
152:
153: public void setDoubleCssStyle(String doubleCssStyle) {
154: this .doubleCssStyle = doubleCssStyle;
155: }
156:
157: public String getDoubleDisabled() {
158: return doubleDisabled;
159: }
160:
161: public void setDoubleDisabled(String doubleDisabled) {
162: this .doubleDisabled = doubleDisabled;
163: }
164:
165: public String getDoubleEmptyOption() {
166: return doubleEmptyOption;
167: }
168:
169: public void setDoubleEmptyOption(String doubleEmptyOption) {
170: this .doubleEmptyOption = doubleEmptyOption;
171: }
172:
173: public String getDoubleHeaderKey() {
174: return doubleHeaderKey;
175: }
176:
177: public void setDoubleHeaderKey(String doubleHeaderKey) {
178: this .doubleHeaderKey = doubleHeaderKey;
179: }
180:
181: public String getDoubleHeaderValue() {
182: return doubleHeaderValue;
183: }
184:
185: public void setDoubleHeaderValue(String doubleHeaderValue) {
186: this .doubleHeaderValue = doubleHeaderValue;
187: }
188:
189: public String getDoubleId() {
190: return doubleId;
191: }
192:
193: public void setDoubleId(String doubleId) {
194: this .doubleId = doubleId;
195: }
196:
197: public String getDoubleMultiple() {
198: return doubleMultiple;
199: }
200:
201: public void setDoubleMultiple(String doubleMultiple) {
202: this .doubleMultiple = doubleMultiple;
203: }
204:
205: public String getDoubleOnblur() {
206: return doubleOnblur;
207: }
208:
209: public void setDoubleOnblur(String doubleOnblur) {
210: this .doubleOnblur = doubleOnblur;
211: }
212:
213: public String getDoubleOnchange() {
214: return doubleOnchange;
215: }
216:
217: public void setDoubleOnchange(String doubleOnchange) {
218: this .doubleOnchange = doubleOnchange;
219: }
220:
221: public String getDoubleOnclick() {
222: return doubleOnclick;
223: }
224:
225: public void setDoubleOnclick(String doubleOnclick) {
226: this .doubleOnclick = doubleOnclick;
227: }
228:
229: public String getDoubleOndblclick() {
230: return doubleOndblclick;
231: }
232:
233: public void setDoubleOndblclick(String doubleOndblclick) {
234: this .doubleOndblclick = doubleOndblclick;
235: }
236:
237: public String getDoubleOnfocus() {
238: return doubleOnfocus;
239: }
240:
241: public void setDoubleOnfocus(String doubleOnfocus) {
242: this .doubleOnfocus = doubleOnfocus;
243: }
244:
245: public String getDoubleOnkeydown() {
246: return doubleOnkeydown;
247: }
248:
249: public void setDoubleOnkeydown(String doubleOnkeydown) {
250: this .doubleOnkeydown = doubleOnkeydown;
251: }
252:
253: public String getDoubleOnkeypress() {
254: return doubleOnkeypress;
255: }
256:
257: public void setDoubleOnkeypress(String doubleOnkeypress) {
258: this .doubleOnkeypress = doubleOnkeypress;
259: }
260:
261: public String getDoubleOnkeyup() {
262: return doubleOnkeyup;
263: }
264:
265: public void setDoubleOnkeyup(String doubleOnkeyup) {
266: this .doubleOnkeyup = doubleOnkeyup;
267: }
268:
269: public String getDoubleOnmousedown() {
270: return doubleOnmousedown;
271: }
272:
273: public void setDoubleOnmousedown(String doubleOnmousedown) {
274: this .doubleOnmousedown = doubleOnmousedown;
275: }
276:
277: public String getDoubleOnmousemove() {
278: return doubleOnmousemove;
279: }
280:
281: public void setDoubleOnmousemove(String doubleOnmousemove) {
282: this .doubleOnmousemove = doubleOnmousemove;
283: }
284:
285: public String getDoubleOnmouseout() {
286: return doubleOnmouseout;
287: }
288:
289: public void setDoubleOnmouseout(String doubleOnmouseout) {
290: this .doubleOnmouseout = doubleOnmouseout;
291: }
292:
293: public String getDoubleOnmouseover() {
294: return doubleOnmouseover;
295: }
296:
297: public void setDoubleOnmouseover(String doubleOnmouseover) {
298: this .doubleOnmouseover = doubleOnmouseover;
299: }
300:
301: public String getDoubleOnmouseup() {
302: return doubleOnmouseup;
303: }
304:
305: public void setDoubleOnmouseup(String doubleOnmouseup) {
306: this .doubleOnmouseup = doubleOnmouseup;
307: }
308:
309: public String getDoubleOnselect() {
310: return doubleOnselect;
311: }
312:
313: public void setDoubleOnselect(String doubleOnselect) {
314: this .doubleOnselect = doubleOnselect;
315: }
316:
317: public String getDoubleSize() {
318: return doubleSize;
319: }
320:
321: public void setDoubleSize(String doubleSize) {
322: this .doubleSize = doubleSize;
323: }
324:
325: public String getDoubleList() {
326: return doubleList;
327: }
328:
329: public String getDoubleListKey() {
330: return doubleListKey;
331: }
332:
333: public String getDoubleListValue() {
334: return doubleListValue;
335: }
336:
337: public String getDoubleName() {
338: return doubleName;
339: }
340:
341: public String getDoubleValue() {
342: return doubleValue;
343: }
344:
345: public String getFormName() {
346: return formName;
347: }
348:
349: public void setEmptyOption(String emptyOption) {
350: this .emptyOption = emptyOption;
351: }
352:
353: public void setHeaderKey(String headerKey) {
354: this .headerKey = headerKey;
355: }
356:
357: public void setHeaderValue(String headerValue) {
358: this .headerValue = headerValue;
359: }
360:
361: public void setMultiple(String multiple) {
362: this .multiple = multiple;
363: }
364:
365: public void setSize(String size) {
366: this .size = size;
367: }
368:
369: public void setDoubleAccesskey(String doubleAccesskey) {
370: this.doubleAccesskey = doubleAccesskey;
371: }
372: }
|