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, getPropertyPrefix
getTextShiftOffset, paintIcon
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, installKeyboardActions, installListeners, installUI, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
protected JToggleButton hiddenToggle
public static ComponentUI createUI(JComponent c)
public void installDefaults(AbstractButton b)
installDefaults
in class BasicButtonUI
protected void uninstallDefaults(AbstractButton b)
uninstallDefaults
in class BasicButtonUI
public void paint(Graphics g, JComponent c)
paint
in class SlidingButtonUI
protected void paintBackground(Graphics2D g, AbstractButton button)
paintBackground
in class SlidingButtonUI
protected void paintButtonPressed(Graphics g, AbstractButton b)
paintButtonPressed
in class BasicButtonUI