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
-
Method Summary
Methods inherited from interface is.codion.common.event.EventObserver
addConsumer, addListener, addWeakConsumer, addWeakListener, removeConsumer, removeListener, removeWeakConsumer, removeWeakListenerMethods inherited from interface is.codion.common.value.Value
accept, addValidator, clear, link, link, map, mapNull, observer, removeValidator, set, unlink, unlink, validateMethods inherited from interface is.codion.common.value.ValueObserver
isEqualTo, isNotEqualTo, isNotNull, isNull, isNullable, optional
-
Method Details
-
component
C component()- Returns:
- the input component representing the value
-