Module is.codion.swing.common.ui
Interface ComponentValue<T,C extends JComponent>
- Type Parameters:
T- the value typeC- the component type
- All Superinterfaces:
Consumer<T>,is.codion.common.event.EventObserver<T>,Supplier<T>,is.codion.common.value.Value<T>,is.codion.common.value.ValueObserver<T>
- All Known Implementing Classes:
AbstractComponentValue,AbstractTextComponentValue
A
Value represented by an input component of some sort.Components is a factory for ComponentValue implementations.-
Nested Class Summary
Nested classes/interfaces inherited from interface is.codion.common.value.Value
is.codion.common.value.Value.Notify, is.codion.common.value.Value.Validator<T extends Object> -
Method Summary
Methods inherited from interface is.codion.common.event.EventObserver
addDataListener, addListener, addWeakDataListener, addWeakListener, removeDataListener, removeListener, removeWeakDataListener, removeWeakListenerMethods inherited from interface is.codion.common.value.Value
accept, addValidator, link, link, map, mapNull, observer, removeValidator, set, unlink, unlink, validateMethods inherited from interface is.codion.common.value.ValueObserver
isEqualTo, isNotEqualTo, isNotNull, isNull, nullable, optional
-
Method Details
-
component
C component()- Returns:
- the input component representing the value
-