public class SkycatPlotSymbol extends TablePlotSymbol
ARROW, CIRCLE, COLOR_NAMES, COLORS, COMPASS, CROSS, DEFAULT_DEC_COL, DEFAULT_EQUINOX, DEFAULT_RA_COL, DIAMOND, ELLIPSE, LINE, PLUS, SQUARE, SYMBOLS, TRIANGLE
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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
|
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
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 sizepublic RowCoordinates getRowCoordinates()
getRowCoordinates
in class TablePlotSymbol
public int getRaCol()
getRaCol
in class TablePlotSymbol
public int getDecCol()
getDecCol
in class TablePlotSymbol
Copyright © 2023 Central Laboratory of the Research Councils. All Rights Reserved.