public class DolphinButtonUI extends MetalButtonUI
disabledTextColor, focusColor, selectColor
defaultTextIconGap, 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, uninstallDefaults
clearTextShiftOffset, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, getPropertyPrefix, getTextShiftOffset, installKeyboardActions, installListeners, installUI, paintIcon, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUI
contains, getAccessibleChild, getAccessibleChildrenCount
public static ComponentUI createUI(JComponent b)
public void installDefaults(AbstractButton b)
installDefaults
in class MetalButtonUI
public void update(Graphics g, JComponent c)
update
in class MetalButtonUI
public void paint(Graphics g, JComponent c)
paint
in class BasicButtonUI
protected void paintButtonPressed(Graphics g, AbstractButton b)
paintButtonPressed
in class MetalButtonUI
protected void paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect)
paintFocus
in class MetalButtonUI
protected void paintText(Graphics g, JComponent c, Rectangle textRect, String text)
paintText
in class MetalButtonUI
Copyright © 2013. All Rights Reserved.