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:
-
Constructor Summary
ConstructorsConstructorDescriptionLiveTableMapSelector(TableMap tableMap) LiveTableMapSelector(TableMap tableMap, boolean includeComboBoxAndPreemptiveLabel) LiveTableMapSelector(TableMap tableMap, boolean includeComboBox, boolean includePreemptiveLabel) -
Method Summary
Modifier and TypeMethodDescriptiondeflate(ExportedObjectClient client) Convert this object into an Inflatable suitable for serialization.getComponent(AsyncPanel dataPanel, String viewId, Object view, String title, Object irisWidgetSupportObject, com.fishlib.io.logger.Logger log) Gets the UI component.String[]Provide a list of groups which may view this widget.static LiveWidgetvoidsetValidGroups(Collection<String> validGroups) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:DeflatableConvert this object into an Inflatable suitable for serialization.- Specified by:
deflatein 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:LiveWidgetGets the UI component.- Specified by:
getComponentin interfaceLiveWidget<LiveTableMapSelector>- Parameters:
dataPanel- data panelviewId- view idview- viewtitle- titleirisWidgetSupportObject- widget support objectlog- log- Returns:
- UI component
-
setValidGroups
-
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
-