Package net.runelite.client.ui.laf
Class RuneLiteButtonUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.ButtonUI
-
- javax.swing.plaf.basic.BasicButtonUI
-
- com.formdev.flatlaf.ui.FlatButtonUI
-
- net.runelite.client.ui.laf.RuneLiteButtonUI
-
- All Implemented Interfaces:
com.formdev.flatlaf.ui.FlatStylingSupport.StyleableUI
public class RuneLiteButtonUI extends com.formdev.flatlaf.ui.FlatButtonUI
-
-
Field Summary
Fields Modifier and Type Field Description protected float
rolloverIconAlpha
-
Fields inherited from class com.formdev.flatlaf.ui.FlatButtonUI
background, buttonType, defaultBackground, defaultBoldText, defaultEndBackground, defaultFocusedBackground, defaultFocusedForeground, defaultForeground, defaultHoverBackground, defaultHoverForeground, defaultPressedBackground, defaultPressedForeground, defaultShadowColor, disabledBackground, disabledSelectedBackground, disabledSelectedForeground, disabledText, endBackground, focusedBackground, focusedForeground, foreground, hoverBackground, hoverForeground, iconTextGap, minimumHeight, minimumWidth, paintShadow, pressedBackground, pressedForeground, selectedBackground, selectedForeground, shadowColor, shadowWidth, squareSize, startBackground, toolbarDisabledSelectedBackground, toolbarDisabledSelectedForeground, toolbarHoverBackground, toolbarHoverForeground, toolbarPressedBackground, toolbarPressedForeground, toolbarSelectedBackground, toolbarSelectedForeground
-
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RuneLiteButtonUI(boolean shared)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComponentUI
createUI(JComponent c)
protected void
paintIcon(Graphics g, JComponent c, Rectangle iconRect)
-
Methods inherited from class com.formdev.flatlaf.ui.FlatButtonUI
applyStyle, applyStyleProperty, buttonStateColor, createButtonListener, getBackground, getBackgroundBase, getBaseline, getForeground, getForegroundBase, getPreferredSize, getStyleableInfos, getStyleableValue, installDefaults, installStyle, installUI, isCustomBackground, isCustomForeground, isFocusPainted, paint, paintBackground, paintText, paintText, propertyChange, uninstallDefaults, update
-
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPropertyPrefix, getTextShiftOffset, installKeyboardActions, installListeners, paintButtonPressed, paintFocus, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUI
-
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount
-
-
-
-
Method Detail
-
createUI
public static ComponentUI createUI(JComponent c)
-
paintIcon
protected void paintIcon(Graphics g, JComponent c, Rectangle iconRect)
- Overrides:
paintIcon
in classcom.formdev.flatlaf.ui.FlatButtonUI
-
-