Package com.illumon.iris.db.plot
Class AbstractSeriesInternal
java.lang.Object
com.illumon.iris.db.plot.AbstractSeriesInternal
- All Implemented Interfaces:
Series,SeriesInternal,Serializable
- Direct Known Subclasses:
AbstractDataSeries,AbstractMultiSeries,TransformedCategoryDataSeries,TransformedXYDataSeries
public abstract class AbstractSeriesInternal extends Object implements Series, SeriesInternal
Abstract implementation of the base series that all data series inherit from.
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected DataChangeListenerProxydataChangeListener -
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractSeriesInternal(AbstractSeriesInternal series, AxesImpl axes)protectedAbstractSeriesInternal(AxesImpl axes, int id, Comparable name) -
Method Summary
Modifier and Type Method Description voidaddSwappableTable(SwappableTable st)Adds a swappable table that drives this series.voidaddTableHandle(TableHandle h)Add a table that drives this series.voidaddTableMapHandle(TableMapHandle map)Add a table map that drives this series.AxesImplaxes()Gets the axes on which this data will be plotted.DataChangeListenerProxydataChangeListener()Gets the data change listener that listens for changes in this data series.Set<SwappableTable>getSwappableTables()Gets the swappable tables that drive this series.Set<TableHandle>getTableHandles()Gets all of the tables driving this series.Set<TableMapHandle>getTableMapHandles()Gets all of the table maps driving this series.intid()Gets the id for the data series.Comparablename()Gets the name of this data series.voidremoveTableHandle(TableHandle h)Removes a table that drives this series.
-
Field Details
-
Constructor Details
-
Method Details
-
axes
Description copied from interface:SeriesInternalGets the axes on which this data will be plotted.- Specified by:
axesin interfaceSeriesInternal- Returns:
- axes on which this data will be plotted
-
id
public int id()Description copied from interface:SeriesInternalGets the id for the data series.- Specified by:
idin interfaceSeriesInternal
-
name
Description copied from interface:SeriesInternalGets the name of this data series.- Specified by:
namein interfaceSeriesInternal- Returns:
- name of this data series
-
dataChangeListener
Description copied from interface:SeriesInternalGets the data change listener that listens for changes in this data series.- Specified by:
dataChangeListenerin interfaceSeriesInternal- Returns:
- data change listener
-
addTableHandle
Description copied from interface:SeriesInternalAdd a table that drives this series.- Specified by:
addTableHandlein interfaceSeriesInternal- Parameters:
h- table handle.
-
removeTableHandle
Description copied from interface:SeriesInternalRemoves a table that drives this series.- Specified by:
removeTableHandlein interfaceSeriesInternal- Parameters:
h- table handle.
-
getTableHandles
Description copied from interface:SeriesInternalGets all of the tables driving this series.- Specified by:
getTableHandlesin interfaceSeriesInternal- Returns:
- all of the tables driving this series.
-
addTableMapHandle
Description copied from interface:SeriesInternalAdd a table map that drives this series.- Specified by:
addTableMapHandlein interfaceSeriesInternal- Parameters:
map- table map.
-
getTableMapHandles
Description copied from interface:SeriesInternalGets all of the table maps driving this series.- Specified by:
getTableMapHandlesin interfaceSeriesInternal- Returns:
- all of the table maps driving this series.
-
addSwappableTable
Description copied from interface:SeriesInternalAdds a swappable table that drives this series.- Specified by:
addSwappableTablein interfaceSeriesInternal- Parameters:
st- swappable table
-
getSwappableTables
Description copied from interface:SeriesInternalGets the swappable tables that drive this series.- Specified by:
getSwappableTablesin interfaceSeriesInternal- Returns:
- swappable tables that drive this series.
-