public class RangeControl extends Control
| Constructor and Description |
|---|
RangeControl(DisplayImpl d) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Indicates whether or not this instance equals an Object
|
double[] |
getDoubleRange()
return the range of selected values
|
float[] |
getRange()
return the range of selected values
|
String |
getSaveString()
get a string that can be used to reconstruct this control later
|
void |
initializeRange(double[] range)
initialize the range of selected values as (range[0], range[1])
|
void |
initializeRange(float[] range)
initialize the range of selected values as (range[0], range[1])
|
void |
setRange(double[] range)
set the range of selected values as (range[0], range[1])
|
void |
setRange(float[] range)
set the range of selected values as (range[0], range[1])
|
void |
setSaveString(String save)
reconstruct this control using the specified save string
|
void |
syncControl(Control rmt)
copy the state of a remote control to this control
|
String |
toString() |
addControlListener, animation_string, changeControl, checkTicks, clone, getDisplay, getDisplayRenderer, getInstanceNumber, incTick, nullControl, peekTicks, removeControlListener, resetTicks, setTicks, subCheckTicks, subPeekTicks, subResetTicks, subSetTickspublic RangeControl(DisplayImpl d)
public void initializeRange(float[] range)
throws VisADException,
RemoteException
VisADExceptionRemoteExceptionpublic void initializeRange(double[] range)
throws VisADException,
RemoteException
VisADExceptionRemoteExceptionpublic void setRange(float[] range)
throws VisADException,
RemoteException
VisADExceptionRemoteExceptionpublic void setRange(double[] range)
throws VisADException,
RemoteException
VisADExceptionRemoteExceptionpublic float[] getRange()
public double[] getDoubleRange()
public String getSaveString()
getSaveString in class Controlpublic void setSaveString(String save) throws VisADException, RemoteException
setSaveString in class Controlsave - - String representation for reconstructionVisADException - if a VisAD error occursRemoteException - if an RMI error occurspublic void syncControl(Control rmt) throws VisADException
syncControl in class Controlrmt - remote Control whose state is copiedVisADException - if a VisAD error occurspublic boolean equals(Object o)
ControlCopyright © 1996–2023 The SSEC Visualization Project. All rights reserved.