Class TabOverviewDialog.TabPreviewMouseHandler

java.lang.Object
java.awt.event.MouseAdapter
org.pushingpixels.lafwidget.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.)
  • 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