|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.task.Parameter<String>
uk.ac.starlink.task.StringParameter
uk.ac.starlink.ttools.task.SkyCoordParameter
public class SkyCoordParameter
Utilities for sky coordinate parameters.
Field Summary |
---|
Fields inherited from class uk.ac.starlink.task.Parameter |
---|
BY_NAME |
Constructor Summary | |
---|---|
SkyCoordParameter(String name,
String coordName,
String coordSys,
String tableDescrip)
Constructor. |
Method Summary | |
---|---|
static StringParameter |
createDecParameter(String paramName,
String coordSys,
String tableDescrip)
Utility method to create a parameter representing Declination. |
static StringParameter |
createRaParameter(String paramName,
String coordSys,
String tableDescrip)
Utility method to create a parameter representing Right Ascension. |
static String |
guessDecDegreesExpression(StarTable inTable)
Looks at table columns and makes a guess at a JEL expression which will give Declination in degrees. |
static String |
guessRaDegreesExpression(StarTable inTable)
Looks at table columns and makes a guess at a JEL expression which will give Right Ascension in degrees. |
Methods inherited from class uk.ac.starlink.task.StringParameter |
---|
stringToObject |
Methods inherited from class uk.ac.starlink.task.Parameter |
---|
clearValue, getDescription, getName, getPosition, getPreferExplicit, getPrompt, getStringDefault, getUsage, getValueClass, isNullPermitted, objectToString, objectValue, setDescription, setDescription, setName, setNullPermitted, setPosition, setPreferExplicit, setPrompt, setStringDefault, setUsage, setValue, setValueFromObject, setValueFromString, stringValue, toArray, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SkyCoordParameter(String name, String coordName, String coordSys, String tableDescrip)
name
- parameter namecoordName
- text name for the coordinate, full word, capitalised,
for instance "Right ascension"coordSys
- name of coordinate system, or nulltableDescrip
- text denoting table to which the coordinate refers,
for instance "the input table"Method Detail |
---|
public static StringParameter createRaParameter(String paramName, String coordSys, String tableDescrip)
paramName
- parameter namecoordSys
- name of coordinate system, or nulltableDescrip
- text denoting table to which the coordinate refers,
for instance "the input table"
public static StringParameter createDecParameter(String paramName, String coordSys, String tableDescrip)
paramName
- parameter namecoordSys
- name of coordinate system, or nulltableDescrip
- text denoting table to which the coordinate refers,
for instance "the input table"
public static String guessRaDegreesExpression(StarTable inTable)
inTable
- table
public static String guessDecDegreesExpression(StarTable inTable)
inTable
- table
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |