Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

Index

Constructors

  • Creates a new SelectorGroup

    Parameters

    • name: string

      of group, used as a group heading

    Returns RadioGroup

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

  • 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

  • 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