public class BaseToggleButtonUI extends BasicToggleButtonUI
defaultTextIconGap, defaultTextShiftOffset| Constructor and Description |
|---|
BaseToggleButtonUI() |
| Modifier and Type | Method and Description |
|---|---|
protected BasicButtonListener |
createButtonListener(AbstractButton b) |
static ComponentUI |
createUI(JComponent b) |
void |
installDefaults(AbstractButton b) |
void |
paint(Graphics g,
JComponent c) |
protected void |
paintBackground(Graphics g,
AbstractButton b) |
protected void |
paintFocus(Graphics g,
AbstractButton b,
Rectangle viewRect,
Rectangle textRect,
Rectangle iconRect) |
protected void |
paintText(Graphics g,
AbstractButton b,
Rectangle textRect,
String text) |
void |
uninstallDefaults(AbstractButton b) |
getPropertyPrefix, getTextShiftOffset, paintIconclearTextShiftOffset, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, installKeyboardActions, installListeners, installUI, paintButtonPressed, paintIcon, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUIcontains, getAccessibleChild, getAccessibleChildrenCount, updatepublic static ComponentUI createUI(JComponent b)
public void installDefaults(AbstractButton b)
installDefaults in class BasicButtonUIpublic void uninstallDefaults(AbstractButton b)
uninstallDefaults in class BasicButtonUIprotected BasicButtonListener createButtonListener(AbstractButton b)
createButtonListener in class BasicButtonUIprotected void paintBackground(Graphics g, AbstractButton b)
protected void paintText(Graphics g, AbstractButton b, Rectangle textRect, String text)
paintText in class BasicButtonUIprotected void paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect)
paintFocus in class BasicButtonUIpublic void paint(Graphics g, JComponent c)
paint in class BasicToggleButtonUICopyright © 2014. All Rights Reserved.