KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > jaspersoft > jasperserver > irplugin > gui > inputcontrols > BooleanInputControl


1 /*
2  * BooleanInputControl.java
3  *
4  * All rights reserved.
5  * Copyright (C) 2005 JasperSoft Corporation
6  *
7  * JasperSoft Corporation
8  * 303 Second Street, Suite 450 North
9  * San Francisco, CA 94107
10  * http://www.jaspersoft.com
11  *
12  *
13  * Created on June 7, 2006, 3:19 PM
14  *
15  */

16
17 package com.jaspersoft.jasperserver.irplugin.gui.inputcontrols;
18
19 import com.jaspersoft.jasperserver.irplugin.gui.inputcontrols.ui.BooleanInputControlUI;
20
21 /**
22  *
23  * @author gtoffoli
24  */

25 public class BooleanInputControl extends BasicInputControl {
26     
27     /** Creates a new instance of BooleanInputControl */
28     public BooleanInputControl() {
29         super();
30         this.setInputControlUI( new BooleanInputControlUI() );
31     }
32     
33     public Object JavaDoc validate() throws InputValidationException
34     {
35         return getInputControlUI().getValue();
36     }
37     
38 }
39
Popular Tags