Package net.runelite.client.ui.laf
Class RuneLiteToggleButtonUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.ButtonUI
-
- javax.swing.plaf.basic.BasicButtonUI
-
- com.formdev.flatlaf.ui.FlatButtonUI
-
- com.formdev.flatlaf.ui.FlatToggleButtonUI
-
- net.runelite.client.ui.laf.RuneLiteToggleButtonUI
-
- All Implemented Interfaces:
com.formdev.flatlaf.ui.FlatStylingSupport.StyleableUI
public class RuneLiteToggleButtonUI extends com.formdev.flatlaf.ui.FlatToggleButtonUI
-
-
Field Summary
Fields Modifier and Type Field Description protected float
rolloverIconAlpha
-
Fields inherited from class com.formdev.flatlaf.ui.FlatToggleButtonUI
tabDisabledUnderlineColor, tabFocusBackground, tabFocusForeground, tabHoverBackground, tabHoverForeground, tabSelectedBackground, tabSelectedForeground, tabUnderlineColor, tabUnderlineHeight
-
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
RuneLiteToggleButtonUI(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.FlatToggleButtonUI
applyStyleProperty, getForeground, getPropertyPrefix, getStyleableInfos, installDefaults, paintBackground, propertyChange, uninstallDefaults
-
Methods inherited from class com.formdev.flatlaf.ui.FlatButtonUI
applyStyle, buttonStateColor, createButtonListener, getBackground, getBackgroundBase, getBaseline, getForegroundBase, getPreferredSize, getStyleableValue, installStyle, installUI, isCustomBackground, isCustomForeground, isFocusPainted, paint, paintText, paintText, update
-
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, 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
-
-