public static class MultiSpectralDisplay.DragLine extends CellImpl
| Modifier and Type | Field and Description |
|---|---|
private String |
controlId |
private LocalDisplay |
display |
private RealType |
domainType |
private HydraControl |
hydraControl |
private float |
lastSelectedValue |
private DataReference |
line |
private String |
lineId |
private ConstantMap[] |
mappings |
private MultiSpectralDisplay |
multiSpectralDisplay |
private RealType |
rangeType |
private DataReference |
selector |
private String |
selectorId |
private RealTupleType |
tupleType |
private float[] |
YRANGE |
TRACE_STACK, TRACE_TIME| Constructor and Description |
|---|
DragLine(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) |
| Modifier and Type | Method and Description |
|---|---|
void |
annihilate() |
private static ConstantMap[] |
cloneMappedColor(ConstantMap[] color) |
void |
doAction()
Handles drag and drop updates.
|
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, setOtherReferenceaddReference, checkTicks, disableAction, enableAction, findReference, getCurrentActionThread, getLinks, getName, getTaskCount, printPool, removeAllReferences, removeReference, run, setEnabled, setName, setThreadPoolMaximum, stop, stopThreadPool, thingChanged, waitForTasksclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddReference, getName, removeAllReferences, removeReferencethingChangedprivate final String selectorId
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, String controlId, Color color) throws Exception
Exceptionpublic DragLine(MultiSpectralDisplay msd, String controlId, Color color, float[] YRANGE) throws Exception
Exceptionpublic DragLine(MultiSpectralDisplay msd, String controlId, ConstantMap[] color) throws Exception
Exceptionpublic DragLine(MultiSpectralDisplay msd, String controlId, ConstantMap[] color, float[] YRANGE) throws Exception
Exceptionprivate static ConstantMap[] cloneMappedColor(ConstantMap[] color) throws Exception
Exceptionpublic void annihilate()
public String getControlId()
public void doAction() throws VisADException, RemoteException
doAction in class CellImplVisADExceptionRemoteExceptionpublic float getSelectedValue()
public void setSelectedValue(float val) throws VisADException, RemoteException
VisADExceptionRemoteExceptionpublic void setHydraControl(HydraControl hydraControl)
hydraControl - the display control to set