public class DolphinToggleButtonUI extends MetalToggleButtonUI
disabledTextColor, focusColor, selectColordefaultTextIconGap, defaultTextShiftOffset| Constructor and Description |
|---|
DolphinToggleButtonUI() |
| 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) |
getDisabledTextColor, getFocusColor, getSelectColor, paintIcon, uninstallDefaultsgetPropertyPrefix, getTextShiftOffsetclearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, installKeyboardActions, installListeners, installUI, paintIcon, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUIcontains, getAccessibleChild, getAccessibleChildrenCountpublic static ComponentUI createUI(JComponent b)
public void installDefaults(AbstractButton b)
installDefaults in class MetalToggleButtonUIpublic void update(Graphics g, JComponent c)
update in class MetalToggleButtonUIpublic void paint(Graphics g, JComponent c)
paint in class BasicToggleButtonUIprotected void paintButtonPressed(Graphics g, AbstractButton b)
paintButtonPressed in class MetalToggleButtonUIprotected void paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect)
paintFocus in class MetalToggleButtonUIprotected void paintText(Graphics g, JComponent c, Rectangle textRect, String text)
paintText in class MetalToggleButtonUICopyright © 2012. All Rights Reserved.