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
FieldsModifier 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 FloatSignalSourceFields inherited from interface eu.bandm.sig.adlib.Realtime
DEFAULT_AFAP_INTERRUPT_LATENCY, DEFAULT_SLEEP_TIME_MS -
Constructor Summary
ConstructorsConstructorDescriptionAnimation(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) voidapply()(package private) void(package private) voidcalculateResults(float newF) voidcalculateResults_key(float newKey) voidcalculateResults_value(float newValue) (package private) voidvoidrun()Processes an event.voidsetValue(float newValue) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:RealtimeProcesses 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()
-