Class CheckBoxControlImpl

java.lang.Object
io.keikai.model.impl.AbstractFormControlAdv
io.keikai.model.impl.CheckBoxControlImpl
All Implemented Interfaces:
SFormControl, Serializable

public class CheckBoxControlImpl extends AbstractFormControlAdv
Check box form control implementation.
Since:
7.0.0
See Also:
  • Constructor Details

    • CheckBoxControlImpl

      public CheckBoxControlImpl(String name, ViewAnchor anchor)
  • Method Details

    • getType

      public SFormControl.ControlType getType()
      Description copied from interface: SFormControl
      Returns 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