|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjsky.catalog.TablePlotSymbol
jsky.catalog.skycat.SkycatPlotSymbol
public class SkycatPlotSymbol
Represents the contents of a plot symbol definition, as defined in a skycat catalog config file.
Field Summary |
---|
Fields inherited from class jsky.catalog.TablePlotSymbol |
---|
ARROW, CIRCLE, COLOR_NAMES, COLORS, COMPASS, CROSS, DEFAULT_DEC_COL, DEFAULT_EQUINOX, DEFAULT_RA_COL, DIAMOND, ELLIPSE, LINE, PLUS, SQUARE, SYMBOLS, TRIANGLE |
Constructor Summary | |
---|---|
SkycatPlotSymbol(SkycatTable table,
String[] colNames,
String shapeName,
String fg,
String bg,
String ratio,
String angle,
String label,
String cond,
String size,
String units)
Initialize a SkycatPlotSymbol from the given values. |
|
SkycatPlotSymbol(SkycatTable table,
String cols,
String symbol,
String expr)
Parses the given fields from the plot symbol definition in the skycat catalog config file and makes the values available via methods. |
Method Summary | |
---|---|
int |
getDecCol()
Return the index of the center position Dec column |
int |
getRaCol()
Return the index of the center position RA column |
RowCoordinates |
getRowCoordinates()
Return an object storing the column indexes where RA and Dec are found |
Methods inherited from class jsky.catalog.TablePlotSymbol |
---|
getAngle, getAngle, getBg, getBoundingShape, getColIndexes, getColNames, getColNamesList, getColorName, getCond, getCond, getDescription, getDoubleProperty, getEquinox, getFg, getLabel, getLabel, getName, getPlotSymbolInfo, getRatio, getRatio, getShape, getShapeName, getSize, getSize, getStringProperty, getTable, getTypeName, getUnits, parsePlotSymbolInfo, setAngle, setBg, setBg, setColNames, setCond, setDecCol, setDescription, setEquinox, setFg, setFg, setLabel, setName, setRaCol, setRatio, setShape, setShapeName, setSize, setTable, setUnits |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SkycatPlotSymbol(SkycatTable table, String cols, String symbol, String expr)
table
- contains the table data and informationcols
- a Tcl list of column names that may be used in symbol expressionssymbol
- a Tcl list of the form {shape color ratio angle label condition}expr
- a Tcl list of the form {sizeExpr units}public SkycatPlotSymbol(SkycatTable table, String[] colNames, String shapeName, String fg, String bg, String ratio, String angle, String label, String cond, String size, String units)
table
- contains the table data and informationcolNames
- an array of column headings used as variablesshapeName
- the name of the plot symbol shapefg
- the name of the foreground color of the plot symbolbg
- the name of the background color of the plot symbolratio
- the x/y ratio expression (stretch)angle
- the angle expressionlabel
- the label expressioncond
- the condition expressionsize
- the symbol size expressionunits
- the units of the symbol sizeMethod Detail |
---|
public RowCoordinates getRowCoordinates()
getRowCoordinates
in class TablePlotSymbol
public int getRaCol()
getRaCol
in class TablePlotSymbol
public int getDecCol()
getDecCol
in class TablePlotSymbol
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |