Package io.keikai.model.impl
Class CheckBoxControlImpl
java.lang.Object
io.keikai.model.impl.AbstractFormControlAdv
io.keikai.model.impl.CheckBoxControlImpl
- All Implemented Interfaces:
SFormControl,Serializable
Check box form control implementation.
- Since:
- 7.0.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.keikai.model.SFormControl
SFormControl.ControlType -
Field Summary
Fields inherited from class io.keikai.model.impl.AbstractFormControlAdv
anchor, enabled, linkedCell, listFillRange, name, visible -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()Returns the type of this form control.booleanReturns whether this check box is checked.voidsetChecked(boolean checked) Sets the checked state.Methods inherited from class io.keikai.model.impl.AbstractFormControlAdv
getAnchor, getLinkedCell, getListFillRange, getName, isEnabled, isVisible, setEnabled, setLinkedCell, setListFillRange, setVisible
-
Constructor Details
-
CheckBoxControlImpl
-
-
Method Details
-
getType
Description copied from interface:SFormControlReturns the type of this form control.- Returns:
- the control type
-
isChecked
public boolean isChecked()Returns whether this check box is checked.- Returns:
- true if checked
-
setChecked
public void setChecked(boolean checked) Sets the checked state.- Parameters:
checked- true to check, false to uncheck
-