|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jvnet.lafwidget.tabbed.TabPagerManager.TabPagerPreviewCallback
public class TabPagerManager.TabPagerPreviewCallback
Implementation of the tab preview callback for the tab pager.
| Constructor Summary | |
|---|---|
TabPagerManager.TabPagerPreviewCallback(javax.swing.JWindow previewWindow,
javax.swing.JTabbedPane tabPane,
int tabIndex)
Creates a new tab preview callback for the tab pager. |
|
| Method Summary | |
|---|---|
void |
offer(javax.swing.JTabbedPane tabPane,
int tabIndex,
java.awt.image.BufferedImage componentSnap)
Offers the preview image (thumbnail) of a tab in the specified tabbed pane. |
void |
start(javax.swing.JTabbedPane tabPane,
int tabCount,
TabPreviewThread.TabPreviewInfo tabPreviewInfo)
Starts the current cycle of TabPreviewThread.TabPreviewCallback.offer(JTabbedPane, int, BufferedImage) calls. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TabPagerManager.TabPagerPreviewCallback(javax.swing.JWindow previewWindow,
javax.swing.JTabbedPane tabPane,
int tabIndex)
previewWindow - The associated preview window.tabPane - The associated tab preview control.tabIndex - Tab index.| Method Detail |
|---|
public void start(javax.swing.JTabbedPane tabPane,
int tabCount,
TabPreviewThread.TabPreviewInfo tabPreviewInfo)
TabPreviewThread.TabPreviewCallbackTabPreviewThread.TabPreviewCallback.offer(JTabbedPane, int, BufferedImage) calls. This can be
used by the implementing class to revalidate itself in case the tab
count in the specified tabbed pane has changed since the previous
cycle of TabPreviewThread.TabPreviewCallback.offer(JTabbedPane, int, BufferedImage) call.
start in interface TabPreviewThread.TabPreviewCallbacktabPane - Tabbed pane.tabCount - Tab count in the tabbed pane.tabPreviewInfo - Tab preview info. Can be changed in the implementation
code.
public void offer(javax.swing.JTabbedPane tabPane,
int tabIndex,
java.awt.image.BufferedImage componentSnap)
TabPreviewThread.TabPreviewCallback
offer in interface TabPreviewThread.TabPreviewCallbacktabPane - Tabbed pane.tabIndex - Tab index.componentSnap - Tab preview image.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||