Class MultiViewWidgetPanel
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
io.deephaven.multiviewwidget.ui.panels.MultiViewWidgetPanel
- All Implemented Interfaces:
OneClickListener,Workspace,FilterPanelListener,WidgetContext,ImageObserver,MenuContainer,Serializable,Accessible
public class MultiViewWidgetPanel
extends JPanel
implements WidgetContext, FilterPanelListener, OneClickListener, Workspace
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanelNested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponentNested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainerNested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategyNested classes/interfaces inherited from interface com.illumon.iris.gui.util.oneclick.OneClickListener
OneClickListener.OneClickUpdateType -
Field Summary
Fields inherited from class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWFields inherited from class java.awt.Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTFields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH -
Constructor Summary
ConstructorsConstructorDescriptionMultiViewWidgetPanel(@NotNull com.fishlib.io.logger.Logger log, @NotNull IrisWidgetSupport support, @NotNull IrisView view, @NotNull QueryProcessorConnection connection, @NotNull MultiViewLiveWidget queryDetails, @NotNull Collection<FilterDescriptor<?>> filterDescriptors, @NotNull Map<String, ViewTab> viewTabs, boolean hideGlobalFilters) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddOneClickListener(AsyncPanel dataPanel) voidRequests that the one click listener clear all of its filters.voidGet the currently selected tab of the widget.Get theQueryProcessorConnectionthis widget belongs to.@NotNull Map<String,SelectFilter> Get theScheduledExecutorServiceto use for scheduling off-thread work.org.jdom2.Elementcom.fishlib.io.logger.LoggergetLog()getNameForLinking(ViewTab viewTab) intgetTelemetryInfo(String viewTabName) getView()Get theIrisViewthis widget belongs to.Get theMultiViewLiveWidgetinstance.org.jdom2.ElementSerialize the class into an element to be stored in the workspacevoidhandleOneClickItem(String column, String item, OneClickListener.OneClickUpdateType type) voidhandleOneClickList(String column, OneClickList list, OneClickListener.OneClickUpdateType type) com.fishlib.io.log.LogEntrylog(com.fishlib.io.log.LogLevel level) voidvoidrequestChangeTab(@NotNull String tabName, @NotNull Map<String, Object> filtersToApply) voidsetFilterWorkspaceInfo(org.jdom2.Element workspaceInfo) voidsetWorkspaceInfo(org.jdom2.Element workspaceInfo) Restore the class to the state defined by the data persisted in workspaceInfoMethods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIMethods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateMethods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeMethods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.deephaven.multiviewwidget.ui.util.WidgetContext
requestChangeTabMethods inherited from interface com.illumon.iris.gui.workspace.Workspace
isGlobalSetting
-
Constructor Details
-
MultiViewWidgetPanel
public MultiViewWidgetPanel(@NotNull @NotNull com.fishlib.io.logger.Logger log, @NotNull @NotNull IrisWidgetSupport support, @NotNull @NotNull IrisView view, @NotNull @NotNull QueryProcessorConnection connection, @NotNull @NotNull MultiViewLiveWidget queryDetails, @NotNull @NotNull Collection<FilterDescriptor<?>> filterDescriptors, @NotNull @NotNull Map<String, ViewTab> viewTabs, boolean hideGlobalFilters)
-
-
Method Details
-
getExecutor
Description copied from interface:WidgetContextGet theScheduledExecutorServiceto use for scheduling off-thread work.- Specified by:
getExecutorin interfaceWidgetContext- Returns:
- the service.
-
getWidget
Description copied from interface:WidgetContextGet theMultiViewLiveWidgetinstance.- Specified by:
getWidgetin interfaceWidgetContext- Returns:
- the instance.
-
getView
Description copied from interface:WidgetContextGet theIrisViewthis widget belongs to.- Specified by:
getViewin interfaceWidgetContext- Returns:
- the
IrisView
-
getConnection
Description copied from interface:WidgetContextGet theQueryProcessorConnectionthis widget belongs to.- Specified by:
getConnectionin interfaceWidgetContext- Returns:
- the
QueryProcessorConnectionfor this widget.
-
getQueryVarName
- Specified by:
getQueryVarNamein interfaceWidgetContext
-
getSessionId
public int getSessionId()- Specified by:
getSessionIdin interfaceWidgetContext
-
onFiltersChanged
public void onFiltersChanged()- Specified by:
onFiltersChangedin interfaceFilterPanelListener
-
getCurrentFiltersRaw
- Specified by:
getCurrentFiltersRawin interfaceWidgetContext
-
getCurrentFilters
- Specified by:
getCurrentFiltersin interfaceWidgetContext
-
clearCurrentFilters
public void clearCurrentFilters()- Specified by:
clearCurrentFiltersin interfaceWidgetContext
-
getLog
public com.fishlib.io.logger.Logger getLog()- Specified by:
getLogin interfaceWidgetContext
-
getSupport
- Specified by:
getSupportin interfaceWidgetContext
-
log
public com.fishlib.io.log.LogEntry log(com.fishlib.io.log.LogLevel level) - Specified by:
login interfaceWidgetContext
-
getFilterWorkspaceInfo
public org.jdom2.Element getFilterWorkspaceInfo()- Specified by:
getFilterWorkspaceInfoin interfaceWidgetContext
-
setFilterWorkspaceInfo
public void setFilterWorkspaceInfo(org.jdom2.Element workspaceInfo) - Specified by:
setFilterWorkspaceInfoin interfaceWidgetContext
-
requestChangeTab
public void requestChangeTab(@NotNull @NotNull String tabName, @NotNull @NotNull Map<String, Object> filtersToApply) - Specified by:
requestChangeTabin interfaceWidgetContext
-
getActiveTab
Description copied from interface:WidgetContextGet the currently selected tab of the widget.- Specified by:
getActiveTabin interfaceWidgetContext- Returns:
-
getNameForLinking
- Specified by:
getNameForLinkingin interfaceWidgetContext
-
getTelemetryInfo
- Specified by:
getTelemetryInfoin interfaceWidgetContext
-
getWorkspaceInfo
public org.jdom2.Element getWorkspaceInfo()Description copied from interface:WorkspaceSerialize the class into an element to be stored in the workspace- Specified by:
getWorkspaceInfoin interfaceWorkspace- Returns:
- An
Elementcontaining the data to persist.
-
setWorkspaceInfo
public void setWorkspaceInfo(org.jdom2.Element workspaceInfo) Description copied from interface:WorkspaceRestore the class to the state defined by the data persisted in workspaceInfo- Specified by:
setWorkspaceInfoin interfaceWorkspace- Parameters:
workspaceInfo- AnElementcontaining the persisted state.
-
addOneClickListener
-
handleOneClickItem
public void handleOneClickItem(String column, String item, OneClickListener.OneClickUpdateType type) - Specified by:
handleOneClickItemin interfaceOneClickListener
-
handleOneClickList
public void handleOneClickList(String column, OneClickList list, OneClickListener.OneClickUpdateType type) - Specified by:
handleOneClickListin interfaceOneClickListener
-
clearAllFilters
public void clearAllFilters()Description copied from interface:OneClickListenerRequests that the one click listener clear all of its filters.- Specified by:
clearAllFiltersin interfaceOneClickListener
-
$$$getRootComponent$$$
- Noinspection:
- ALL
-