Package com.illumon.iris.db.plot
Class FigureWidget
java.lang.Object
com.illumon.iris.db.plot.FigureImpl
com.illumon.iris.db.plot.FigureWidget
- All Implemented Interfaces:
Axes
,Axis
,BaseFigure
,Chart
,CategoryDataSeries
,CategoryErrorBarDataSeries
,DataSeries
,IntervalXYDataSeries
,MultiSeries
,OHLCDataSeries
,XYDataSeries
,XYDataSeriesFunction
,XYErrorBarDataSeries
,Figure
,Series
,Deflatable<FigureWidget>
,CloseableWidget
,ContextAwareLiveWidget<FigureWidget>
,FigureWidgetMarker
,LiveWidget<FigureWidget>
,LiveWidgetVisibilityProvider
,Serializable
public class FigureWidget extends FigureImpl implements ContextAwareLiveWidget<FigureWidget>, LiveWidgetVisibilityProvider, CloseableWidget, FigureWidgetMarker
Widget for displaying a figure.
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FigureWidget.Descriptor
-
Constructor Summary
Constructors Constructor Description FigureWidget(FigureImpl figure)
-
Method Summary
Modifier and Type Method Description Inflatable<FigureWidget>
deflate(ExportedObjectClient client)
Convert this object into an Inflatable suitable for serialization.JComponent
getComponent(AsyncPanel dataPanel, String viewId, Object view, String title, Object irisWidgetSupportObject, com.fishlib.io.logger.Logger log)
Gets the UI component.String
getName()
Gets the name of the Live Widget.QueryProcessorConnection
getProcessorConnection()
gets the processor connection.int
getSessionId()
Gets the session ID for console widgets.String[]
getValidGroups()
Provide a list of groups which may view this widget.void
onClose()
void
setName(String name)
Sets the name of the Live Widget.void
setProcessorConnection(QueryProcessorConnection processorConnection)
Sets the processor connection.void
setSessionId(int sessionId)
Sets the session ID for console widgets.void
setValidGroups(String... validGroups)
void
setValidGroups(Collection<String> validGroups)
void
waitForData(com.fishlib.io.logger.Logger log, BaseFigureImpl figure)
Methods inherited from class com.illumon.iris.db.plot.FigureImpl
axes, axes, axesRemoveSeries, axis, axisColor, axisColor, axisFormat, axisFormatPattern, axisLabel, axisLabelFont, axisLabelFont, businessTime, businessTime, businessTime, catErrorBar, catErrorBar, catErrorBar, catErrorBar, catErrorBar, catErrorBar, catErrorBar, catErrorBar, catErrorBar, catErrorBar, catErrorBar, catErrorBar, catErrorBar, catErrorBar, catErrorBar, catErrorBar, catErrorBar, catErrorBar, catErrorBarBy, catErrorBarBy, catHistPlot, catHistPlot, catHistPlot, catHistPlot, catHistPlot, catHistPlot, catHistPlot, catHistPlot, catPlot, catPlot, catPlot, catPlot, catPlot, catPlot, catPlot, catPlot, catPlot, catPlot, catPlot, catPlot, catPlot, catPlot, catPlot, catPlot, catPlot, catPlot, catPlot, catPlot, catPlot, catPlotBy, catPlotBy, chart, chart, chartRemoveSeries, chartTitle, chartTitle, chartTitle, chartTitle, chartTitle, chartTitle, chartTitle, chartTitleColor, chartTitleColor, chartTitleFont, chartTitleFont, colSpan, errorBarColor, errorBarColor, errorBarColor, errorBarColor, errorBarColor, errorBarColor, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarX, errorBarXBy, errorBarXBy, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXY, errorBarXYBy, errorBarXYBy, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarY, errorBarYBy, errorBarYBy, figureRemoveSeries, figureTitle, figureTitleColor, figureTitleColor, figureTitleFont, figureTitleFont, funcNPoints, funcRange, funcRange, getFigure, gradientVisible, gradientVisible, gridLinesVisible, group, group, histPlot, histPlot, histPlot, histPlot, histPlot, histPlot, histPlot, histPlot, histPlot, histPlot, histPlot, histPlot, histPlot, histPlot, histPlot, histPlot, histPlot, histPlot, histPlot, invert, invert, legendColor, legendColor, legendFont, legendFont, legendVisible, lineColor, lineColor, lineColor, lineColor, lineColor, lineColor, lineStyle, lineStyle, linesVisible, linesVisible, log, max, max, maxRowsInTitle, min, min, minorTicks, minorTicksVisible, newAxes, newAxes, newAxes, newAxes, newChart, newChart, newChart, ohlcPlot, ohlcPlot, ohlcPlot, ohlcPlot, ohlcPlot, ohlcPlot, ohlcPlot, ohlcPlot, ohlcPlot, ohlcPlot, ohlcPlot, ohlcPlot, ohlcPlot, ohlcPlot, ohlcPlot, ohlcPlot, ohlcPlot, ohlcPlotBy, ohlcPlotBy, piePercentLabelFormat, piePercentLabelFormat, piePlot, piePlot, piePlot, piePlot, piePlot, piePlot, piePlot, piePlot, piePlot, piePlot, piePlot, piePlot, piePlot, piePlot, piePlot, piePlot, piePlot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plot, plotBy, plotBy, plotOrientation, plotStyle, plotStyle, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColorByY, pointColorByY, pointColorByY, pointColorByY, pointColorByY, pointColorByY, pointColorInteger, pointColorInteger, pointColorInteger, pointColorInteger, pointColorInteger, pointColorInteger, pointColorInteger, pointColorInteger, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabelFormat, pointLabelFormat, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointsVisible, pointsVisible, range, removeChart, removeChart, rowSpan, save, save, save, save, series, series, seriesColor, seriesColor, seriesColor, seriesColor, seriesColor, seriesColor, seriesNamingFunction, seriesNamingFunction, show, span, theme, theme, tickLabelAngle, ticks, ticks, ticksFont, ticksFont, ticksVisible, toolTipPattern, toolTipPattern, transform, twin, twin, twin, twin, twinX, twinX, twinY, twinY, updateInterval, xAxis, xBusinessTime, xBusinessTime, xBusinessTime, xColor, xColor, xFormat, xFormatPattern, xGridLinesVisible, xInvert, xInvert, xLabel, xLabelFont, xLabelFont, xLog, xMax, xMax, xMin, xMin, xMinorTicks, xMinorTicksVisible, xRange, xTickLabelAngle, xTicks, xTicks, xTicksFont, xTicksFont, xTicksVisible, xToolTipPattern, xToolTipPattern, xTransform, yAxis, yBusinessTime, yBusinessTime, yBusinessTime, yColor, yColor, yFormat, yFormatPattern, yGridLinesVisible, yInvert, yInvert, yLabel, yLabelFont, yLabelFont, yLog, yMax, yMax, yMin, yMin, yMinorTicks, yMinorTicksVisible, yRange, yTickLabelAngle, yTicks, yTicks, yTicksFont, yTicksFont, yTicksVisible, yToolTipPattern, yToolTipPattern, yTransform
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.tables.utils.LiveWidget
getComponent, updateTelemetryInfo
-
Constructor Details
-
Method Details
-
deflate
Description copied from interface:Deflatable
Convert this object into an Inflatable suitable for serialization.- Specified by:
deflate
in interfaceDeflatable<FigureWidget>
- Parameters:
client
- the ExportedObjectClient we are deflating for.- Returns:
- an Inflatable for serializing to the client
-
getComponent
public JComponent getComponent(AsyncPanel dataPanel, String viewId, Object view, String title, Object irisWidgetSupportObject, com.fishlib.io.logger.Logger log)Description copied from interface:LiveWidget
Gets the UI component.- Specified by:
getComponent
in interfaceLiveWidget<FigureWidget>
- Parameters:
dataPanel
- data panelviewId
- view idview
- viewtitle
- titleirisWidgetSupportObject
- widget support objectlog
- log- Returns:
- UI component
-
waitForData
-
getValidGroups
Description copied from interface:LiveWidgetVisibilityProvider
Provide a list of groups which may view this widget. null indicates that there are no viewing restrictions on this widget.- Specified by:
getValidGroups
in interfaceLiveWidgetVisibilityProvider
- Returns:
- the list of groups which may view this widget, null for no restrictions
-
setValidGroups
-
setValidGroups
-
onClose
public void onClose()- Specified by:
onClose
in interfaceCloseableWidget
-
setName
Description copied from interface:ContextAwareLiveWidget
Sets the name of the Live Widget.- Specified by:
setName
in interfaceContextAwareLiveWidget<FigureWidget>
- Parameters:
name
- the name of the Live Widget
-
getName
Description copied from interface:ContextAwareLiveWidget
Gets the name of the Live Widget.- Specified by:
getName
in interfaceContextAwareLiveWidget<FigureWidget>
- Returns:
- the name of the Live Widget
-
setProcessorConnection
Description copied from interface:ContextAwareLiveWidget
Sets the processor connection.- Specified by:
setProcessorConnection
in interfaceContextAwareLiveWidget<FigureWidget>
- Parameters:
processorConnection
- the processor connection
-
getProcessorConnection
Description copied from interface:ContextAwareLiveWidget
gets the processor connection.- Specified by:
getProcessorConnection
in interfaceContextAwareLiveWidget<FigureWidget>
- Returns:
- the processor connection
-
setSessionId
public void setSessionId(int sessionId)Description copied from interface:ContextAwareLiveWidget
Sets the session ID for console widgets.- Specified by:
setSessionId
in interfaceContextAwareLiveWidget<FigureWidget>
- Parameters:
sessionId
- the session ID
-
getSessionId
public int getSessionId()Description copied from interface:ContextAwareLiveWidget
Gets the session ID for console widgets.- Specified by:
getSessionId
in interfaceContextAwareLiveWidget<FigureWidget>
- Returns:
- the session ID
-