stella.parameter
Class ExposureTimeLeft
java.lang.Object
util.PropertyContainer
util.PropertyResources
util.PropertyBundles
stella.parameter.AbstractParameter
stella.parameter.AbstractValue
stella.parameter.StopWatch
stella.parameter.CountDownWatch
stella.parameter.ExposureTimeLeft
- All Implemented Interfaces:
- Cloneable, ErrorDependingParameter, Parameter, StatePreserving, ParameterDepending, Value, ExitCleaning, Initializable, LocalizedSupplying, Preserving, PropertySupplying, Reloadable, ResourceSupplying
public class ExposureTimeLeft
- extends CountDownWatch
- implements ErrorDependingParameter
A general variable representing the the currently remaining exposure time.
Whenever this parameter receives an ExposureStart status, it
queries the exposure time associated with it and automatically
starts to count down. The total exposure time can always
be queried with CountDownWatch.getCountDown().
|
Field Summary |
static String |
DEFNAME
The name of this global (ra). |
|
Constructor Summary |
ExposureTimeLeft(Map prop)
Constructs a new global representing the actual object's ra. |
| Methods inherited from class stella.parameter.AbstractParameter |
createParameter, delivers, exit, getFormatted, getName, getPreserveFile, getString, getString, init, register, setName, toString |
| Methods inherited from class util.PropertyResources |
createFrom, createFrom, createFrom, getApplet, getAsResources, getLocalClassLoader, getPropertiesToKey, getPropertiesToKey, getResource, getResourceAsStream, getResourceFromKey, getResources, keyCreate, keyCreate, reload, setApplet |
| Methods inherited from class util.PropertyContainer |
augment, augment, augment, defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsEnums, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, isNew, parseObject, reload, removeProperty, setObject, setProperties, setProperty, stringProperties |
| Methods inherited from interface util.PropertySupplying |
defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, parseObject, removeProperty, setObject, setProperty, stringProperties |
DEFNAME
public static final String DEFNAME
- The name of this global (ra).
- See Also:
- Constant Field Values
ExposureTimeLeft
public ExposureTimeLeft(Map prop)
- Constructs a new global representing the actual object's ra.
registerError
public void registerError(ErrorEvent ttr)
- Registers an error to this parameter. If the error is a status
message of type
TracktimeRemaining, then a new count-down time
is set and the count down is commenced.
- Specified by:
registerError in interface ErrorDependingParameter
getForError
public Object getForError(ErrorEvent ttr)
- Gets the declination of the target star.
- Specified by:
getForError in interface ErrorDependingParameter
- Returns:
- A Double holding the target star's declination.