Class TabOverviewDialog.TabPreviewMouseHandler

java.lang.Object
java.awt.event.MouseAdapter
org.pushingpixels.radiance.theming.extras.internal.tabbed.TabOverviewDialog.TabPreviewMouseHandler
All Implemented Interfaces:
MouseListener, MouseMotionListener, MouseWheelListener, EventListener
Enclosing class:
TabOverviewDialog

protected class TabOverviewDialog.TabPreviewMouseHandler extends MouseAdapter
Handles mouse events on the tab overview dialog (such as highlighting the currently rolled-over tab preview, closing the overview when a tab preview is clicked, tooltips etc.)
  • Field Details

    • index

      private int index
      Tab index.
    • previewControl

      private JComponent previewControl
      Tab preview control.
    • useDoubleClick

      private boolean useDoubleClick
      If true, the preview uses double click to select the tab and dismiss the tab overview dialog.
    • hasRolloverBorderEffect

      private boolean hasRolloverBorderEffect
      If true, the tab preview controls have rollover effects on borders.
  • Constructor Details

    • TabPreviewMouseHandler

      public TabPreviewMouseHandler(int index, JComponent previewControl, boolean hasRolloverBorderEffect, boolean useDoubleClick)
      Creates the mouse handler for a single tab preview control.
      Parameters:
      index - Tab index.
      previewControl - Tab preview control.
      hasRolloverBorderEffect - If true, the preview uses double click to select the tab and dismiss the tab overview dialog.
      useDoubleClick - If true, the tab preview controls have rollover effects on borders.
  • Method Details