ch.randelshofer.quaqua.panther
Class Quaqua14PantherTabbedPaneUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.TabbedPaneUI
ch.randelshofer.quaqua.panther.Quaqua14PantherTabbedPaneUI
- All Implemented Interfaces:
- NavigatableTabbedPaneUI
public class Quaqua14PantherTabbedPaneUI
- extends javax.swing.plaf.TabbedPaneUI
- implements NavigatableTabbedPaneUI
The Quaqua14PantherTabbedPaneUI uses to the Quaqua13JaguarTabbedPaneUI for
the WRAP_TAB_LAYOUT policy and the Quaqua14PantherScrollTabbedPaneUI for
the SCROLL_TAB_LAYOUT policy.
- Version:
- 1.1.1 2006-09-16 Use Quaqua14JaguarTabbedPaneUI instead of
Quaqua13JaguarTabbedPaneUI.
1.1 2006-09-04 Fixed keyboard navigation problems.
1.0 February 5, 2006 Created.
- Author:
- Werner Randelshofer
Methods inherited from class javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Quaqua14PantherTabbedPaneUI
public Quaqua14PantherTabbedPaneUI()
- Creates a new instance.
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
installUI
public void installUI(javax.swing.JComponent c)
- Overrides:
installUI
in class javax.swing.plaf.ComponentUI
uninstallUI
public void uninstallUI(javax.swing.JComponent c)
- Overrides:
uninstallUI
in class javax.swing.plaf.ComponentUI
installListeners
protected void installListeners()
uninstallListeners
protected void uninstallListeners()
createPropertyChangeListener
protected java.beans.PropertyChangeListener createPropertyChangeListener()
getTabBounds
public java.awt.Rectangle getTabBounds(javax.swing.JTabbedPane pane,
int index)
- Specified by:
getTabBounds
in class javax.swing.plaf.TabbedPaneUI
getTabRunCount
public int getTabRunCount(javax.swing.JTabbedPane pane)
- Specified by:
getTabRunCount
in class javax.swing.plaf.TabbedPaneUI
tabForCoordinate
public int tabForCoordinate(javax.swing.JTabbedPane pane,
int x,
int y)
- Specified by:
tabForCoordinate
in class javax.swing.plaf.TabbedPaneUI
paint
public void paint(java.awt.Graphics g,
javax.swing.JComponent c)
- Overrides:
paint
in class javax.swing.plaf.ComponentUI
navigateSelectedTab
public void navigateSelectedTab(int direction)
- Description copied from interface:
NavigatableTabbedPaneUI
- Tab Navigation methods.
- Specified by:
navigateSelectedTab
in interface NavigatableTabbedPaneUI
getIndexForMnemonic
public java.lang.Integer getIndexForMnemonic(int mnemonic)
- Specified by:
getIndexForMnemonic
in interface NavigatableTabbedPaneUI
requestFocusForVisibleComponent
public boolean requestFocusForVisibleComponent()
- Specified by:
requestFocusForVisibleComponent
in interface NavigatableTabbedPaneUI