com.partnersoft.gui.forms
Class FormCheckboxField
java.lang.Object
com.partnersoft.gui.forms.AbstractFormField<java.lang.Boolean>
com.partnersoft.gui.forms.FormCheckboxField
- All Implemented Interfaces:
- FormField<java.lang.Boolean>
public class FormCheckboxField
- extends AbstractFormField<java.lang.Boolean>
A wrapper for JCheckBox.
Copyright 2004-2008 Partner Software, Inc.
- Version:
- $Id$
- Author:
- Paul Reavis
|
Method Summary |
javax.swing.JCheckBox |
getJCheckBox()
|
java.lang.String |
getText()
|
java.lang.Boolean |
getValue()
Returns the current value for this field. |
void |
setText(java.lang.String newText)
|
void |
setValue(java.lang.Boolean newValue)
Sets the current value for this field. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormCheckboxField
public FormCheckboxField()
FormCheckboxField
public FormCheckboxField(java.lang.String text)
getValue
public java.lang.Boolean getValue()
- Description copied from interface:
FormField
- Returns the current value for this field.
setValue
public void setValue(java.lang.Boolean newValue)
- Description copied from interface:
FormField
- Sets the current value for this field.
getText
public java.lang.String getText()
setText
public void setText(java.lang.String newText)
getJCheckBox
public javax.swing.JCheckBox getJCheckBox()