Class OHLCDataSeriesSwappableTableArray
java.lang.Object
com.illumon.iris.db.plot.AbstractSeriesInternal
com.illumon.iris.db.plot.datasets.AbstractDataSeries
com.illumon.iris.db.plot.datasets.xy.AbstractXYDataSeries
com.illumon.iris.db.plot.datasets.ohlc.OHLCDataSeriesArray
com.illumon.iris.db.plot.datasets.ohlc.OHLCDataSeriesSwappableTableArray
- All Implemented Interfaces:
DataSeries
,DataSeriesInternal
,OHLCDataSeries
,OHLCDataSeriesInternal
,ValidatingDataSeries
,XYDataSeries
,XYDataSeriesInternal
,PlotExceptionCause
,Series
,SeriesInternal
,TableSnapshotSeries
,SwappableTable.LocalTableUpdateListener
,TableSnapshotChangeListener
,Serializable
public class OHLCDataSeriesSwappableTableArray extends OHLCDataSeriesArray implements SwappableTable.LocalTableUpdateListener, TableSnapshotSeries
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description OHLCDataSeriesSwappableTableArray(AxesImpl axes, int id, Comparable name, SwappableTable swappableTable, String timeCol, String openCol, String highCol, String lowCol, String closeCol)
-
Method Summary
Modifier and Type Method Description OHLCDataSeriesSwappableTableArray
copy(AxesImpl axes)
Create a copy of the series on a different set of axes.OHLCDataSeriesArray
createSnapshot()
Live data sets must override this implementation.void
onClose()
Series shut down after the plot is closed.void
onLocalTableUpdate(Table localTable)
Updates this listener with the new table.Methods inherited from class com.illumon.iris.db.plot.datasets.ohlc.OHLCDataSeriesArray
getClose, getClose, getHigh, getHigh, getLow, getLow, getOpen, getOpen, getTime, getX, getXRange, getY, getYRange, size
Methods inherited from class com.illumon.iris.db.plot.datasets.xy.AbstractXYDataSeries
colorsSetSpecific, errorBarColor, errorBarColor, errorBarColor, getPointColor, getPointLabel, getPointShape, getPointSize, getSeriesColor, gradientVisible, lineColor, lineColor, lineColor, lineStyle, linesVisible, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColorByY, pointColorByY, pointColorInteger, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabelFormat, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointsVisible, seriesColor, seriesColor, seriesColor, snapshotModifiers, toolTipPattern, validate, xToolTipPattern, yToolTipPattern
Methods inherited from class com.illumon.iris.db.plot.datasets.AbstractDataSeries
chart, getErrorBarColor, getGradientVisible, getLineColor, getLineStyle, getLinesVisible, getPointLabelFormat, getPointsVisible, getXToolTipPattern, getYToolTipPattern, setErrorBarColor, setErrorBarColor, setErrorBarColor, setGradientVisible, setLineColor, setLineColor, setLineColor, setLineStyle, setLinesVisible, setPointLabelFormat, setPointsVisible, setXToolTipPattern, setYToolTipPattern
Methods inherited from class com.illumon.iris.db.plot.AbstractSeriesInternal
addSwappableTable, addTableHandle, addTableMapHandle, axes, dataChangeListener, getSwappableTables, getTableHandles, getTableMapHandles, id, name, removeTableHandle
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.illumon.iris.db.plot.datasets.DataSeries
errorBarColor, errorBarColor, errorBarColor, gradientVisible, lineColor, lineColor, lineColor, lineStyle, linesVisible, pointColor, pointColor, pointColor, pointColorByY, pointColorByY, pointLabel, pointLabelFormat, pointShape, pointShape, pointSize, pointSize, pointSize, pointSize, pointsVisible, seriesColor, seriesColor, seriesColor, toolTipPattern, xToolTipPattern, yToolTipPattern
Methods inherited from interface com.illumon.iris.db.plot.datasets.DataSeriesInternal
axes, chart, getErrorBarColor, getGradientVisible, getLineColor, getLineStyle, getLinesVisible, getPlotInfo, getPointLabelFormat, getPointsVisible, getSeriesColor, getXToolTipPattern, getYToolTipPattern, id, name
Methods inherited from interface com.illumon.iris.db.plot.SeriesInternal
addSwappableTable, addTableHandle, addTableMapHandle, dataChangeListener, getSwappableTables, getTableHandles, getTableMapHandles, onInflate, removeTableHandle
Methods inherited from interface com.illumon.iris.db.plot.util.tables.SwappableTable.LocalTableUpdateListener
onInitialSnapshot
Methods inherited from interface com.illumon.iris.db.plot.TableSnapshotSeries
notifyTableSnapshotChanged
Methods inherited from interface com.illumon.iris.db.plot.datasets.xy.XYDataSeries
pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColorInteger, pointLabel, pointLabel, pointLabel, pointLabel, pointShape, pointShape, pointShape, pointShape, pointShape, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize
Methods inherited from interface com.illumon.iris.db.plot.datasets.xy.XYDataSeriesInternal
drawXError, drawYError, getEndX, getEndY, getPointColor, getPointLabel, getPointShape, getPointSize, getStartX, getStartY, sort
-
Constructor Details
-
OHLCDataSeriesSwappableTableArray
public OHLCDataSeriesSwappableTableArray(AxesImpl axes, int id, Comparable name, @NotNull SwappableTable swappableTable, String timeCol, String openCol, String highCol, String lowCol, String closeCol)
-
-
Method Details
-
createSnapshot
Description copied from class:OHLCDataSeriesArray
Live data sets must override this implementation. See OHLCDataSeriesTableArray for an example.- Specified by:
createSnapshot
in interfaceDataSeriesInternal
- Specified by:
createSnapshot
in interfaceOHLCDataSeriesInternal
- Specified by:
createSnapshot
in interfaceXYDataSeriesInternal
- Overrides:
createSnapshot
in classOHLCDataSeriesArray
-
copy
Description copied from interface:SeriesInternal
Create a copy of the series on a different set of axes.- Specified by:
copy
in interfaceDataSeriesInternal
- Specified by:
copy
in interfaceOHLCDataSeriesInternal
- Specified by:
copy
in interfaceSeriesInternal
- Specified by:
copy
in interfaceXYDataSeriesInternal
- Overrides:
copy
in classOHLCDataSeriesArray
- Parameters:
axes
- new axes.- Returns:
- copy of the series on a different set of axes.
-
onLocalTableUpdate
Description copied from interface:SwappableTable.LocalTableUpdateListener
Updates this listener with the new table.- Specified by:
onLocalTableUpdate
in interfaceSwappableTable.LocalTableUpdateListener
- Parameters:
localTable
- table
-
onClose
public void onClose()Description copied from interface:SeriesInternal
Series shut down after the plot is closed.- Specified by:
onClose
in interfaceSeriesInternal
- Overrides:
onClose
in classOHLCDataSeriesArray
-