public abstract class AbstractFitsMomentsValue extends AbstractTargetValue implements ParameterDepending
FitsMoments instance, or an instance of FitsParameterStub
are supported.PropertyResources.Load, PropertyResources.URLResource| Modifier and Type | Field and Description |
|---|---|
private static String |
DEFFITSMOMENTS
The default lux value name.
|
static String |
KEY_FITSMOMENTS
This key links to the name of the fitsmoments parameter.
|
private FitsUpdateListener |
listen
Listener instance for remote notification.
|
private AbstractFitsParameter |
locmoments
The parameter that holds the fits central moments, local.
|
private FitsParameterStub |
rmimoments
The parameter that holds the fits central moments, rmi.
|
KEY_INDEXKEY_FORMAT, KEY_NAME, KEY_PRESERVE, UNKNOWNKEY_NOINITONCREATE, POSTFIX_ALPHABET, POSTFIX_BYTES, POSTFIX_DIR, POSTFIX_EXT, POSTFIX_FILE, POSTFIX_LIST, POSTFIX_MODTIME, POSTFIX_URLKEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORCONFIG, KEY_CLASSKEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOME| Modifier | Constructor and Description |
|---|---|
protected |
AbstractFitsMomentsValue(Map<String,String> prop)
Construction of the flat exposure time calculator.
|
| Modifier and Type | Method and Description |
|---|---|
protected Date |
getDateObs()
Returns the date of the observation set on the fits either from the
local copy or from
remote.
|
protected double |
getExposureTime()
Returns the last exposure time set on the fits either from the
local copy or from
remote.
|
protected Object |
getFits()
Returns the fits parameter value from the local copy or from
remote.
|
protected long |
getRegistered()
Gets registering time stamp set on the fits either from the
local copy or from
remote.
|
void |
init()
On init, we create the table for calculating the times.
|
void |
registerMonitor(Object sleep)
We register the object for notification.
|
void |
registerParameter(Parameter p)
We register a parameter that delivers sky brightness.
|
Number |
setValue(Number number)
Throws an unsupported operation exception.
|
get, setgetAsStar, getConstant, getFormattedFor, getSetupcreateParameter, delivers, exit, getFormatted, getFormatted, getName, getPreserveFile, getString, getString, overrideDefaultName, register, rescanned, setName, toStringclone, createFrom, createFrom, createFrom, createInstance, getApplet, getAsResources, getLocate, getPropertiesToKey, getPropertiesToKey, getResource, getResourceAsStream, getResourceFromKey, getResources, hasLocalURLs, initProperties, keyCreate, keyCreate, reload, setAppletaugment, augment, 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, parseObject, reload, removeProperty, requires, setObject, setProperties, setProperty, stringPropertiesequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetForTargetgetFormattedForregisterTargetgetFormatted, getName, getStringdefaultBoolean, 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, stringPropertiespublic static final String KEY_FITSMOMENTS
private static final String DEFFITSMOMENTS
private FitsParameterStub rmimoments
private AbstractFitsParameter locmoments
private FitsUpdateListener listen
public void init()
throws InitException
init in interface Initializableinit in class AbstractParameterInitExceptionpublic void registerParameter(Parameter p)
registerParameter in interface ParameterDependingprotected Object getFits()
protected double getExposureTime()
protected long getRegistered()
protected Date getDateObs()
public void registerMonitor(Object sleep)