|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcds.aladin.Obj
cds.aladin.Position
cds.aladin.Source
public class Source
Objet graphique correspondant a une source d'un catalogue
Field Summary |
---|
Fields inherited from class cds.aladin.Obj |
---|
CIRCLE, CIRCLES, CROSS, dej, DOT, id, OVAL, PLUS, POINT, raj, RHOMB, SQUARE, TRIANGLE |
Method Summary | |
---|---|
int |
compare(java.lang.Object a1,
java.lang.Object b1)
|
java.lang.String[] |
getNames()
Retourne la liste des noms de chaque valeur |
java.lang.String |
getObjType()
Retourne le type d'objet |
int |
getSize()
Return the number of columns associated to this object |
java.lang.String[] |
getUCDs()
Retourne la liste des UCDs pour chaque valeur |
java.lang.String[] |
getUnits()
Retourne la liste des unités de chaque valeur |
java.lang.String[] |
getValues()
Retourne un tableau de chaines contenant les valeurs de chaque champ |
int |
indexOf(java.lang.String key)
Return the index of a column (Source object). |
void |
setColumn(int index,
java.lang.String name,
java.lang.String unit,
java.lang.String ucd,
int width)
Set metadata for a specifical column (name, unit, ucd, display width). |
void |
setColumn(int index,
java.lang.String name,
java.lang.String datatype,
java.lang.String unit,
java.lang.String ucd,
int width)
|
void |
setIdxFootprint(int idxFootprint)
|
void |
setShape(int shape)
Set the drawing shape |
boolean |
setValue(int index,
java.lang.String value)
Modify the value of the specifical column |
Methods inherited from class cds.aladin.Obj |
---|
getDistance, getRadius, getSexa, isSelected, setSelected |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
---|
equals |
Method Detail |
---|
public java.lang.String getObjType()
getObjType
in class Obj
public java.lang.String[] getValues()
getValues
in class Obj
public boolean setValue(int index, java.lang.String value)
setValue
in class Obj
index
- column index eventually greater than the current dimensionvalue
- new value
public void setShape(int shape)
setShape
in class Obj
sourceType
- Obj.OVAL, SQUARE, CIRCLE, RHOMB, PLUS, CROSS, TRIANGLE, CIRCLES, POINT, DOTpublic void setColumn(int index, java.lang.String name, java.lang.String unit, java.lang.String ucd, int width)
setColumn
in class Obj
index
- number of column (0 is the first one)name
- new name or null for no modificationdatatype
- new datatype or null for no modificationunit
- new unit or nullucd
- new ucd or nullwidth
- new width or -1. 0 to use the default display width.public void setColumn(int index, java.lang.String name, java.lang.String datatype, java.lang.String unit, java.lang.String ucd, int width)
public int indexOf(java.lang.String key)
indexOf
in class Obj
key
- name or ucd to find
public int getSize()
getSize
in class Obj
public java.lang.String[] getNames()
getNames
in class Obj
public java.lang.String[] getUnits()
getUnits
in class Obj
public java.lang.String[] getUCDs()
getUCDs
in class Obj
public void setIdxFootprint(int idxFootprint)
idxFootprint
- valeur à donner à l'index du footprint associépublic int compare(java.lang.Object a1, java.lang.Object b1)
compare
in interface java.util.Comparator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |