|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.intel.gpe.gridbeans.plugins.controls.DataControl
com.intel.gpe.gridbeans.plugins.controls.CheckBoxControl
public class CheckBoxControl
The data control for
| Constructor Summary | |
|---|---|
CheckBoxControl(javax.swing.JCheckBox checkBox)
|
|
| Method Summary | |
|---|---|
boolean |
getEnabled()
Get the enabled state of the component |
java.lang.Object |
getValue()
Get the translated value of the component. |
boolean |
isValid(java.lang.StringBuffer buf)
Validate the value. |
void |
setEnabled(boolean enabled)
Set the enabled state of the component |
void |
setPossibleValues(java.util.List values)
Set the list of the possible values of the component |
void |
setValue(java.lang.Object value)
Set the value of the component. |
| Methods inherited from class com.intel.gpe.gridbeans.plugins.controls.DataControl |
|---|
getDescription, isValid, setDescription, setValueTranslator, setValueValidator, translateFrom, translateTo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CheckBoxControl(javax.swing.JCheckBox checkBox)
| Method Detail |
|---|
public void setEnabled(boolean enabled)
throws DataSetException
IDataControl
enabled - The state
DataSetException
public boolean getEnabled()
throws DataSetException
IDataControl
DataSetException
public void setValue(java.lang.Object value)
throws TranslationException,
DataSetException
IDataControl
value - The internal representation of the value
TranslationException - If the translation failed
DataSetException
public boolean isValid(java.lang.StringBuffer buf)
throws DataSetException
IDataControl
buf - The reason of validation failure is appended to this buffer.
TRUE if validation was successful
DataSetException
public java.lang.Object getValue()
throws TranslationException,
DataSetException
IDataControl
TranslationException - If the translation failed
DataSetException
public void setPossibleValues(java.util.List values)
throws TranslationException,
DataSetException
IDataControl
values - The possible values
TranslationException - If translation of any value failed
DataSetException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||