|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectutil.PropertyContainer
util.PropertyResources
util.PropertyBundles
stella.parameter.AbstractParameter
stella.parameter.AbstractTargetParameter
stella.parameter.AbstractTargetValue
stella.parameter.DecTarget
stella.parameter.DecApparent
public class DecApparent
A general variable representing the ra of the actual object, precessed
to the current equinox.
Extends the RaTarget
base class. Needs the current jd and dec in 2000 equinox.
Parameters.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class util.PropertyResources |
|---|
PropertyResources.URLResource |
| Field Summary | |
|---|---|
private static String |
DEFJD
The name of the julian date to use. |
static String |
DEFNAME
The name of this global (ra). |
private static String |
DEFPROPDEC
The name of the proper motion in de. |
private static String |
DEFPROPRA
The name of the proper motion in ra. |
private static String |
DEFRA
The name of the declination of the target to use. |
private Value |
jd
The julian date. |
static String |
KEY_JD
The name of the julian date parameter. |
static String |
KEY_PROPDEC
The name of the proper motion in ra of the target to use. |
static String |
KEY_PROPRA
The name of the proper motion in ra of the target to use. |
static String |
KEY_RA
The name of the right ascension of the target to use. |
private PropDecTarget |
pmde
The proper motion in de, arcsec/yr. |
private PropRaTarget |
pmra
The proper motion in ra, arcsec/yr. |
private RaTarget |
ra
The ra of the actual object as a Double. |
| Fields inherited from class stella.parameter.DecTarget |
|---|
KEY_EPOCH |
| Fields inherited from class stella.parameter.AbstractTargetParameter |
|---|
KEY_INDEX |
| Fields inherited from class stella.parameter.AbstractParameter |
|---|
KEY_FORMAT, KEY_NAME, KEY_PRESERVE, UNKNOWN |
| Fields inherited from class util.PropertyBundles |
|---|
KEY_LOCALECOUNTRY, KEY_LOCALELANGUAGE, KEY_RESOURCEBUNDLES |
| Fields inherited from class util.PropertyResources |
|---|
KEY_NOINITONCREATE, localurl, locate, POSTFIX_DIR, POSTFIX_EXT, POSTFIX_FILE, POSTFIX_LIST, POSTFIX_URL, urlset |
| Fields inherited from class util.PropertyContainer |
|---|
KEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATOR |
| Fields inherited from interface util.PropertySupplying |
|---|
CONFIG, KEY_CLASS |
| Fields inherited from interface util.ResourceSupplying |
|---|
KEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOME |
| Constructor Summary | |
|---|---|
DecApparent(Map prop)
Constructs a new global representing the actual object's ra. |
|
| Method Summary | |
|---|---|
double |
getEpoch()
Returns the current epoch. |
Number |
getForTarget(TargetDefinition star)
Gets the declination of the target star, precessed to current equinox. |
protected Number |
getUnprecessed()
Returns the catalog value. |
protected Number |
getUnprecessed(TargetDefinition star)
Returns the catalog value. |
Number |
getValue()
Returns the ra of the actual target. |
private Number |
precess(double alpha,
double delta,
double jul)
Precesses the right ascension to the jd given in the third parameter. |
void |
registerParameter(Parameter what)
Registers the required additional globals for the ra actual. |
void |
registerTarget(TargetDefinition star)
Registers a star to this parameter. |
double |
rescanned(String key,
String old,
String newval)
As any parameter depending instance we fail if the parameter we depend on is now a different one. |
| Methods inherited from class stella.parameter.DecTarget |
|---|
set, setValue |
| Methods inherited from class stella.parameter.AbstractTargetValue |
|---|
get |
| Methods inherited from class stella.parameter.AbstractTargetParameter |
|---|
getAsStar, getConstant, getFormattedFor, getSetup |
| Methods inherited from class stella.parameter.AbstractParameter |
|---|
createParameter, delivers, exit, getFormatted, getFormatted, getName, getPreserveFile, getString, getString, init, register, setName, toString |
| Methods inherited from class util.PropertyBundles |
|---|
clone, getLocalized, getLocalized, getLocalizedString, getLocalizedString, loadResource |
| 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 class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface util.Reloadable |
|---|
reload |
| Methods inherited from interface stella.TargetDependingParameter |
|---|
getFormattedFor |
| Methods inherited from interface stella.Parameter |
|---|
getFormatted, getName, getString |
| 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 |
| Methods inherited from interface util.Initializable |
|---|
init |
| Methods inherited from interface util.ResourceSupplying |
|---|
getResource, getResourceAsStream, getResources |
| Field Detail |
|---|
public static final String KEY_JD
public static final String KEY_RA
public static final String KEY_PROPRA
public static final String KEY_PROPDEC
public static final String DEFNAME
private static final String DEFJD
private static final String DEFRA
private static final String DEFPROPRA
private static final String DEFPROPDEC
private Value jd
private PropRaTarget pmra
private PropDecTarget pmde
private RaTarget ra
| Constructor Detail |
|---|
public DecApparent(Map prop)
| Method Detail |
|---|
public double rescanned(String key,
String old,
String newval)
rescanned in interface Reloadablerescanned in class DecTargetpublic void registerTarget(TargetDefinition star)
registerTarget in interface TargetDependingregisterTarget in class DecTargetpublic Number getForTarget(TargetDefinition star)
getForTarget in interface TargetDependingValuegetForTarget in interface TargetDependingParametergetForTarget in class DecTargetpublic Number getValue()
getValue in interface ValuegetValue in class DecTargetpublic void registerParameter(Parameter what)
registerParameter in interface ParameterDependingpublic double getEpoch()
getEpoch in class DecTargetprotected Number getUnprecessed(TargetDefinition star)
protected Number getUnprecessed()
private Number precess(double alpha,
double delta,
double jul)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||