public class DefaultTabPreviewPainter extends TabPreviewPainter
| Constructor | Description |
|---|---|
DefaultTabPreviewPainter() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
hasOverviewDialog(javax.swing.JTabbedPane tabPane) |
Checks whether the specified tabbed pane has an overview dialog.
|
boolean |
hasPreview(javax.swing.JTabbedPane tabPane,
int tabIndex) |
Checks whether the specified tab component is previewable.
|
boolean |
hasPreviewWindow(javax.swing.JTabbedPane tabPane,
int tabIndex) |
Checks whether the specified tabbed pane has a preview window for the
specified tab.
|
boolean |
isSensitiveToEvents(javax.swing.JTabbedPane tabPane,
int tabIndex) |
Checks whether the specified tab component is sensitive to events.
|
void |
previewTab(javax.swing.JTabbedPane tabPane,
int tabIndex,
java.awt.image.BufferedImage bufferedImage,
int x,
int y,
int w,
int h) |
Draws a tab preview on the specified graphics.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetModalOwner, getOverviewKind, getPreviewDialogScreenBounds, getPreviewWindowDimension, getPreviewWindowExtraDelay, getUpdateCycle, toDisposeOverviewOnFocusLoss, toUpdatePeriodicallypublic boolean hasPreview(javax.swing.JTabbedPane tabPane,
int tabIndex)
TabPreviewPainterhasPreview in class TabPreviewPaintertabPane - Tabbed pane.tabIndex - Tab index for the preview paint.true if the specified tab component is
previewable, false otherwise.public boolean isSensitiveToEvents(javax.swing.JTabbedPane tabPane,
int tabIndex)
TabPreviewPainterisSensitiveToEvents in class TabPreviewPaintertabPane - Tabbed pane.tabIndex - Tab index.true if the specified tab component is sensitive
to events, false otherwise.public void previewTab(javax.swing.JTabbedPane tabPane,
int tabIndex,
java.awt.image.BufferedImage bufferedImage,
int x,
int y,
int w,
int h)
TabPreviewPainterpreviewTab in class TabPreviewPaintertabPane - Tabbed pane.tabIndex - tabIndex Tab index for the preview paint.bufferedImage - Buffered image to draw the preview into.x - X coordinate of the preview area.y - Y coordinate of the preview area.w - Width of the preview area.h - Height of the preview area.public boolean hasPreviewWindow(javax.swing.JTabbedPane tabPane,
int tabIndex)
TabPreviewPainterhasPreviewWindow in class TabPreviewPaintertabPane - Tabbed pane.tabIndex - Tab index.true if the specified tabbed pane has a preview
window for the specified tab, false otherwise.public boolean hasOverviewDialog(javax.swing.JTabbedPane tabPane)
TabPreviewPainterhasOverviewDialog in class TabPreviewPaintertabPane - Tabbed pane.true if the specified tabbed pane has an overview
dialog, false otherwise.