Interface ComponentValue<C extends JComponent, T>
- Type Parameters:
C- the component typeT- the value type
- All Superinterfaces:
Observable<T>, Observer<T>, Sensor, Value<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 Value
Value.Builder<T,B>, Value.BuilderFactory, Value.Locked, Value.Notify, Value.Validator<T> -
Method Summary
Methods inherited from interface Observable
changed, get, getOrThrow, getOrThrow, is, isNot, isNull, isNullable, optionalMethods inherited from interface Observer
addConsumer, addWeakConsumer, observer, removeConsumer, removeWeakConsumer, sensor, when, whenMethods inherited from interface Sensor
addListener, addWeakListener, removeListener, removeWeakListenerMethods inherited from interface Value
addValidator, clear, link, link, locked, observable, removeValidator, set, unlink, unlink, update, validate
-
Method Details
-
component
C component()- Returns:
- the input component representing the value
-