Package com.illumon.iris.db.tables.utils
Interface ContextAwareLiveWidget<TYPE>
- Type Parameters:
TYPE
-
- All Superinterfaces:
Deflatable<TYPE>
,LiveWidget<TYPE>
- All Known Implementing Classes:
FigureWidget
,LiveOneClickTable
,LivePivotWidget
,PandasDataFrameWidget
public interface ContextAwareLiveWidget<TYPE> extends LiveWidget<TYPE>
Interface for Live Widgets that are context aware.
-
Method Summary
Modifier and Type Method Description String
getName()
Gets the name of the Live Widget.QueryProcessorConnection
getProcessorConnection()
gets the processor connection.int
getSessionId()
Gets the session ID for console widgets.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.Methods inherited from interface com.illumon.iris.db.tables.utils.LiveWidget
getComponent, getComponent, updateTelemetryInfo
-
Method Details
-
setName
Sets the name of the Live Widget.- Parameters:
name
- the name of the Live Widget
-
getName
String getName()Gets the name of the Live Widget.- Returns:
- the name of the Live Widget
-
setProcessorConnection
Sets the processor connection.- Parameters:
processorConnection
- the processor connection
-
getProcessorConnection
QueryProcessorConnection getProcessorConnection()gets the processor connection.- Returns:
- the processor connection
-
setSessionId
void setSessionId(int sessionId)Sets the session ID for console widgets.- Parameters:
sessionId
- the session ID
-
getSessionId
int getSessionId()Gets the session ID for console widgets.- Returns:
- the session ID
-