Package editor
Class LabButtonUI
Needed to properly handle painting of disabled text
-
Field Summary
Fields inherited from class editor.WindowsButtonUI
dashedRectGapHeight, dashedRectGapWidth, dashedRectGapX, dashedRectGapY, focusColor
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUI
protected void
protected void
paintText
(Graphics g, AbstractButton b, Rectangle textRect, String text) Methods inherited from class editor.WindowsButtonUI
getFocusColor, getPreferredSize, installDefaults, paintFocus, uninstallDefaults
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPropertyPrefix, getTextShiftOffset, installKeyboardActions, installListeners, installUI, paint, paintIcon, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUI
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
-
Constructor Details
-
LabButtonUI
public LabButtonUI()
-
-
Method Details
-
createUI
-
paintButtonPressed
- Overrides:
paintButtonPressed
in classWindowsButtonUI
-
paintText
- Overrides:
paintText
in classBasicButtonUI
-