public class AnimationSetInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
ENDMODELABELS
Mode for constructing set
|
static java.lang.String[] |
STARTMODELABELS
Mode for constructing set
|
static int |
TIMEMODE_CURRENT
Mode for constructing set
|
static int |
TIMEMODE_DATA
Mode for constructing set
|
static int |
TIMEMODE_FIXED
Mode for constructing set
|
static int |
TIMEMODE_RELATIVE
Mode for constructing set
|
static int[] |
TIMEMODES
Mode for constructing set
|
Constructor and Description |
---|
AnimationSetInfo()
ctor
|
AnimationSetInfo(AnimationSetInfo that)
copy ctor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(AnimationSetInfo that)
_more_
|
boolean |
getActive()
Get the Active property.
|
protected visad.Set |
getBaseTimes()
Get the base times
|
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.
|
double |
getIntervalMinutes()
Get the IntervalMinutes property.
|
boolean |
getIsTimeDriver()
Is this the ViewManager time driver?
|
double |
getPollMinutes()
Get the PollMinutes property.
|
double |
getRoundTo()
Get the RoundTo property.
|
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.
|
protected visad.Set |
makeTimeSet(DisplayMaster displayMaster)
Create the time set
|
static double |
roundTo(double roundTo,
double seconds)
Utility to round the given seconds
|
void |
setActive(boolean value)
Set the Active property.
|
protected void |
setBaseTimes(visad.Set times)
Set the base time
|
void |
setEndFixedTime(java.util.Date d)
set 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 |
setIntervalMinutes(double value)
Set the IntervalMinutes property.
|
void |
setIsTimeDriver(boolean yesorno)
Set whether this the ViewManager time driver
|
void |
setPollMinutes(double value)
Set the PollMinutes property.
|
void |
setRoundTo(double value)
Set the RoundTo property.
|
void |
setStartFixedTime(java.util.Date d)
set 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 |
usingCurrentTime()
Do we use the now time for either our start or end time
|
public static final int TIMEMODE_DATA
public static final int TIMEMODE_CURRENT
public static final int TIMEMODE_FIXED
public static final int TIMEMODE_RELATIVE
public static int[] TIMEMODES
public static java.lang.String[] STARTMODELABELS
public static java.lang.String[] ENDMODELABELS
public AnimationSetInfo()
public AnimationSetInfo(AnimationSetInfo that)
that
- object to copy frompublic boolean equals(AnimationSetInfo that)
that
- _more_public static double roundTo(double roundTo, double seconds)
roundTo
- the seconds to round toseconds
- time to roundprotected void setBaseTimes(visad.Set times)
times
- the timesprotected visad.Set getBaseTimes()
protected visad.Set makeTimeSet(DisplayMaster displayMaster) throws visad.VisADException, java.rmi.RemoteException
displayMaster
- The display master we're injava.rmi.RemoteException
- On badnessvisad.VisADException
- On badnesspublic boolean usingCurrentTime()
public void setActive(boolean value)
value
- The new value for Activepublic boolean getActive()
public 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 setIntervalMinutes(double value)
value
- The new value for IntervalMinutespublic double getIntervalMinutes()
public void setPollMinutes(double value)
value
- The new value for PollMinutespublic double getPollMinutes()
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 setRoundTo(double value)
value
- The new value for RoundTopublic double getRoundTo()
public void setStartFixedTime(long value)
value
- The new value for StartFixedTimepublic void setStartFixedTime(java.util.Date d)
d
- propertypublic void setEndFixedTime(java.util.Date d)
d
- propertypublic 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()
public boolean getIsTimeDriver()
public void setIsTimeDriver(boolean yesorno)
yesorno
- true to be the time driver