|
SGT Home | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Base class for sgt datamodel rank information.
The SGTData class and its children are used by sgt
to determine the rank (point, line, grid) of the
data. Data values can be either double or
GeoDate, which extends Date. Missing
values are indicated by Double.NaN for type
double and by null or by
Long.MIN_VALUE milliseconds after (before) January 1,
1970 00:00:00 GMT for GeoDate.
SGTPoint,
SGTLine,
SGTGrid| Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
Add a PropertyChangeListener to the listener list. |
SGTData |
copy()
Create a shallow copy. |
java.lang.String |
getId()
Get the unique identifier. |
SGLabel |
getKeyTitle()
Get a title formatted for a Key. |
java.lang.String |
getTitle()
Get the title. |
SGTMetaData |
getXMetaData()
Returns the X SGTMetaData. |
SoTRange |
getXRange()
Returns the range of the X coordinates. |
SGTMetaData |
getYMetaData()
Returns the Y SGTMetaData. |
SoTRange |
getYRange()
Returns the range of the Y coordinates. |
boolean |
isXTime()
Returns true if the X coordinate is Time. |
boolean |
isYTime()
Returns true if the Y coordinate is Time. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)
Remove a PropertyChangeListener from the listener list. |
| Method Detail |
public java.lang.String getTitle()
public SGLabel getKeyTitle()
JPlotLayout will use this
if an explicit Key title is not given in the addData method.
SGLabel,
ColorKey,
LineKey,
PointCollectionKey,
VectorKeypublic java.lang.String getId()
Pane,
Layerpublic SGTData copy()
For example,
public SGTData copy() {
SGTData newData;
try {
newData = (SGTData)clone();
} catch (CloneNotSupportedException e) {
newData = null;
}
return newData;
}
Objectpublic boolean isXTime()
public boolean isYTime()
public SGTMetaData getXMetaData()
public SGTMetaData getYMetaData()
public SoTRange getXRange()
Double.NaN
as the start and end values for data of type double
and return GeoDate(Long.MIN_VALUE) for data of type
GeoDate.
GeoDate.isMissing()public SoTRange getYRange()
getXRange()public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
|
SGT Home | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||