Class TabPreviewThread.TabPreviewInfo
java.lang.Object
org.pushingpixels.lafwidget.utils.DeltaQueue.Deltable
org.pushingpixels.lafwidget.tabbed.TabPreviewThread.TabPreviewInfo
- Enclosing class:
TabPreviewThread
Information for previewing a tabbed pane.
-
Field Summary
FieldsModifier and TypeFieldDescriptionPoints to the preview initiator.Callback for passing the preview thumbnail once it is computed.int
IftoPreviewAllTabs
isfalse
, contains the index of the tab to be previewed.Tabbed pane.boolean
Indicates whether all tabs in thetabPane
should be previewed.Fields inherited from class org.pushingpixels.lafwidget.utils.DeltaQueue.Deltable
delta
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
void
setPreviewHeight
(int previewHeight) void
setPreviewWidth
(int previewWidth) Methods inherited from class org.pushingpixels.lafwidget.utils.DeltaQueue.Deltable
decrementDelta, getDelta, incrementDelta, setDelta
-
Field Details
-
tabPane
Tabbed pane. -
previewCallback
Callback for passing the preview thumbnail once it is computed. -
toPreviewAllTabs
public boolean toPreviewAllTabsIndicates whether all tabs in thetabPane
should be previewed. -
tabIndexToPreview
public int tabIndexToPreviewIftoPreviewAllTabs
isfalse
, contains the index of the tab to be previewed. -
initiator
Points to the preview initiator.
-
-
Constructor Details
-
TabPreviewInfo
public TabPreviewInfo()
-
-
Method Details
-
setPreviewWidth
public void setPreviewWidth(int previewWidth) -
getPreviewWidth
public int getPreviewWidth() -
setPreviewHeight
public void setPreviewHeight(int previewHeight) -
getPreviewHeight
public int getPreviewHeight()
-