public class FluxAdapter extends AbstractValue implements ErrorDependingParameter, Reloadable
AdapterFwhm status messages
to derive the reported star flux (in instrumental magnitudes) out of it.PropertyResources.Load, PropertyResources.URLResource| Modifier and Type | Field and Description |
|---|---|
static String |
DEFNAME
The default name of the adapter flux.
|
private Double |
flux
The current focus position.
|
KEY_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_MAPSEPARATORNAMING_EXTENSIONCONFIG, KEY_CLASSKEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOME| Constructor and Description |
|---|
FluxAdapter(Map prop)
Constructs a new adapter flux value.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getForError(ErrorEvent ee)
Scans the
AdapterFwhm for the flux and returns it as a
Double object |
Number |
getValue()
Gets the last reported flux of a star image obtained during centering
or guiding on the adapter.
|
void |
registerError(ErrorEvent ee)
Registers this adapter fwhm event to the parameter.
|
double |
rescanned(String key,
String old,
String newval)
Makes this method public, no further changes.
|
Number |
setValue(Number newval)
Sets the flux of the star image.
|
get, setcreateParameter, delivers, exit, getFormatted, getFormatted, getName, getPreserveFile, getString, getString, init, overrideDefaultName, register, 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, waitdefaultBoolean, 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, stringPropertiesinitreloadpublic static final String DEFNAME
private Double flux
public FluxAdapter(Map prop)
public double rescanned(String key, String old, String newval)
rescanned in interface Reloadablerescanned in class AbstractParameterpublic Object getForError(ErrorEvent ee)
AdapterFwhm for the flux and returns it as a
Double objectgetForError in interface ErrorDependingParameterpublic void registerError(ErrorEvent ee)
registerError in interface ErrorDependingParameterpublic Number getValue()
AdapterFwhm object.