站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

AquaSlidingButtonUI (Tab Control) - NetBeans API Javadoc (Current Development Version)

org.netbeans.swing.tabcontrol 1.8

org.netbeans.swing.tabcontrol.plaf
Class AquaSlidingButtonUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.ButtonUI
          extended by javax.swing.plaf.basic.BasicButtonUI
              extended by javax.swing.plaf.basic.BasicToggleButtonUI
                  extended by org.netbeans.swing.tabcontrol.SlidingButtonUI
                      extended by org.netbeans.swing.tabcontrol.plaf.AquaSlidingButtonUI

public class AquaSlidingButtonUI
extends SlidingButtonUI


Field Summary
 
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
 
Method Summary
static ComponentUI createUI(JComponent c)
          Aqua ui for sliding buttons.
 Dimension getPreferredSize(JComponent c)
           
 void installUI(JComponent c)
           
protected  void paintBackground(Graphics2D graph, AbstractButton b)
           
protected  void paintButtonPressed(Graphics graph, AbstractButton b)
           
 
Methods inherited from class org.netbeans.swing.tabcontrol.SlidingButtonUI
getMaximumSize, getMinimumSize, getPropertyPrefix, paint
 
Methods inherited from class javax.swing.plaf.basic.BasicToggleButtonUI
getTextShiftOffset, paintIcon
 
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, createButtonListener, getDefaultTextIconGap, installDefaults, installKeyboardActions, installListeners, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createUI

public static ComponentUI createUI(JComponent c)
Aqua ui for sliding buttons. This class is public so it can be instantiated by UIManager, but is of no interest as API.


installUI

public void installUI(JComponent c)
Overrides:
installUI in class BasicButtonUI

paintBackground

protected void paintBackground(Graphics2D graph,
                               AbstractButton b)
Overrides:
paintBackground in class SlidingButtonUI

paintButtonPressed

protected void paintButtonPressed(Graphics graph,
                                  AbstractButton b)
Overrides:
paintButtonPressed in class BasicButtonUI

getPreferredSize

public Dimension getPreferredSize(JComponent c)
Overrides:
getPreferredSize in class SlidingButtonUI

org.netbeans.swing.tabcontrol 1.8

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.