|
JEphem site tig API Build classes |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.util.Dictionary
|
+--java.util.Hashtable
|
+--java.util.Properties
|
+--tig.TigProperties
|
+--jephem.tools.AstroPrefs
Handles general astronomy preferences.
| Nested Class Summary |
| Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
| Field Summary | |
static java.lang.String |
KEY_ASTRO_ENGINE
Constant to use as a key to access to the 'astroEngine' property of this preference. |
static java.lang.String |
KEY_AVAILABLE_FRAMES
Constant to use as a key to access to the 'availableFrames' property of these preferences. |
static java.lang.String |
KEY_CURRENT_BODIES
Constant to use as a key to access to the 'currentBodies' property of these preferences. |
static java.lang.String |
KEY_PRECISION
Constant to use as a key to access the 'precision' property of these preferences. |
| Fields inherited from class java.util.Properties |
defaults |
| Fields inherited from interface tig.GeneralConstants |
BLANK, FS, LS, NO_SPECIF, SPACE |
| Fields inherited from interface jephem.astro.solarsystem.SolarSystemConstants |
E0_1900, E0_1950, E0_2000, EARTH, JUPITER, KM_PER_AU, MARS, MERCURY, MOON, NB_BODIES, NEPTUNE, PLUTO, SATURN, SIDERAL_RATE, SUN, URANUS, VENUS |
| Fields inherited from interface jephem.astro.spacetime.SpaceConstants |
CARTESIAN, COORD_V0, COORD_V1, COORD_V2, COORD_X0, COORD_X1, COORD_X2, COORDGROUP_DELTA_BETA_LAMBDA, COORDGROUP_DIST_ALPHA_DELTA, COORDGROUP_RLB, COORDGROUP_XYZ, FRAME_EC_HELIO_GEOMETRIC, FRAME_ECLIPTIC, FRAME_EQUATORIAL, FRAME_GALACTIC, FRAME_HORIZONTAL_TOPOCENTRIC, FRAME_THEORY, LIGHT_VELOCITY, NB_COORDS, SPHERICAL |
| Constructor Summary | |
AstroPrefs()
Unique constructor ; if the file containing the preferences can't be read, uses hard-coded default values. |
|
| Method Summary | |
int[] |
getIntArrayProperty(java.lang.String key)
This method has been overriden because some properties are expressed with constant names and can be retrieved using reflection through TigProperties.getIntConstant. |
void |
store()
Stores these preferences in the appropriate file with the appropriate header. |
| Methods inherited from class tig.TigProperties |
getBooleanProperty, getBooleanProperty, getDoubleProperty, getDoubleProperty, getIntArrayProperty, getIntConstant, getIntProperty, getIntProperty, setBooleanProperty, setDoubleProperty, setIntArrayProperty, setIntProperty |
| Methods inherited from class java.util.Properties |
getProperty, getProperty, list, list, load, propertyNames, save, setProperty, store |
| Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String KEY_ASTRO_ENGINE
public static final java.lang.String KEY_AVAILABLE_FRAMES
public static final java.lang.String KEY_CURRENT_BODIES
public static final java.lang.String KEY_PRECISION
| Constructor Detail |
public AstroPrefs()
| Method Detail |
public int[] getIntArrayProperty(java.lang.String key)
TigProperties.getIntConstant.
getIntArrayProperty in class TigPropertiespublic void store()
|
JEphem site tig API Build classes |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||