Modifier and Type | Field and Description |
---|---|
(package private) float |
cMax |
(package private) float |
cMin |
(package private) boolean |
horizontal |
(package private) KennLine.Anchor |
leftFixed |
(package private) float |
leftMax |
(package private) float |
leftMin |
(package private) KennLine.MoveMode |
leftMode |
(package private) List<KennLine.Anchor> |
leftMoved |
(package private) boolean |
minMaxCached |
(package private) KennLine.Anchor |
moved |
(package private) Map<KennLine.Anchor,Float> |
results |
(package private) KennLine.Anchor |
rightFixed |
(package private) float |
rightMax |
(package private) float |
rightMin |
(package private) KennLine.MoveMode |
rightMode |
(package private) List<KennLine.Anchor> |
rightMoved |
(package private) @Opt FloatSignalSource |
source |
DEFAULT_AFAP_INTERRUPT_LATENCY, DEFAULT_SLEEP_TIME_MS
Constructor and Description |
---|
Animation(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.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
apply() |
(package private) void |
cacheMinMax() |
void |
calculateResults_key(float newKey) |
void |
calculateResults_value(float newValue) |
(package private) void |
calculateResults(float newF) |
(package private) void |
collectAnchors() |
void |
run()
Processes an event.
|
void |
setValue(float newValue) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
adHoc, afap, afap, andThen, asAsynchronousSwingEvent, compileControlFlow, every, every, frequently, frequently, frequently, sequence, times, times
final Map<KennLine.Anchor,Float> results
final boolean horizontal
@Opt final @Opt FloatSignalSource source
final KennLine.Anchor moved
final KennLine.Anchor leftFixed
final KennLine.Anchor rightFixed
final KennLine.MoveMode leftMode
final KennLine.MoveMode rightMode
final List<KennLine.Anchor> leftMoved
final List<KennLine.Anchor> rightMoved
boolean minMaxCached
float cMin
float cMax
float leftMin
float leftMax
float rightMin
float rightMax
Animation(KennLine.Anchor moved, @Opt @Opt FloatSignalSource source, boolean horizontal, KennLine.Anchor leftFixed, KennLine.MoveMode leftMode, KennLine.Anchor rightFixed, KennLine.MoveMode rightMode)
void collectAnchors()
public void run()
Realtime
Any implementation of this method should complete promptly and normally. In particular it must not block indefinitely.
public void setValue(float newValue)
void cacheMinMax()
void calculateResults(float newF)
public void calculateResults_key(float newKey)
public void calculateResults_value(float newValue)
void apply()