Package com.illumon.iris.db.tables.utils
Class LiveXYWidget
java.lang.Object
com.illumon.iris.db.tables.utils.LiveXYWidget
- All Implemented Interfaces:
Deflatable<LiveXYWidget>
,LiveWidget<LiveXYWidget>
,LiveWidgetVisibilityProvider
public class LiveXYWidget extends Object implements LiveWidget<LiveXYWidget>, LiveWidgetVisibilityProvider
-
Constructor Summary
Constructors Constructor Description LiveXYWidget(Table table, String title, String xLabel, String yLabel, com.illumon.iris.db.tables.utils.XYChartType chartType, com.illumon.iris.db.tables.utils.SeriesDescription[] series, String tickerColumn, boolean labelCurrent, String categoricalColumn, int nbins, double xmin, double xmax)
-
Method Summary
Modifier and Type Method Description Inflatable<LiveXYWidget>
deflate(ExportedObjectClient client)
Convert this object into an Inflatable suitable for serialization.JComponent
getComponent(AsyncPanel dataPanel, String viewId, String title, Object irisWidgetSupportObject, com.fishlib.io.logger.Logger log)
Gets the UI component.String[]
getValidGroups()
Provide a list of groups which may view this widget.void
setValidGroups(String... validGroups)
void
setValidGroups(Collection<String> validGroups)
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
-
LiveXYWidget
public LiveXYWidget(Table table, String title, String xLabel, String yLabel, com.illumon.iris.db.tables.utils.XYChartType chartType, com.illumon.iris.db.tables.utils.SeriesDescription[] series, String tickerColumn, boolean labelCurrent, String categoricalColumn, int nbins, double xmin, double xmax)
-
-
Method Details
-
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
-
deflate
Description copied from interface:Deflatable
Convert this object into an Inflatable suitable for serialization.- Specified by:
deflate
in interfaceDeflatable<LiveXYWidget>
- Parameters:
client
- the ExportedObjectClient we are deflating for.- Returns:
- an Inflatable for serializing to the client
-
getComponent
public JComponent getComponent(AsyncPanel dataPanel, String viewId, String title, Object irisWidgetSupportObject, com.fishlib.io.logger.Logger log)Description copied from interface:LiveWidget
Gets the UI component.- Specified by:
getComponent
in interfaceLiveWidget<LiveXYWidget>
- Parameters:
dataPanel
- data panelviewId
- view idtitle
- titleirisWidgetSupportObject
- widget support objectlog
- log- Returns:
- UI component
-