Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

Index

Constructors

  • Creates a new SelectorGroup

    Parameters

    • name: string

      of group, used as a group heading

    Returns CheckboxGroup

Properties

name: string

name of SelectorGroup

Accessors

  • Gets the groupPanel of the SelectorGroup

    Returns StackPanel

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

    Returns string

  • Gets and sets the group header

    Parameters

    • label: string

    Returns void

  • Gets the selectors array

    Returns StackPanel[]

Methods

  • 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

  • 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 method

Settings

Theme