|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SGTData
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 |
---|
java.lang.String getTitle()
SGLabel getKeyTitle()
JPlotLayout
will use this
if an explicit Key title is not given in the addData
method.
SGLabel
,
ColorKey
,
LineKey
,
PointCollectionKey
,
VectorKey
java.lang.String getId()
Pane
,
Layer
SGTData copy()
For example,
public SGTData copy() { SGTData newData; try { newData = (SGTData)clone(); } catch (CloneNotSupportedException e) { newData = null; } return newData; }
Object
boolean isXTime()
boolean isYTime()
SGTMetaData getXMetaData()
SGTMetaData getYMetaData()
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()
SoTRange getYRange()
getXRange()
void addPropertyChangeListener(java.beans.PropertyChangeListener l)
void removePropertyChangeListener(java.beans.PropertyChangeListener l)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |