Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RadioGroup

Class used to create a RadioGroup which contains groups of radio buttons

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • Creates a new SelectorGroup

    Parameters

    • name: string

      of group, used as a group heading

    Returns RadioGroup

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

addRadioSearch playground for addRadio

  • addRadio(label: string, func?: (n: number) => void, checked?: boolean): void
  • Adds a radio button as a control

    Parameters

    • label: string

      is the label for the selector

    • Optional func: (n: number) => void

      is the function called when the Selector is checked

        • (n: number): void
        • Parameters

          • n: number

          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