Package eu.bandm.sighkn
Class KennLine.Animation
java.lang.Object
eu.bandm.sighkn.KennLine.Animation
- All Implemented Interfaces:
CompilableControlFlow
,Realtime
,Runnable
- Enclosing class:
- KennLine
-
Field Summary
Modifier and TypeFieldDescription(package private) float
(package private) float
(package private) final boolean
(package private) final KennLine.Anchor
(package private) float
(package private) float
(package private) final KennLine.MoveMode
(package private) final List<KennLine.Anchor>
(package private) boolean
(package private) final KennLine.Anchor
(package private) final Map<KennLine.Anchor,
Float> (package private) final KennLine.Anchor
(package private) float
(package private) float
(package private) final KennLine.MoveMode
(package private) final List<KennLine.Anchor>
(package private) final @Opt FloatSignalSource
Fields inherited from interface eu.bandm.sig.adlib.Realtime
DEFAULT_AFAP_INTERRUPT_LATENCY, DEFAULT_SLEEP_TIME_MS
-
Constructor Summary
ConstructorDescriptionAnimation
(KennLine.Anchor moved, @Opt FloatSignalSource source, boolean horizontal, KennLine.Anchor leftFixed, KennLine.MoveMode leftMode, KennLine.Anchor rightFixed, KennLine.MoveMode rightMode) source may be ==null for gui animation. -
Method Summary
Modifier and TypeMethodDescription(package private) void
apply()
(package private) void
(package private) void
calculateResults
(float newF) void
calculateResults_key
(float newKey) void
calculateResults_value
(float newValue) (package private) void
void
run()
Processes an event.void
setValue
(float newValue) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface eu.bandm.sig.adlib.Realtime
afap, afap, andThen, asAsynchronousSwingEvent, compileControlFlow, every, every, frequently, frequently, frequently, times, times
-
Field Details
-
results
-
horizontal
final boolean horizontal -
source
-
moved
-
leftFixed
-
rightFixed
-
leftMode
-
rightMode
-
leftMoved
-
rightMoved
-
minMaxCached
boolean minMaxCached -
cMin
float cMin -
cMax
float cMax -
leftMin
float leftMin -
leftMax
float leftMax -
rightMin
float rightMin -
rightMax
float rightMax
-
-
Constructor Details
-
Animation
Animation(KennLine.Anchor moved, @Opt @Opt FloatSignalSource source, boolean horizontal, KennLine.Anchor leftFixed, KennLine.MoveMode leftMode, KennLine.Anchor rightFixed, KennLine.MoveMode rightMode) source may be ==null for gui animation.
-
-
Method Details
-
collectAnchors
void collectAnchors() -
run
public void run()Description copied from interface:Realtime
Processes an event.Any implementation of this method should complete promptly and normally. In particular it must not block indefinitely.
-
setValue
public void setValue(float newValue) -
cacheMinMax
void cacheMinMax() -
calculateResults
void calculateResults(float newF) -
calculateResults_key
public void calculateResults_key(float newKey) -
calculateResults_value
public void calculateResults_value(float newValue) -
apply
void apply()
-