Package com.jtattoo.plaf.luna
Class LunaButtonUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
javax.swing.plaf.basic.BasicButtonUI
com.jtattoo.plaf.BaseButtonUI
com.jtattoo.plaf.luna.LunaButtonUI
LunaButtonUI class.
Author Michael Hagen-
Field Summary
Fields inherited from class com.jtattoo.plaf.BaseButtonUI
defaultColors, iconRect, textRect, viewRect
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUI
protected void
paintBackground.protected void
paintFocus
(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect) Methods inherited from class com.jtattoo.plaf.BaseButtonUI
createButtonListener, installDefaults, installKeyboardActions, paint, paintText, uninstallDefaults
Methods 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, uninstallUI
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
-
Constructor Details
-
LunaButtonUI
public LunaButtonUI()
-
-
Method Details
-
createUI
-
paintBackground
paintBackground.
- Overrides:
paintBackground
in classBaseButtonUI
- Parameters:
g
- aGraphics
object.b
- aAbstractButton
object.
-
paintFocus
protected void paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect) - Overrides:
paintFocus
in classBaseButtonUI
-