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 intprotected intprotected intprotected intprivate booleanprotected Colorprivate static final ObjectFields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUIprotected Colorprotected voidprotected voidprotected voidpaintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect) protected voidMethods 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, uninstallUIMethods 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:
installDefaultsin classBasicButtonUI
-
uninstallDefaults
- Overrides:
uninstallDefaultsin classBasicButtonUI
-
getFocusColor
-
paintFocus
protected void paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect) - Overrides:
paintFocusin classBasicButtonUI
-
paintButtonPressed
- Overrides:
paintButtonPressedin classBasicButtonUI
-
getPreferredSize
- Overrides:
getPreferredSizein classBasicButtonUI
-