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