public class PgsButtonUI extends MetalButtonUI implements ActionListener
disabledTextColor, focusColor, selectColordefaultTextIconGap, defaultTextShiftOffset| Constructor and Description |
|---|
PgsButtonUI() |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
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) |
protected void |
paintText(Graphics g,
JComponent c,
Rectangle textRect,
String text) |
void |
update(Graphics g,
JComponent c) |
getDisabledTextColor, getFocusColor, getSelectColor, uninstallDefaultsclearTextShiftOffset, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, getPropertyPrefix, getTextShiftOffset, installKeyboardActions, installListeners, installUI, paint, paintIcon, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUIcontains, getAccessibleChild, getAccessibleChildrenCountpublic static ComponentUI createUI(JComponent c)
public void installDefaults(AbstractButton b)
installDefaults in class MetalButtonUIprotected BasicButtonListener createButtonListener(AbstractButton b)
createButtonListener in class MetalButtonUIprotected void paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect)
paintFocus in class MetalButtonUIpublic void update(Graphics g, JComponent c)
update in class MetalButtonUIprotected void paintButtonPressed(Graphics g, AbstractButton b)
paintButtonPressed in class MetalButtonUIprotected void paintText(Graphics g, JComponent c, Rectangle textRect, String text)
paintText in class MetalButtonUIpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerCopyright © 2015. All rights reserved.