public class NimbusSlidingButtonUI extends SlidingButtonUI
SlidingButtonUI| Modifier and Type | Field and Description |
|---|---|
protected JToggleButton |
hiddenToggle |
defaultTextIconGap, defaultTextShiftOffset| Modifier and Type | Method and Description |
|---|---|
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) |
getMaximumSize, getMinimumSize, getPreferredSize, getPropertyPrefixgetTextShiftOffset, paintIconclearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, installKeyboardActions, installListeners, installUI, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUIcontains, getAccessibleChild, getAccessibleChildrenCount, updateprotected JToggleButton hiddenToggle
public static ComponentUI createUI(JComponent c)
public void installDefaults(AbstractButton b)
installDefaults in class BasicButtonUIprotected void uninstallDefaults(AbstractButton b)
uninstallDefaults in class BasicButtonUIpublic void paint(Graphics g, JComponent c)
paint in class SlidingButtonUIprotected void paintBackground(Graphics2D g, AbstractButton button)
paintBackground in class SlidingButtonUIprotected void paintButtonPressed(Graphics g, AbstractButton b)
paintButtonPressed in class BasicButtonUIBuilt on May 24 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.