Package com.jtattoo.plaf.texture
Class TextureToggleButtonUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
javax.swing.plaf.basic.BasicButtonUI
javax.swing.plaf.basic.BasicToggleButtonUI
com.jtattoo.plaf.BaseToggleButtonUI
com.jtattoo.plaf.texture.TextureToggleButtonUI
TextureToggleButtonUI class.
Author Michael Hagen-
Field Summary
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUI
protected void
paintFocus
(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect) protected void
paintIcon
(Graphics g, JComponent c, Rectangle iconRect) protected void
paintText
(Graphics g, AbstractButton b, Rectangle textRect, String text) Methods inherited from class com.jtattoo.plaf.BaseToggleButtonUI
createButtonListener, installDefaults, paint, paintBackground, uninstallDefaults
Methods inherited from class javax.swing.plaf.basic.BasicToggleButtonUI
getPropertyPrefix, getTextShiftOffset, paintIcon
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, installKeyboardActions, installListeners, installUI, paintButtonPressed, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUI
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
-
Constructor Details
-
TextureToggleButtonUI
public TextureToggleButtonUI()
-
-
Method Details
-
createUI
-
paintFocus
protected void paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect) - Overrides:
paintFocus
in classBaseToggleButtonUI
-
paintIcon
- Overrides:
paintIcon
in classBasicButtonUI
-
paintText
- Overrides:
paintText
in classBaseToggleButtonUI
-