public class PgsToggleButtonUI extends MetalToggleButtonUI
disabledTextColor, focusColor, selectColordefaultTextIconGap, defaultTextShiftOffset| Constructor and Description |
|---|
PgsToggleButtonUI() |
| Modifier and Type | Method and Description |
|---|---|
protected BasicButtonListener |
createButtonListener(AbstractButton b) |
static ComponentUI |
createUI(JComponent c) |
void |
installDefaults(AbstractButton b) |
protected void |
paintButtonPressed(Graphics g,
AbstractButton b) |
protected void |
paintFocus(Graphics g,
AbstractButton b,
Rectangle viewRect,
Rectangle textRect,
Rectangle iconRect) |
void |
update(Graphics g,
JComponent c) |
getDisabledTextColor, getFocusColor, getSelectColor, paintIcon, paintText, uninstallDefaultsgetPropertyPrefix, getTextShiftOffset, paintclearTextShiftOffset, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, installKeyboardActions, installListeners, installUI, paintIcon, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUIcontains, getAccessibleChild, getAccessibleChildrenCountpublic static ComponentUI createUI(JComponent c)
public void installDefaults(AbstractButton b)
installDefaults in class MetalToggleButtonUIprotected BasicButtonListener createButtonListener(AbstractButton b)
createButtonListener in class BasicButtonUIprotected void paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect)
paintFocus in class MetalToggleButtonUIpublic void update(Graphics g, JComponent c)
update in class MetalToggleButtonUIprotected void paintButtonPressed(Graphics g, AbstractButton b)
paintButtonPressed in class MetalToggleButtonUICopyright © 2015. All rights reserved.