Package com.illumon.iris.console.utils
Class LiveTableMapSelector
java.lang.Object
com.illumon.iris.console.utils.LiveTableMapSelector
- All Implemented Interfaces:
Deflatable<LiveTableMapSelector>
,LiveWidget<LiveTableMapSelector>
,LiveWidgetVisibilityProvider
,Serializable
@ScriptApi public class LiveTableMapSelector extends Object implements LiveWidget<LiveTableMapSelector>, Serializable, LiveWidgetVisibilityProvider
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description LiveTableMapSelector(TableMap tableMap)
LiveTableMapSelector(TableMap tableMap, boolean includeComboBoxAndPreemptiveLabel)
LiveTableMapSelector(TableMap tableMap, boolean includeComboBox, boolean includePreemptiveLabel)
-
Method Summary
Modifier and Type Method Description Inflatable<LiveTableMapSelector>
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[]
getValidGroups()
Provide a list of groups which may view this widget.static LiveWidget
getWidget(TableMap tableMap)
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
-
LiveTableMapSelector
-
LiveTableMapSelector
@ScriptApi public LiveTableMapSelector(TableMap tableMap, boolean includeComboBoxAndPreemptiveLabel) -
LiveTableMapSelector
@ScriptApi public LiveTableMapSelector(TableMap tableMap, boolean includeComboBox, boolean includePreemptiveLabel)
-
-
Method Details
-
deflate
Description copied from interface:Deflatable
Convert this object into an Inflatable suitable for serialization.- Specified by:
deflate
in interfaceDeflatable<LiveTableMapSelector>
- Parameters:
client
- the ExportedObjectClient we are deflating for.- Returns:
- an Inflatable for serializing to the client
-
getWidget
-
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<LiveTableMapSelector>
- Parameters:
dataPanel
- data panelviewId
- view idview
- viewtitle
- titleirisWidgetSupportObject
- widget support objectlog
- log- Returns:
- UI component
-
setValidGroups
-
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
-