Package editor
Class LabButtonUI
-
public class LabButtonUI extends BasicButtonUI
Needed to properly handle painting of disabled text
-
-
Field Summary
-
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
-
-
Constructor Summary
Constructors Constructor Description LabButtonUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComponentUIcreateUI(JComponent c)protected voidpaintButtonPressed(Graphics g, AbstractButton b)protected voidpaintText(Graphics g, AbstractButton b, Rectangle textRect, String text)-
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, getPropertyPrefix, getTextShiftOffset, installDefaults, installKeyboardActions, installListeners, installUI, paint, paintFocus, paintIcon, paintText, setTextShiftOffset, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
-
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
-
-
-
-
Method Detail
-
createUI
public static ComponentUI createUI(JComponent c)
-
paintButtonPressed
protected void paintButtonPressed(Graphics g, AbstractButton b)
- Overrides:
paintButtonPressedin classBasicButtonUI
-
paintText
protected void paintText(Graphics g, AbstractButton b, Rectangle textRect, String text)
- Overrides:
paintTextin classBasicButtonUI
-
-