Class DragLine
java.lang.Object
visad.ActionImpl
visad.CellImpl
edu.wisc.ssec.mcidasv.display.hydra.DragLine
- All Implemented Interfaces:
Runnable
,EventListener
,Action
,Cell
,ThingChangedListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String
private LocalDisplay
private RealType
protected float
private DataReference
private final String
private ConstantMap[]
private DataReference
private final String
private RealTupleType
private float[]
Fields inherited from class visad.ActionImpl
TRACE_STACK, TRACE_TIME
-
Constructor Summary
ConstructorsConstructorDescriptionDragLine
(Gridded1DSet domain, RealType domainType, RealType rangeType, float lastSelectedValue, LocalDisplay display, String controlId, ConstantMap[] color, float[] YRANGE) -
Method Summary
Modifier and TypeMethodDescriptionvoid
private static ConstantMap[]
cloneMappedColor
(ConstantMap[] color) void
doAction()
Handles drag and drop updates.float
void
setSelectedValue
(float val) void
update()
Methods inherited from class visad.CellImpl
getOtherReference, setOtherReference
Methods inherited from class visad.ActionImpl
addReference, checkTicks, disableAction, enableAction, findReference, getCurrentActionThread, getLinks, getName, getTaskCount, printPool, removeAllReferences, removeReference, run, setEnabled, setName, setThreadPoolMaximum, stop, stopThreadPool, thingChanged, waitForTasks
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface visad.Action
addReference, getName, removeAllReferences, removeReference
Methods inherited from interface visad.ThingChangedListener
thingChanged
-
Field Details
-
selectorId
-
lineId
-
controlId
-
mappings
-
line
-
selector
-
domainType
-
tupleType
-
display
-
YRANGE
-
lastSelectedValue
-
-
Constructor Details
-
DragLine
public DragLine(Gridded1DSet domain, RealType domainType, RealType rangeType, float lastSelectedValue, LocalDisplay display, String controlId, ConstantMap[] color, float[] YRANGE) throws Exception - Throws:
Exception
-
-
Method Details
-
cloneMappedColor
- Throws:
Exception
-
annihilate
-
getControlId
-
doAction
Handles drag and drop updates.- Specified by:
doAction
in classCellImpl
- Throws:
VisADException
RemoteException
-
getSelectedValue
-
setSelectedValue
- Throws:
VisADException
RemoteException
-
update
-