Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CheckboxGroup

Class used to create a CheckboxGroup which contains groups of checkbox buttons

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • Creates a new SelectorGroup

    Parameters

    • name: string

      of group, used as a group heading

    Returns CheckboxGroup

Properties

nameSearch playground for name

name: string

name of SelectorGroup

Accessors

groupPanel

header

  • get header(): string
  • set header(label: string): any
  • Gets and sets the group header

    Returns string

  • Gets and sets the group header

    Parameters

    • label: string

    Returns any

selectors

Methods

addCheckboxSearch playground for addCheckbox

  • addCheckbox(text: string, func?: (s: boolean) => void, checked?: boolean): void
  • Adds a checkbox as a control

    Parameters

    • text: string

      is the label for the selector

    • Optional func: (s: boolean) => void

      is the function called when the Selector is checked

        • (s: boolean): void
        • Parameters

          • s: boolean

          Returns void

    • Optional checked: boolean

      is true when Selector is checked

    Returns void

removeSelectorSearch playground for removeSelector

  • removeSelector(selectorNb: number): void
  • Removes the selector at the given position

    Parameters

    • selectorNb: number

      the position of the selector within the group

    Returns void

Legend

  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Static property
  • Static method