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 TypeMethodDescriptionbooleanReturns the extents of the object in world coordinatesintdoublereturn the default Y Axis Max valuedoublereturn the default Y Axis Min valueintreturn name and parameter name for matching up data to line stylesrma.util.lookup.LookupReturn a lookup of capabilities that this G2dObject can do.getName()Returns the name of the objectintReturns the name of the x axisintReturns the name of the x axisintdouble[]Returns the name of the y axisintReturns the name of the y axisintdouble[]getYValues(int curveNum) booleanbooleanvoidload()Causes the object to load its data into memoryvoidsetDefaultMaxYValue(double value) set the default Y Axis Max valuevoidsetDefaultMinYValue(double value) set the default Y Axis Min valuevoidsetSwapXYValues(boolean b) booleanvoidunload()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:
-