Package com.jtattoo.plaf.mcwin
Class McWinButtonUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
javax.swing.plaf.basic.BasicButtonUI
com.jtattoo.plaf.base.BaseButtonUI
com.jtattoo.plaf.mcwin.McWinButtonUI
McWinButtonUI class.
Author Michael Hagen-
Field Summary
Fields inherited from class com.jtattoo.plaf.base.BaseButtonUI
defaultColors, iconRect, textRect, viewRectFields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUIprotected voidpaintBackground.protected voidpaintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect) Methods inherited from class com.jtattoo.plaf.base.BaseButtonUI
createButtonListener, installDefaults, installKeyboardActions, paint, paintText, uninstallDefaultsMethods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, getPropertyPrefix, getTextShiftOffset, installListeners, installUI, paintButtonPressed, paintIcon, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUIMethods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
-
Constructor Details
-
McWinButtonUI
public McWinButtonUI()
-
-
Method Details
-
createUI
-
paintBackground
paintBackground.
- Overrides:
paintBackgroundin classBaseButtonUI- Parameters:
g- aGraphicsobject.b- aAbstractButtonobject.
-
paintFocus
protected void paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect) - Overrides:
paintFocusin classBaseButtonUI
-