public interface ControlSet
Manages a set of
Control instances.-
Method Summary
Modifier and TypeMethodDescription<T extends Control>
is.codion.common.value.Value<T>Collection<is.codion.common.value.Value<Control>>controls()static ControlSetcontrolSet(Class<?> controlIdsClass)
-
Method Details
-
control
- Type Parameters:
T- the control type- Parameters:
controlId- the control id- Returns:
- the
Valuespecifying theControlassociated with the given id - Throws:
IllegalArgumentException- in case no control is associated with the given shortcut
-
controls
Collection<is.codion.common.value.Value<Control>> controls()- Returns:
- all available controls
-
controlSet
- Parameters:
controlIdsClass- the class containing the control ids- Returns:
- a new
ControlSetinitialized with control ids found in the given class
-