Interface ControlSet


public interface ControlSet
Manages a set of Control instances.
  • Method Details

    • control

      <T extends Control> Value<T> control(ControlId<T> controlId)
      Type Parameters:
      T - the control type
      Parameters:
      controlId - the control id
      Returns:
      the Value specifying the Control associated with the given id
      Throws:
      IllegalArgumentException - in case no control is associated with the given shortcut
    • controls

      Collection<Value<Control>> controls()
      Returns:
      all available controls
    • controlSet

      static ControlSet controlSet(Class<?> controlIdsClass)
      Parameters:
      controlIdsClass - the class containing the control ids
      Returns:
      a new ControlSet initialized with control ids found in the given class