Class CheckBoxFormElement
java.lang.Object
org.minimalj.frontend.form.element.AbstractFormElement<java.lang.Boolean>
org.minimalj.frontend.form.element.CheckBoxFormElement
- All Implemented Interfaces:
FormElement<java.lang.Boolean>
public class CheckBoxFormElement extends AbstractFormElement<java.lang.Boolean>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CheckBoxFormElement.CheckBoxProperty
static class
CheckBoxFormElement.SetElementFormElementProperty
-
Constructor Summary
Constructors Constructor Description CheckBoxFormElement(PropertyInterface property, boolean editable)
CheckBoxFormElement(PropertyInterface property, java.lang.String text, boolean editable)
CheckBoxFormElement(PropertyInterface property, java.lang.String text, boolean editable, boolean caption)
-
Method Summary
Modifier and Type Method Description java.lang.String
getCaption()
Frontend.IComponent
getComponent()
java.lang.Boolean
getValue()
void
setValue(java.lang.Boolean value)
Methods inherited from class org.minimalj.frontend.form.element.AbstractFormElement
fireChange, getConstraint, getProperty, height, height, listener, setChangeListener
-
Constructor Details
-
CheckBoxFormElement
-
CheckBoxFormElement
-
CheckBoxFormElement
public CheckBoxFormElement(PropertyInterface property, java.lang.String text, boolean editable, boolean caption)
-
-
Method Details
-
getCaption
public java.lang.String getCaption()- Specified by:
getCaption
in interfaceFormElement<java.lang.Boolean>
- Overrides:
getCaption
in classAbstractFormElement<java.lang.Boolean>
-
getComponent
-
getValue
public java.lang.Boolean getValue() -
setValue
public void setValue(java.lang.Boolean value)
-