Package hec.gfx2d.swing.charts.data
Class DefaultChartItemModel
java.lang.Object
hec.gfx2d.swing.charts.data.DefaultChartItemModel
- All Implemented Interfaces:
ChartItemModel
Copyright (C) 2017 Hydrologic Engineering Center,
United States Army Corps of Engineers, All Rights Reserved
HEC-Java NEXGEN
-
Constructor Details
-
DefaultChartItemModel
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceChartItemModel
- Returns:
- the id of this item's data
-
getValue
public double getValue()- Specified by:
getValue
in interfaceChartItemModel
- Returns:
- the value of the item at this snapshot
-
getMinValue
public double getMinValue()- Specified by:
getMinValue
in interfaceChartItemModel
- Returns:
- the minimum value of the item at this snapshot
-
getMaxValue
public double getMaxValue()- Specified by:
getMaxValue
in interfaceChartItemModel
- Returns:
- the maximum value of the item at this snapshot
-
getQuality
public int getQuality()- Specified by:
getQuality
in interfaceChartItemModel
- Returns:
- the quality of this item's values at this snapshot
-
getUnits
- Specified by:
getUnits
in interfaceChartItemModel
- Returns:
- the units of the item's values at this snapshot note that units "should" be the same across each item's snapshots, but not necessarily between different items on the same chart
-