Package ucar.visad.display
Class AnimationSetInfo
java.lang.Object
ucar.visad.display.AnimationSetInfo
Holds state for constructing synthetic animation sets
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic String[]
Mode for constructing setstatic String[]
Mode for constructing setstatic final int
Mode for constructing setstatic final int
Mode for constructing setstatic final int
Mode for constructing setstatic final int
Mode for constructing setstatic int[]
Mode for constructing set -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
equals
(AnimationSetInfo that) _more_boolean
Get the Active property.protected Set
Get the base timesget the propertylong
Get the EndFixedTime property.int
Get the EndMode property.double
Get the EndOffsetMinutes property.double
Get the IntervalMinutes property.boolean
Is this the ViewManager time driver?double
Get the PollMinutes property.double
Get the RoundTo property.get the propertylong
Get the StartFixedTime property.int
Get the StartMode property.double
Get the StartOffsetMinutes property.protected Set
makeTimeSet
(DisplayMaster displayMaster) Create the time setstatic double
roundTo
(double roundTo, double seconds) Utility to round the given secondsvoid
setActive
(boolean value) Set the Active property.protected void
setBaseTimes
(Set times) Set the base timevoid
setEndFixedTime
(long value) Set the EndFixedTime property.void
set propertyvoid
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 drivervoid
setPollMinutes
(double value) Set the PollMinutes property.void
setRoundTo
(double value) Set the RoundTo property.void
setStartFixedTime
(long value) Set the StartFixedTime property.void
set propertyvoid
setStartMode
(int value) Set the StartMode property.void
setStartOffsetMinutes
(double value) Set the StartOffsetMinutes property.boolean
Do we use the now time for either our start or end time
-
Field Details
-
TIMEMODE_DATA
public static final int TIMEMODE_DATAMode for constructing set- See Also:
-
TIMEMODE_CURRENT
public static final int TIMEMODE_CURRENTMode for constructing set- See Also:
-
TIMEMODE_FIXED
public static final int TIMEMODE_FIXEDMode for constructing set- See Also:
-
TIMEMODE_RELATIVE
public static final int TIMEMODE_RELATIVEMode for constructing set- See Also:
-
TIMEMODES
public static int[] TIMEMODESMode for constructing set -
STARTMODELABELS
Mode for constructing set -
ENDMODELABELS
Mode for constructing set
-
-
Constructor Details
-
AnimationSetInfo
public AnimationSetInfo()ctor -
AnimationSetInfo
copy ctor- Parameters:
that
- object to copy from
-
-
Method Details
-
equals
_more_- Parameters:
that
- _more_- Returns:
- _more_
-
roundTo
public static double roundTo(double roundTo, double seconds) Utility to round the given seconds- Parameters:
roundTo
- the seconds to round toseconds
- time to round- Returns:
- Rounded value
-
setBaseTimes
Set the base time- Parameters:
times
- the times
-
getBaseTimes
Get the base times- Returns:
- the base times
-
makeTimeSet
Create the time set- Parameters:
displayMaster
- The display master we're in- Returns:
- The time set
- Throws:
RemoteException
- On badnessVisADException
- On badness
-
usingCurrentTime
public boolean usingCurrentTime()Do we use the now time for either our start or end time- Returns:
- Use now time
-
setActive
public void setActive(boolean value) Set the Active property.- Parameters:
value
- The new value for Active
-
getActive
public boolean getActive()Get the Active property.- Returns:
- The Active
-
setStartMode
public void setStartMode(int value) Set the StartMode property.- Parameters:
value
- The new value for StartMode
-
getStartMode
public int getStartMode()Get the StartMode property.- Returns:
- The StartMode
-
setEndMode
public void setEndMode(int value) Set the EndMode property.- Parameters:
value
- The new value for EndMode
-
getEndMode
public int getEndMode()Get the EndMode property.- Returns:
- The EndMode
-
setIntervalMinutes
public void setIntervalMinutes(double value) Set the IntervalMinutes property.- Parameters:
value
- The new value for IntervalMinutes
-
getIntervalMinutes
public double getIntervalMinutes()Get the IntervalMinutes property.- Returns:
- The IntervalMinutes
-
setPollMinutes
public void setPollMinutes(double value) Set the PollMinutes property.- Parameters:
value
- The new value for PollMinutes
-
getPollMinutes
public double getPollMinutes()Get the PollMinutes property.- Returns:
- The PollMinutes
-
setStartOffsetMinutes
public void setStartOffsetMinutes(double value) Set the StartOffsetMinutes property.- Parameters:
value
- The new value for StartOffsetMinutes
-
getStartOffsetMinutes
public double getStartOffsetMinutes()Get the StartOffsetMinutes property.- Returns:
- The StartOffsetMinutes
-
setEndOffsetMinutes
public void setEndOffsetMinutes(double value) Set the EndOffsetMinutes property.- Parameters:
value
- The new value for EndOffsetMinutes
-
getEndOffsetMinutes
public double getEndOffsetMinutes()Get the EndOffsetMinutes property.- Returns:
- The EndOffsetMinutes
-
setRoundTo
public void setRoundTo(double value) Set the RoundTo property.- Parameters:
value
- The new value for RoundTo
-
getRoundTo
public double getRoundTo()Get the RoundTo property.- Returns:
- The RoundTo
-
setStartFixedTime
public void setStartFixedTime(long value) Set the StartFixedTime property.- Parameters:
value
- The new value for StartFixedTime
-
setStartFixedTime
set property- Parameters:
d
- property
-
setEndFixedTime
set property- Parameters:
d
- property
-
getStartFixedDate
get the property- Returns:
- property
-
getEndFixedDate
get the property- Returns:
- property
-
getStartFixedTime
public long getStartFixedTime()Get the StartFixedTime property.- Returns:
- The StartFixedTime
-
setEndFixedTime
public void setEndFixedTime(long value) Set the EndFixedTime property.- Parameters:
value
- The new value for EndFixedTime
-
getEndFixedTime
public long getEndFixedTime()Get the EndFixedTime property.- Returns:
- The EndFixedTime
-
getIsTimeDriver
public boolean getIsTimeDriver()Is this the ViewManager time driver?- Returns:
- true if it is the time driver
-
setIsTimeDriver
public void setIsTimeDriver(boolean yesorno) Set whether this the ViewManager time driver- Parameters:
yesorno
- true to be the time driver
-