public class DataTimeRange
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String[] | 
ENDMODELABELS
Time range mode 
 | 
static int | 
MODE_ANIMATION
Time range mode 
 | 
static int | 
MODE_DATA
Time range mode 
 | 
static int | 
MODE_FIXED
Time range mode 
 | 
static int | 
MODE_RELATIVE
Time range mode 
 | 
static int[] | 
MODES
Time range mode 
 | 
static java.lang.String[] | 
STARTMODELABELS
Time range mode 
 | 
| Constructor and Description | 
|---|
DataTimeRange()
ctor 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
applyTimeProperties()
apply the properties 
 | 
java.util.Date | 
getEndFixedDate()
get the property 
 | 
long | 
getEndFixedTime()
Get the EndFixedTime property. 
 | 
int | 
getEndMode()
Get the EndMode property. 
 | 
double | 
getEndOffsetMinutes()
Get the EndOffsetMinutes property. 
 | 
java.lang.String | 
getLabelText()
Label that describes the range 
 | 
java.util.Date | 
getStartFixedDate()
get the property 
 | 
long | 
getStartFixedTime()
Get the StartFixedTime property. 
 | 
int | 
getStartMode()
Get the StartMode property. 
 | 
double | 
getStartOffsetMinutes()
Get the StartOffsetMinutes property. 
 | 
javax.swing.JLabel | 
getTimeModeLabel()
get the time model label 
 | 
visad.Real[] | 
getTimeRange(visad.Real dataStartTime,
            visad.Real dataEndTime,
            visad.Real aniValue)
calculate time range 
 | 
void | 
setEndFixedTime(java.util.Date d)
set the property 
 | 
void | 
setEndFixedTime(long value)
Set the EndFixedTime property. 
 | 
void | 
setEndMode(int value)
Set the EndMode property. 
 | 
void | 
setEndOffsetMinutes(double value)
Set the EndOffsetMinutes property. 
 | 
void | 
setOneLineLabel(boolean v)
set onelinelabel 
 | 
void | 
setStartFixedTime(java.util.Date d)
set the property 
 | 
void | 
setStartFixedTime(long value)
Set the StartFixedTime property. 
 | 
void | 
setStartMode(int value)
Set the StartMode property. 
 | 
void | 
setStartOffsetMinutes(double value)
Set the StartOffsetMinutes property. 
 | 
void | 
setTimeModeLabel(javax.swing.JLabel label)
Set time mode text 
 | 
boolean | 
showDialog()
Show the dialog 
 | 
java.lang.String | 
toString()
Get a String representation of this object 
 | 
public static final int MODE_DATA
public static final int MODE_ANIMATION
public static final int MODE_FIXED
public static final int MODE_RELATIVE
public static int[] MODES
public static java.lang.String[] STARTMODELABELS
public static java.lang.String[] ENDMODELABELS
public visad.Real[] getTimeRange(visad.Real dataStartTime,
                                 visad.Real dataEndTime,
                                 visad.Real aniValue)
                          throws visad.VisADException,
                                 java.rmi.RemoteException
dataStartTime - data start timedataEndTime - data end timeaniValue - animation timejava.rmi.RemoteException - On badnessvisad.VisADException - On badnesspublic javax.swing.JLabel getTimeModeLabel()
public void setTimeModeLabel(javax.swing.JLabel label)
public boolean showDialog()
public boolean applyTimeProperties()
public void setOneLineLabel(boolean v)
v - one line labelpublic java.lang.String getLabelText()
public java.lang.String toString()
toString in class java.lang.Objectpublic void setStartMode(int value)
value - The new value for StartModepublic int getStartMode()
public void setEndMode(int value)
value - The new value for EndModepublic int getEndMode()
public void setStartOffsetMinutes(double value)
value - The new value for StartOffsetMinutespublic double getStartOffsetMinutes()
public void setEndOffsetMinutes(double value)
value - The new value for EndOffsetMinutespublic double getEndOffsetMinutes()
public void setStartFixedTime(long value)
value - The new value for StartFixedTimepublic void setStartFixedTime(java.util.Date d)
d - valuepublic void setEndFixedTime(java.util.Date d)
d - valuepublic java.util.Date getStartFixedDate()
public java.util.Date getEndFixedDate()
public long getStartFixedTime()
public void setEndFixedTime(long value)
value - The new value for EndFixedTimepublic long getEndFixedTime()