Package eu.bandm.sighkn
Class KennLine
java.lang.Object
eu.bandm.sighkn.KennLine
- All Implemented Interfaces:
CompilableControlFlow
,Realtime
,Runnable
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected class
(package private) class
static enum
protected class
Last graphic experiments are VERY OLD and in metatools/mvc/SwingBoxAndLineView (currently not in make) .. -
Field Summary
Modifier and TypeFieldDescriptionstatic final RenderingHints
(package private) final SortedMap<Float,
KennLine.Anchor> (package private) final Map<String,
KennLine.Anchor> (package private) final Set<KennLine.Animation>
(package private) boolean
(package private) final KennLine.Anchor
static final String
static final String
(package private) final KennLine.Anchor
(package private) final float
(package private) final float
(package private) final float
(package private) final float
(package private) final float
(package private) KennLine.Anchor
(package private) KennLine.Anchor
(package private) final float
(package private) KennLine.SwingRep
Fields inherited from interface eu.bandm.sig.adlib.Realtime
DEFAULT_AFAP_INTERRUPT_LATENCY, DEFAULT_SLEEP_TIME_MS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasFloat()
(package private) final GeneralPath
combineGraphics
(@Opt KennLine.Animation animX, @Opt KennLine.Animation animY) (package private) void
do_select
(KennLine.Anchor anchor) getAnchor
(float f) getAnchorByPosition
(int i) float
getFloat
(float pos) getNextAnchor
(float f) getNextAnchor
(KennLine.Anchor anchor) getPrevAnchor
(float f) getPrevAnchor
(KennLine.Anchor anchor) void
(package private) void
insert
(KennLine.Anchor anchor) static void
static float
minMax
(float min, float max, float value) (package private) int
model2view_x
(float key) (package private) int
model2view_y
(float value) (package private) KennLine.Anchor
nextAnchor
(float f) Attention only called when next anchor does exist.(package private) KennLine.Anchor
nextAnchor
(KennLine.Anchor anchor) Attention only called when next anchor does exist.(package private) KennLine.Anchor
prevAnchor
(float f) Attention only called when next anchor does exist.(package private) KennLine.Anchor
prevAnchor
(KennLine.Anchor anchor) Attention only called when next anchor does exist.(package private) void
void
run()
Processes an event.void
select
(KennLine.Anchor anchor) void
setAntiAlias
(boolean antiAlias) protected void
protected void
updateGraphics
(KennLine.Anchor anchor) (package private) float
view2model_x
(int x) (package private) float
view2model_y
(int y) 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
-
minKey
final float minKey -
maxKey
final float maxKey -
minValue
final float minValue -
maxValue
final float maxValue -
label
-
anchors
-
anchorsByLabel
-
selected
KennLine.Anchor selected -
preSelected
KennLine.Anchor preSelected -
minKeyDistance
final float minKeyDistance -
snapValueDistance
final float snapValueDistance -
antiAlias
boolean antiAlias -
LABEL_FIRST
- See Also:
-
LABEL_LAST
- See Also:
-
firstAnchor
-
lastAnchor
-
animations
-
swingRep
KennLine.SwingRep swingRep -
aliasRenderingHints
-
-
Constructor Details
-
KennLine
-
KennLine
-
KennLine
public KennLine()
-
-
Method Details
-
setAntiAlias
public void setAntiAlias(boolean antiAlias) -
asFloat
-
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.
-
getFloat
public float getFloat(float pos) -
getAnchor
-
getAnchor
-
getAnchorByPosition
-
insert
-
insert
-
reCacheAnimations
void reCacheAnimations() -
minMax
public static float minMax(float min, float max, float value) -
nextAnchor
Attention only called when next anchor does exist. -
prevAnchor
Attention only called when next anchor does exist. -
nextAnchor
Attention only called when next anchor does exist. -
prevAnchor
Attention only called when next anchor does exist. -
getNextAnchor
-
getPrevAnchor
-
getNextAnchor
-
getPrevAnchor
-
select
-
do_select
-
getSwingRep
-
model2view_x
int model2view_x(float key) -
model2view_y
int model2view_y(float value) -
view2model_x
float view2model_x(int x) -
view2model_y
float view2model_y(int y) -
updateGraphics
-
updateGraphics
protected void updateGraphics() -
combineGraphics
final GeneralPath combineGraphics(@Opt @Opt KennLine.Animation animX, @Opt @Opt KennLine.Animation animY) -
main
-