Package tripleplay.ui

Interface Togglable<T extends Element<?>>

All Superinterfaces:
Clickable<T>
All Known Implementing Classes:
CheckBox, MenuItem, ToggleButton

public interface Togglable<T extends Element<?>> extends Clickable<T>
Implemented by Elements that expose a selected state and can be clicked.
  • Method Summary

    Modifier and Type
    Method
    Description
    react.Value<Boolean>
    A value that reflects the current selection state and is updated when said state changes.

    Methods inherited from interface tripleplay.ui.Clickable

    click, clicked
  • Method Details

    • selected

      react.Value<Boolean> selected()
      A value that reflects the current selection state and is updated when said state changes.