com.jtattoo.plaf
Class BaseButtonUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
javax.swing.plaf.basic.BasicButtonUI
com.jtattoo.plaf.BaseButtonUI
- Direct Known Subclasses:
- AcrylButtonUI, AluminiumButtonUI, FastButtonUI, GraphiteButtonUI, HiFiButtonUI
public class BaseButtonUI
- extends BasicButtonUI
- Author:
- Michael Hagen
| Methods inherited from class javax.swing.plaf.basic.BasicButtonUI |
clearTextShiftOffset, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, getPropertyPrefix, getTextShiftOffset, installKeyboardActions, installListeners, installUI, paintButtonPressed, paintIcon, paintText, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
viewRect
protected static Rectangle viewRect
textRect
protected static Rectangle textRect
iconRect
protected static Rectangle iconRect
BaseButtonUI
public BaseButtonUI()
createUI
public static ComponentUI createUI(JComponent c)
installDefaults
public void installDefaults(AbstractButton b)
- Overrides:
installDefaults in class BasicButtonUI
uninstallDefaults
public void uninstallDefaults(AbstractButton b)
- Overrides:
uninstallDefaults in class BasicButtonUI
createButtonListener
protected BasicButtonListener createButtonListener(AbstractButton b)
- Overrides:
createButtonListener in class BasicButtonUI
paintBackground
protected void paintBackground(Graphics g,
AbstractButton b)
paintText
protected void paintText(Graphics g,
AbstractButton b,
Rectangle textRect)
paintFocus
protected void paintFocus(Graphics g,
AbstractButton b,
Rectangle viewRect,
Rectangle textRect,
Rectangle iconRect)
- Overrides:
paintFocus in class BasicButtonUI
paint
public void paint(Graphics g,
JComponent c)
- Overrides:
paint in class BasicButtonUI
Copyright © 2011. All Rights Reserved.