Package eu.bandm.sighkn
Class Variable<V>
java.lang.Object
eu.bandm.sighkn.Variable<V>
- Direct Known Subclasses:
BooleanVariable
Central class to realize control values which can come from different sources
and flow to different consumers.
In practice, the following situations must be freely combinable:
- programmatic, suprious setting by imperative code
- clocked read of some signal source
- irregular, but predictable setting by a kind of sequencer
- spontanuous GUI input by slider / checkbox / textinput
- Midi input (key, ctrl, etc.)
- other external sensors
- continuous output as a signal source
- programmatic/event like reaction in case of change
- GUI visualization of current value
- visualization plot of recent history
- protocol of changes, either discrete or continuously sampled
- some scalar domain like float or int
- boolean
- (seldom: text)
- some PRODUCT of these
- (seldom: a CO-product)
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract JComponent
get_GUI()
get_GUI_withName
(boolean horiNotVert) protected void
setChangeListener
(Runnable stateListener)
-
Field Details
-
name
-
domain
-
isPrimitive
protected final boolean isPrimitive -
value
-
stateListener
-
-
Constructor Details
-
Variable
-
-
Method Details
-
setChangeListener
-
get_GUI_withName
-
get_GUI
-
set_value
-
get_value
-
propagateValueChange
protected void propagateValueChange()
-