Class MultiSpectralDisplay.DragLine
java.lang.Object
visad.ActionImpl
visad.CellImpl
edu.wisc.ssec.mcidasv.display.hydra.MultiSpectralDisplay.DragLine
- All Implemented Interfaces:
Runnable
,EventListener
,Action
,Cell
,ThingChangedListener
- Enclosing class:
MultiSpectralDisplay
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String
private LocalDisplay
private RealType
private HydraControl
private float
private DataReference
private final String
private ConstantMap[]
private MultiSpectralDisplay
private RealType
private DataReference
private final String
private RealTupleType
private float[]
Fields inherited from class visad.ActionImpl
TRACE_STACK, TRACE_TIME
-
Constructor Summary
ConstructorsConstructorDescriptionDragLine
(MultiSpectralDisplay msd, String controlId, Color color) DragLine
(MultiSpectralDisplay msd, String controlId, Color color, float[] YRANGE) DragLine
(MultiSpectralDisplay msd, String controlId, ConstantMap[] color) DragLine
(MultiSpectralDisplay msd, 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
setHydraControl
(HydraControl hydraControl) Set the display control so we can call back and update wavelength readout in real time.void
setSelectedValue
(float val) 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
-
multiSpectralDisplay
-
hydraControl
-
domainType
-
rangeType
-
tupleType
-
display
-
YRANGE
-
lastSelectedValue
-
-
Constructor Details
-
DragLine
- Throws:
Exception
-
DragLine
public DragLine(MultiSpectralDisplay msd, String controlId, Color color, float[] YRANGE) throws Exception - Throws:
Exception
-
DragLine
- Throws:
Exception
-
DragLine
public DragLine(MultiSpectralDisplay msd, 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
-
setHydraControl
Set the display control so we can call back and update wavelength readout in real time.- Parameters:
hydraControl
- the display control to set
-