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>
,Observer<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,
B extends Value.Builder<T, B>>, Value.BuilderFactory, Value.Notify, Value.Validator<T> -
Method Summary
Methods inherited from interface is.codion.common.observer.Observer
addConsumer, addListener, addWeakConsumer, addWeakListener, removeConsumer, removeListener, removeWeakConsumer, removeWeakListener
Methods inherited from interface is.codion.common.value.Value
accept, addValidator, clear, link, link, map, observer, removeValidator, set, unlink, unlink, validate
Methods inherited from interface is.codion.common.value.ValueObserver
get, isEqualTo, isNotEqualTo, isNotNull, isNull, nullable, optional
-
Method Details
-
component
C component()- Returns:
- the input component representing the value
-