|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.data.DataTimeRange
public class DataTimeRange
Class DataTimeRange specifies a time range
| Field Summary | |
|---|---|
static 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 String[] |
STARTMODELABELS
Time range mode |
| Constructor Summary | |
|---|---|
DataTimeRange()
ctor |
|
| Method Summary | |
|---|---|
boolean |
applyTimeProperties()
apply the properties |
Date |
getEndFixedDate()
get the property |
long |
getEndFixedTime()
Get the EndFixedTime property. |
int |
getEndMode()
Get the EndMode property. |
double |
getEndOffsetMinutes()
Get the EndOffsetMinutes property. |
String |
getLabelText()
Label that describes the range |
Date |
getStartFixedDate()
get the property |
long |
getStartFixedTime()
Get the StartFixedTime property. |
int |
getStartMode()
Get the StartMode property. |
double |
getStartOffsetMinutes()
Get the StartOffsetMinutes property. |
JLabel |
getTimeModeLabel()
get the time model label |
Real[] |
getTimeRange(Real dataStartTime,
Real dataEndTime,
Real aniValue)
calculate time range |
void |
setEndFixedTime(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)
_more_ |
void |
setStartFixedTime(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. |
boolean |
showDialog()
Show the dialog |
String |
toString()
Get a String representation of this object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
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 String[] STARTMODELABELS
public static String[] ENDMODELABELS
| Constructor Detail |
|---|
public DataTimeRange()
| Method Detail |
|---|
public Real[] getTimeRange(Real dataStartTime,
Real dataEndTime,
Real aniValue)
throws VisADException,
RemoteException
dataStartTime - data start timedataEndTime - data end timeaniValue - animation time
RemoteException - On badness
VisADException - On badnesspublic JLabel getTimeModeLabel()
public boolean showDialog()
public boolean applyTimeProperties()
public void setOneLineLabel(boolean v)
v - _more_public String getLabelText()
public String toString()
toString in class 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(Date d)
d - valuepublic void setEndFixedTime(Date d)
d - valuepublic Date getStartFixedDate()
public Date getEndFixedDate()
public long getStartFixedTime()
public void setEndFixedTime(long value)
value - The new value for EndFixedTimepublic long getEndFixedTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||