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.JComponentgetComponent(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.voidsetValidGroups(String... validGroups)voidsetValidGroups(Collection<String> validGroups)
-
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:LiveWidgetVisibilityProviderProvide a list of groups which may view this widget. null indicates that there are no viewing restrictions on this widget.- Specified by:
getValidGroupsin interfaceLiveWidgetVisibilityProvider- Returns:
- the list of groups which may view this widget, null for no restrictions
-
setValidGroups
-
setValidGroups
-
deflate
Description copied from interface:DeflatableConvert this object into an Inflatable suitable for serialization.- Specified by:
deflatein 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:LiveWidgetGets the UI component.- Specified by:
getComponentin interfaceLiveWidget<LiveXYWidget>- Parameters:
dataPanel- data panelviewId- view idtitle- titleirisWidgetSupportObject- widget support objectlog- log- Returns:
- UI component
-