edu.wisc.ssec.mcidasv.display.hydra
Class DragLine
java.lang.Object
visad.ActionImpl
visad.CellImpl
edu.wisc.ssec.mcidasv.display.hydra.DragLine
- All Implemented Interfaces:
- Runnable, EventListener, Action, Cell, ThingChangedListener
public class DragLine
- extends CellImpl
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
domainType
private RealType domainType
rangeType
private RealType rangeType
tupleType
private RealTupleType tupleType
display
private LocalDisplay display
YRANGE
private float[] YRANGE
lastSelectedValue
protected float lastSelectedValue
DragLine
public DragLine(Gridded1DSet domain,
RealType domainType,
RealType rangeType,
float lastSelectedValue,
LocalDisplay display,
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
update
public void update()