Interface UICheckBoxBuilder<BackgroundType>

Interface for 'CheckBox'-builder.

Type Parameters

Hierarchy

Methods

  • Make new CheckBoxBuilder with different background.

    Type Parameters

    • NewBackgroundType extends UIBackground<NewBackgroundType> & InternalBackground<NewBackgroundType>

    Parameters

    • newBackground: BackgroundConstructor<NewBackgroundType>

      Constructor for desired Background. See UIBackgrounds for a collection of options.

    Returns UICheckBoxBuilder<NewBackgroundType>

  • Set button shape.

    NOTE: It is recommended to use setButtonShape method instead, as it provides more flexibility (can be called during run-time after check box is created).

     // Example
    setButtonShape(PointShape.Star)

    See PointShape for all available options.

    Parameters

    Returns UICheckBoxBuilder<BackgroundType>