ch.randelshofer.quaqua.panther
Class QuaquaPantherTabbedPaneUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.TabbedPaneUI
ch.randelshofer.quaqua.panther.QuaquaPantherTabbedPaneUI
- All Implemented Interfaces:
- NavigatableTabbedPaneUI
public class QuaquaPantherTabbedPaneUI
- extends javax.swing.plaf.TabbedPaneUI
- implements NavigatableTabbedPaneUI
The QuaquaPantherTabbedPaneUI uses to the QuaquaJaguarTabbedPaneUI for
the WRAP_TAB_LAYOUT policy and the QuaquaPantherScrollTabbedPaneUI for
the SCROLL_TAB_LAYOUT policy.
- Version:
- $Id: QuaquaPantherTabbedPaneUI.java 362 2010-11-21 17:35:47Z wrandelshofer $
- Author:
- Werner Randelshofer
Methods inherited from class javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuaquaPantherTabbedPaneUI
public QuaquaPantherTabbedPaneUI()
- 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