Package eu.bandm.sighkn
Class KennLine
java.lang.Object
eu.bandm.sighkn.KennLine
- All Implemented Interfaces:
CompilableControlFlow,Realtime,Runnable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected class(package private) classstatic enumprotected classLast graphic experiments are VERY OLD and in metatools/mvc/SwingBoxAndLineView (currently not in make) .. -
Field Summary
FieldsModifier 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.Anchorstatic final Stringstatic 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.SwingRepFields inherited from interface eu.bandm.sig.adlib.Realtime
DEFAULT_AFAP_INTERRUPT_LATENCY, DEFAULT_SLEEP_TIME_MS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasFloat()(package private) final GeneralPathcombineGraphics(@Opt KennLine.Animation animX, @Opt KennLine.Animation animY) (package private) voiddo_select(KennLine.Anchor anchor) getAnchor(float f) getAnchorByPosition(int i) floatgetFloat(float pos) getNextAnchor(float f) getNextAnchor(KennLine.Anchor anchor) getPrevAnchor(float f) getPrevAnchor(KennLine.Anchor anchor) void(package private) voidinsert(KennLine.Anchor anchor) static voidstatic floatminMax(float min, float max, float value) (package private) intmodel2view_x(float key) (package private) intmodel2view_y(float value) (package private) KennLine.AnchornextAnchor(float f) Attention only called when next anchor does exist.(package private) KennLine.AnchornextAnchor(KennLine.Anchor anchor) Attention only called when next anchor does exist.(package private) KennLine.AnchorprevAnchor(float f) Attention only called when next anchor does exist.(package private) KennLine.AnchorprevAnchor(KennLine.Anchor anchor) Attention only called when next anchor does exist.(package private) voidvoidrun()Processes an event.voidselect(KennLine.Anchor anchor) voidsetAntiAlias(boolean antiAlias) protected voidprotected voidupdateGraphics(KennLine.Anchor anchor) (package private) floatview2model_x(int x) (package private) floatview2model_y(int y) 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
-
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:RealtimeProcesses 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
-