public static class MultiSpectralDisplay.DragLine extends CellImpl
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
controlId |
private LocalDisplay |
display |
private RealType |
domainType |
private HydraControl |
hydraControl |
private float |
lastSelectedValue |
private DataReference |
line |
private java.lang.String |
lineId |
private ConstantMap[] |
mappings |
private MultiSpectralDisplay |
multiSpectralDisplay |
private RealType |
rangeType |
private DataReference |
selector |
private java.lang.String |
selectorId |
private RealTupleType |
tupleType |
private float[] |
YRANGE |
TRACE_STACK, TRACE_TIME
Constructor and Description |
---|
DragLine(MultiSpectralDisplay msd,
java.lang.String controlId,
java.awt.Color color) |
DragLine(MultiSpectralDisplay msd,
java.lang.String controlId,
java.awt.Color color,
float[] YRANGE) |
DragLine(MultiSpectralDisplay msd,
java.lang.String controlId,
ConstantMap[] color) |
DragLine(MultiSpectralDisplay msd,
java.lang.String controlId,
ConstantMap[] color,
float[] YRANGE) |
Modifier and Type | Method and Description |
---|---|
void |
annihilate() |
private static ConstantMap[] |
cloneMappedColor(ConstantMap[] color) |
void |
doAction()
Handles drag and drop updates.
|
java.lang.String |
getControlId() |
float |
getSelectedValue() |
void |
setHydraControl(HydraControl hydraControl)
Set the display control so we can call back and update
wavelength readout in real time.
|
void |
setSelectedValue(float val) |
getOtherReference, setOtherReference
addReference, checkTicks, disableAction, enableAction, findReference, getCurrentActionThread, getLinks, getName, getTaskCount, printPool, removeAllReferences, removeReference, run, setEnabled, setName, setThreadPoolMaximum, stop, stopThreadPool, thingChanged, waitForTasks
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addReference, getName, removeAllReferences, removeReference
thingChanged
private final java.lang.String selectorId
private final java.lang.String lineId
private final java.lang.String controlId
private ConstantMap[] mappings
private DataReference line
private DataReference selector
private MultiSpectralDisplay multiSpectralDisplay
private HydraControl hydraControl
private RealType domainType
private RealTupleType tupleType
private LocalDisplay display
private float[] YRANGE
private float lastSelectedValue
public DragLine(MultiSpectralDisplay msd, java.lang.String controlId, java.awt.Color color) throws java.lang.Exception
java.lang.Exception
public DragLine(MultiSpectralDisplay msd, java.lang.String controlId, java.awt.Color color, float[] YRANGE) throws java.lang.Exception
java.lang.Exception
public DragLine(MultiSpectralDisplay msd, java.lang.String controlId, ConstantMap[] color) throws java.lang.Exception
java.lang.Exception
public DragLine(MultiSpectralDisplay msd, java.lang.String controlId, ConstantMap[] color, float[] YRANGE) throws java.lang.Exception
java.lang.Exception
private static ConstantMap[] cloneMappedColor(ConstantMap[] color) throws java.lang.Exception
java.lang.Exception
public void annihilate()
public java.lang.String getControlId()
public void doAction() throws VisADException, java.rmi.RemoteException
doAction
in class CellImpl
VisADException
java.rmi.RemoteException
public float getSelectedValue()
public void setSelectedValue(float val) throws VisADException, java.rmi.RemoteException
VisADException
java.rmi.RemoteException
public void setHydraControl(HydraControl hydraControl)
hydraControl
- the display control to set