Package hec.gfx2d
Interface G2dObject
- All Known Subinterfaces:
G2dDssObject
,G2dDssPairedData
,G2dDssTimeSeries
,HistogramDataSet
- All Known Implementing Classes:
BarGroupData
,ComplexSeasonalData
,DataObjectRating.TestObject
,DefaultG2dObject
,DssVueSimpleDSSTimeSeriesCollection
,G2dData
,G2dDataWrapper
,HistogramDataSetImpl
,LocalDSSData
,LocalDSSTimeSeriesCollection
,PairedDataHistogramDataSet
,PairedDataSet
,PairedValuesExtData
,ProfileDataG2dObject
,SimpleArray
,SimpleBarArray
,SimpleJTableBarData
,SimpleJTableData
,SimpleJTableSeasonalData
,SimpleJTableStepData
,SimpleLogArray
,SimplePairedValuesData
,SimpleSeasonalData
,TimeSeriesDataSet
,TimeSeriesDataSetBase
,TimeWindowPlotData
public interface G2dObject
Interface for all objects that can be displayed in a G2d viewport.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the extents of the object in world coordinatesint
double
return the default Y Axis Max valuedouble
return the default Y Axis Min valueint
return name and parameter name for matching up data to line stylesrma.util.lookup.Lookup
Return a lookup of capabilities that this G2dObject can do.getName()
Returns the name of the objectint
Returns the name of the x axisint
Returns the name of the x axisint
double[]
Returns the name of the y axisint
Returns the name of the y axisint
double[]
getYValues
(int curveNum) boolean
boolean
void
load()
Causes the object to load its data into memoryvoid
setDefaultMaxYValue
(double value) set the default Y Axis Max valuevoid
setDefaultMinYValue
(double value) set the default Y Axis Min valuevoid
setSwapXYValues
(boolean b) boolean
void
unload()
Causes the object to unload its data from memory
-
Field Details
-
RESET_DATA
- See Also:
-
UPDATE_DATA
- See Also:
-
-
Method Details
-
getName
String getName()Returns the name of the object -
getXAxisName
String getXAxisName()Returns the name of the x axis -
getYAxisName
String getYAxisName()Returns the name of the y axis -
getXAxisType
int getXAxisType()Returns the name of the x axis -
getYAxisType
int getYAxisType()Returns the name of the y axis -
load
void load()Causes the object to load its data into memory -
unload
void unload()Causes the object to unload its data from memory -
getBounds
WorldRect getBounds()Returns the extents of the object in world coordinates -
getUnitSystem
int getUnitSystem() -
getXParameterId
int getXParameterId() -
getYParameterId
int getYParameterId() -
getGmtOffset
int getGmtOffset() -
setDefaultMaxYValue
void setDefaultMaxYValue(double value) set the default Y Axis Max value -
setDefaultMinYValue
void setDefaultMinYValue(double value) set the default Y Axis Min value -
getDefaultMinYValue
double getDefaultMinYValue()return the default Y Axis Min value -
getDefaultMaxYValue
double getDefaultMaxYValue()return the default Y Axis Max value -
hasDefaultMaxYValue
boolean hasDefaultMaxYValue() -
hasDefaultMinYValue
boolean hasDefaultMinYValue() -
getLineStyleName
String getLineStyleName()return name and parameter name for matching up data to line styles -
getCurveCount
int getCurveCount() -
getXValues
double[] getXValues() -
getYValues
double[] getYValues(int curveNum) -
canSwapXYValues
boolean canSwapXYValues() -
swapXYValues
boolean swapXYValues() -
setSwapXYValues
void setSwapXYValues(boolean b) -
getLookup
rma.util.lookup.Lookup getLookup()Return a lookup of capabilities that this G2dObject can do. Users can add LookupListeners to the lookup in order to get notified when capabilities are inserted and removed from the lookup.- Returns:
-
getDataZoneId
- Returns:
-