edu.wisc.ssec.mcidasv.display.hydra
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
public static class MultiSpectralDisplay.DragLine
- extends CellImpl
Constructor Summary |
MultiSpectralDisplay.DragLine(MultiSpectralDisplay msd,
String controlId,
Color color)
|
MultiSpectralDisplay.DragLine(MultiSpectralDisplay msd,
String controlId,
Color color,
float[] YRANGE)
|
MultiSpectralDisplay.DragLine(MultiSpectralDisplay msd,
String controlId,
ConstantMap[] color)
|
MultiSpectralDisplay.DragLine(MultiSpectralDisplay msd,
String controlId,
ConstantMap[] color,
float[] YRANGE)
|
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 |
selectorId
private final String selectorId
lineId
private final String lineId
controlId
private final String controlId
mappings
private ConstantMap[] mappings
line
private DataReference line
selector
private DataReference selector
multiSpectralDisplay
private MultiSpectralDisplay multiSpectralDisplay
hydraControl
private HydraControl hydraControl
domainType
private RealType domainType
rangeType
private RealType rangeType
tupleType
private RealTupleType tupleType
display
private LocalDisplay display
YRANGE
private float[] YRANGE
lastSelectedValue
private float lastSelectedValue
MultiSpectralDisplay.DragLine
public MultiSpectralDisplay.DragLine(MultiSpectralDisplay msd,
String controlId,
Color color)
throws Exception
- Throws:
Exception
MultiSpectralDisplay.DragLine
public MultiSpectralDisplay.DragLine(MultiSpectralDisplay msd,
String controlId,
Color color,
float[] YRANGE)
throws Exception
- Throws:
Exception
MultiSpectralDisplay.DragLine
public MultiSpectralDisplay.DragLine(MultiSpectralDisplay msd,
String controlId,
ConstantMap[] color)
throws Exception
- Throws:
Exception
MultiSpectralDisplay.DragLine
public MultiSpectralDisplay.DragLine(MultiSpectralDisplay msd,
String controlId,
ConstantMap[] color,
float[] YRANGE)
throws Exception
- Throws:
Exception
cloneMappedColor
private static ConstantMap[] cloneMappedColor(ConstantMap[] color)
throws Exception
- Throws:
Exception
annihilate
public void annihilate()
getControlId
public String getControlId()
doAction
public void doAction()
throws VisADException,
RemoteException
- Handles drag and drop updates.
- Specified by:
doAction
in class CellImpl
- Throws:
VisADException
RemoteException
getSelectedValue
public float getSelectedValue()
setSelectedValue
public void setSelectedValue(float val)
throws VisADException,
RemoteException
- Throws:
VisADException
RemoteException
setHydraControl
public void setHydraControl(HydraControl hydraControl)
- Set the display control so we can call back and update
wavelength readout in real time.
- Parameters:
hydraControl
- the display control to set