Package editor
Class WindowsButtonUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
javax.swing.plaf.basic.BasicButtonUI
editor.WindowsButtonUI
- Direct Known Subclasses:
LabButtonUI
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
protected int
protected int
protected int
private boolean
protected Color
private static final Object
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUI
protected Color
protected void
protected void
protected void
paintFocus
(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect) protected void
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPropertyPrefix, getTextShiftOffset, installKeyboardActions, installListeners, installUI, paint, paintIcon, paintText, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUI
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
-
Field Details
-
dashedRectGapX
protected int dashedRectGapX -
dashedRectGapY
protected int dashedRectGapY -
dashedRectGapWidth
protected int dashedRectGapWidth -
dashedRectGapHeight
protected int dashedRectGapHeight -
focusColor
-
defaults_initialized
private boolean defaults_initialized -
WINDOWS_BUTTON_UI_KEY
-
-
Constructor Details
-
WindowsButtonUI
WindowsButtonUI()
-
-
Method Details
-
createUI
-
installDefaults
- Overrides:
installDefaults
in classBasicButtonUI
-
uninstallDefaults
- Overrides:
uninstallDefaults
in classBasicButtonUI
-
getFocusColor
-
paintFocus
protected void paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect) - Overrides:
paintFocus
in classBasicButtonUI
-
paintButtonPressed
- Overrides:
paintButtonPressed
in classBasicButtonUI
-
getPreferredSize
- Overrides:
getPreferredSize
in classBasicButtonUI
-