org.netbeans.swing.tabcontrol 1.36

org.netbeans.swing.tabcontrol.plaf
Class NimbusSlidingButtonUI

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.NimbusSlidingButtonUI

public class NimbusSlidingButtonUI
extends SlidingButtonUI

See Also:
SlidingButtonUI

Field Summary
protected  JToggleButton hiddenToggle
           
 
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
 
Method Summary
static ComponentUI createUI(JComponent c)
           
 void installDefaults(AbstractButton b)
           
 void paint(Graphics g, JComponent c)
           
protected  void paintBackground(Graphics2D g, AbstractButton button)
           
protected  void paintButtonPressed(Graphics g, AbstractButton b)
           
protected  void uninstallDefaults(AbstractButton b)
           
 
Methods inherited from class org.netbeans.swing.tabcontrol.SlidingButtonUI
getMaximumSize, getMinimumSize, getPreferredSize, getPropertyPrefix
 
Methods inherited from class javax.swing.plaf.basic.BasicToggleButtonUI
getTextShiftOffset, paintIcon
 
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, installKeyboardActions, installListeners, installUI, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, 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
 

Field Detail

hiddenToggle

protected JToggleButton hiddenToggle
Method Detail

createUI

public static ComponentUI createUI(JComponent c)

installDefaults

public void installDefaults(AbstractButton b)
Overrides:
installDefaults in class BasicButtonUI

uninstallDefaults

protected void uninstallDefaults(AbstractButton b)
Overrides:
uninstallDefaults in class BasicButtonUI

paint

public void paint(Graphics g,
                  JComponent c)
Overrides:
paint in class SlidingButtonUI

paintBackground

protected void paintBackground(Graphics2D g,
                               AbstractButton button)
Overrides:
paintBackground in class SlidingButtonUI

paintButtonPressed

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

org.netbeans.swing.tabcontrol 1.36

Built on May 25 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.