org.jvnet.lafwidget.tabbed
Class TabPreviewThread.TabPreviewInfo

java.lang.Object
  extended by org.jvnet.lafwidget.utils.DeltaQueue.Deltable
      extended by org.jvnet.lafwidget.tabbed.TabPreviewThread.TabPreviewInfo
Enclosing class:
TabPreviewThread

public static class TabPreviewThread.TabPreviewInfo
extends DeltaQueue.Deltable

Information for previewing a tabbed pane.

Author:
Kirill Grouchnikov

Field Summary
 java.lang.Object initiator
          Points to the preview initiator.
 TabPreviewThread.TabPreviewCallback previewCallback
          Callback for passing the preview thumbnail once it is computed.
 int previewHeight
          Height of the preview thumbnail.
 int previewWidth
          Width of the preview thumbnail.
 int tabIndexToPreview
          If toPreviewAllTabs is false, contains the index of the tab to be previewed.
 javax.swing.JTabbedPane tabPane
          Tabbed pane.
 boolean toPreviewAllTabs
          Indicates whether all tabs in the tabPane should be previewed.
 
Fields inherited from class org.jvnet.lafwidget.utils.DeltaQueue.Deltable
delta
 
Constructor Summary
TabPreviewThread.TabPreviewInfo()
           
 
Method Summary
 
Methods inherited from class org.jvnet.lafwidget.utils.DeltaQueue.Deltable
decrementDelta, getDelta, incrementDelta, setDelta
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tabPane

public javax.swing.JTabbedPane tabPane
Tabbed pane.


previewCallback

public TabPreviewThread.TabPreviewCallback previewCallback
Callback for passing the preview thumbnail once it is computed.


previewWidth

public int previewWidth
Width of the preview thumbnail.


previewHeight

public int previewHeight
Height of the preview thumbnail.


toPreviewAllTabs

public boolean toPreviewAllTabs
Indicates whether all tabs in the tabPane should be previewed.


tabIndexToPreview

public int tabIndexToPreview
If toPreviewAllTabs is false, contains the index of the tab to be previewed.


initiator

public java.lang.Object initiator
Points to the preview initiator.

Constructor Detail

TabPreviewThread.TabPreviewInfo

public TabPreviewThread.TabPreviewInfo()