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>
,EventObserver<T>
,Supplier<T>
,Value<T>
,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
Value.Builder<T>, Value.Notify, Value.Validator<T>
-
Method Summary
Methods inherited from interface is.codion.common.event.EventObserver
addConsumer, addListener, addWeakConsumer, addWeakListener, removeConsumer, removeListener, removeWeakConsumer, removeWeakListener
Methods inherited from interface is.codion.common.value.Value
accept, addValidator, link, link, map, mapNull, observer, removeValidator, set, unlink, unlink, validate
Methods 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
-