| |
|
| org.netbeans.swing.tabcontrol.plaf.AbstractTabDisplayerUI org.netbeans.swing.tabcontrol.plaf.BasicTabDisplayerUI org.netbeans.swing.tabcontrol.plaf.BasicScrollingTabDisplayerUI
All known Subclasses: org.netbeans.swing.tabcontrol.plaf.GtkEditorTabDisplayerUI, org.netbeans.swing.tabcontrol.plaf.WinXPEditorTabDisplayerUI, org.netbeans.swing.tabcontrol.plaf.AquaEditorTabDisplayerUI, org.netbeans.swing.tabcontrol.plaf.WinVistaEditorTabDisplayerUI, org.netbeans.swing.tabcontrol.plaf.WinClassicEditorTabDisplayerUI, org.netbeans.swing.tabcontrol.plaf.MetalEditorTabDisplayerUI,
BasicScrollingTabDisplayerUI | abstract public class BasicScrollingTabDisplayerUI extends BasicTabDisplayerUI (Code) | | Base class for tab displayers that have scrollable tabs.
author: Tim Boudreau |
Inner Class :protected class ScrollingTabState extends BasicTabState | |
Inner Class :protected class ScrollingDisplayerComponentListener extends ComponentAdapter | |
Inner Class :protected class ScrollingHierarchyListener extends DisplayerHierarchyListener | |
BasicScrollingTabDisplayerUI | public BasicScrollingTabDisplayerUI(TabDisplayer displayer)(Code) | | Creates a new instance of BasicScrollingTabDisplayerUI
|
getControlButtons | protected Component getControlButtons()(Code) | | A component that holds control buttons (scroll left/right, drop down menu)that are displayed to right of the tab area. |
getControlButtonsRectangle | protected Rectangle getControlButtonsRectangle(Container parent)(Code) | | Bounds for the control buttons in the tab displayer container. |
getFirstVisibleTab | final protected int getFirstVisibleTab()(Code) | | |
getLastVisibleTab | final protected int getLastVisibleTab()(Code) | | |
getOffscreenGraphics | public static Graphics2D getOffscreenGraphics()(Code) | | Provides an offscreen graphics context so that widths based on character
size can be calculated correctly before the component is shown
|
getTabsAreaWidth | final protected int getTabsAreaWidth()(Code) | | Returns the width of the tabs area
|
install | protected void install()(Code) | | |
installControlButtons | protected void installControlButtons()(Code) | | |
makeTabVisible | public void makeTabVisible(int tab)(Code) | | |
modelChanged | protected void modelChanged()(Code) | | Overrides modelChanged() to clear the transient information in the
state model, which may now contain tab indices that don't exist, and also
to clear cached width/last-visible-tab data in the layout model, and ensure that
the selected tab is visible.
|
processMouseWheelEvent | protected void processMouseWheelEvent(MouseWheelEvent e)(Code) | | Overridden to update the offset of the ScrollingTabLayoutModel on mouse
wheel events
|
uninstall | protected void uninstall()(Code) | | |
|
|
|