public class DolphinToggleButtonUI extends MetalToggleButtonUI
disabledTextColor, focusColor, selectColor
defaultTextIconGap, 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, uninstallDefaults
getPropertyPrefix, getTextShiftOffset
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, 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 MetalToggleButtonUI
public void update(Graphics g, JComponent c)
update
in class MetalToggleButtonUI
public void paint(Graphics g, JComponent c)
paint
in class BasicToggleButtonUI
protected void paintButtonPressed(Graphics g, AbstractButton b)
paintButtonPressed
in class MetalToggleButtonUI
protected void paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect)
paintFocus
in class MetalToggleButtonUI
protected void paintText(Graphics g, JComponent c, Rectangle textRect, String text)
paintText
in class MetalToggleButtonUI
Copyright © 2012. All Rights Reserved.