public class XySeriesHelper extends java.util.TreeMap<java.lang.Float,XyValuePair>
XyDataSeries
.Constructor and Description |
---|
XySeriesHelper()
Instantiates a new XySeriesHelper.
|
XySeriesHelper(XyDataSeries xySeries)
Instantiates a new XySeriesHelper.
|
Modifier and Type | Method and Description |
---|---|
void |
addOrExchangeSeriesData(jade.util.leap.List listOfXySeriesValuePairs)
Adds or exchanges series data with the specified List of XyValuePairs.
|
void |
addOrExchangeSeriesData(XyDataSeries additionalXySeries)
Adds or exchanges series data with the data of the specified XyDataSeries.
|
XyDataSeries |
addSeriesData(jade.util.leap.List listOfXySeriesValuePairs)
Adds new series data to the current XyDataSeries, if the concrete data is new.
|
XyDataSeries |
addSeriesData(XyDataSeries additionalXySeries)
Adds new series data to the current XyDataSeries, if the concrete data is new.
|
XyDataSeries |
exchangeSeriesData(jade.util.leap.List listOfXySeriesValuePairs)
Exchanges series data, if the concrete x values are available and if duplicate
x values are forbidden.
|
XyDataSeries |
exchangeSeriesData(XyDataSeries additionalXySeries)
Exchanges series data, if the concrete x values are available and
if duplicate x values are forbidden.
|
java.util.Vector<XyValuePair> |
getAllValuePairsContaining(java.lang.Float xValueToSearch,
java.lang.Float yValueToSearch)
Returns all value pairs that contain the specified x and y value.
|
XyDataSeries |
getXySeries()
Gets the current XyDataSeries.
|
XyDataSeries |
getXySeriesCopy()
Returns a copy of the current XyDataSeries.
|
void |
removeSeriesData(jade.util.leap.List listOfXySeriesValuePairs)
Removes the series data specified by the xy stamps.
|
void |
removeSeriesData(XyDataSeries xyDataSeriesToRemove)
Removes the series data specified by the list of
XyValuePair . |
void |
setXySeries(XyDataSeries xySeries)
Sets the current XyDataSeries.
|
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
public XySeriesHelper()
public XySeriesHelper(XyDataSeries xySeries)
xySeries
- the current XyDataSeriespublic void setXySeries(XyDataSeries xySeries)
xySeries
- the new XyDataSeriespublic XyDataSeries getXySeries()
public java.util.Vector<XyValuePair> getAllValuePairsContaining(java.lang.Float xValueToSearch, java.lang.Float yValueToSearch)
xValueToSearch
- the x value to searchyValueToSearch
- the y value to searchXyValuePair
with the specified x and y valuespublic XyDataSeries getXySeriesCopy()
public XyDataSeries addSeriesData(XyDataSeries additionalXySeries)
XyValuePair
elements
will just be added. If duplicate x values are NOT allowed only XyValuePair
with new x values will be added.additionalXySeries
- the XySereis containing new datapublic XyDataSeries addSeriesData(jade.util.leap.List listOfXySeriesValuePairs)
XyValuePair
elements
will just be added. If duplicate x values are NOT allowed only XyValuePair
with new x values will be added.listOfXySeriesValuePairs
- the list of xy series value pairspublic void addOrExchangeSeriesData(XyDataSeries additionalXySeries)
additionalXySeries
- the additional xy seriespublic void addOrExchangeSeriesData(jade.util.leap.List listOfXySeriesValuePairs)
listOfXySeriesValuePairs
- the list of xy series value pairspublic XyDataSeries exchangeSeriesData(XyDataSeries additionalXySeries)
additionalXySeries
- the additional xy seriespublic XyDataSeries exchangeSeriesData(jade.util.leap.List listOfXySeriesValuePairs)
listOfXySeriesValuePairs
- the list of xy series value pairspublic void removeSeriesData(XyDataSeries xyDataSeriesToRemove)
XyValuePair
.xyDataSeriesToRemove
- the XyDataSeries that contains the value pairs to removepublic void removeSeriesData(jade.util.leap.List listOfXySeriesValuePairs)
listOfXySeriesValuePairs
- the list of XyValuePair