Package com.explodingpixels.macwidgets
Class WidgetStandardColorScheme
java.lang.Object
com.explodingpixels.macwidgets.WidgetStandardColorScheme
- All Implemented Interfaces:
WidgetColorScheme
A
s and colors
WidgetColorScheme
that provides
invalid reference
Painter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe background color of the widget when it is in an active window.Theinvalid reference
Painter
Theinvalid reference
Painter
The color to draw a badge's background with when it's corresponding widget item is unselected and the widget is in an active window.The color to draw a badge's text with.The color to draw a widget category with.The color to draw a widget category's shadow with.The background color of the widget when it is in an inactive window.Theinvalid reference
Painter
SourceList
selection when the widget is in an inactive window.The color to draw a badge's background with when it's corresponding widget item is unselected and the widget is in an inactive window.The color to draw a badge's background with when it's corresponding widget item is selected.The icon to use when a widget node is collapsed and selected.The icon to use when a widget node is expanded and selected.The color to draw a selected widget item's shadow with.The color to draw a selected widget item with.The icon to use when a widget node is collapsed and unselected.The icon to use when a widget node is expanded and unselected.The color to draw an unselected widget item with.
-
Field Details
-
UNSELECTED_COLLAPSED_ICON
-
-
Constructor Details
-
WidgetStandardColorScheme
public WidgetStandardColorScheme()
-
-
Method Details
-
getActiveFocusedSelectedItemPainter
Description copied from interface:WidgetColorScheme
Theinvalid reference
Painter
- Specified by:
getActiveFocusedSelectedItemPainter
in interfaceWidgetColorScheme
- Returns:
- the
Painter
to use for painting the selection in an active window where the widget has focus.
-
getActiveUnfocusedSelectedItemPainter
Description copied from interface:WidgetColorScheme
Theinvalid reference
Painter
- Specified by:
getActiveUnfocusedSelectedItemPainter
in interfaceWidgetColorScheme
- Returns:
- the
Painter
to use for painting the selection in an active window where the widget does not have focus.
-
getInactiveSelectedItemPainter
Description copied from interface:WidgetColorScheme
Theinvalid reference
Painter
SourceList
selection when the widget is in an inactive window.- Specified by:
getInactiveSelectedItemPainter
in interfaceWidgetColorScheme
- Returns:
- the
Painter
to use for painting the selection in an inactive window.
-
getCategoryTextColor
Description copied from interface:WidgetColorScheme
The color to draw a widget category with.- Specified by:
getCategoryTextColor
in interfaceWidgetColorScheme
- Returns:
- the color to draw a widget category text with.
-
getCategoryTextShadowColor
Description copied from interface:WidgetColorScheme
The color to draw a widget category's shadow with.- Specified by:
getCategoryTextShadowColor
in interfaceWidgetColorScheme
- Returns:
- the color to draw a widget category text's shadow with.
-
getUnselectedItemTextColor
Description copied from interface:WidgetColorScheme
The color to draw an unselected widget item with.- Specified by:
getUnselectedItemTextColor
in interfaceWidgetColorScheme
- Returns:
- the color to draw an unselected widget item with.
-
getSelectedItemTextColor
Description copied from interface:WidgetColorScheme
The color to draw a selected widget item with.- Specified by:
getSelectedItemTextColor
in interfaceWidgetColorScheme
- Returns:
- the color to draw a selected widget item with.
-
getSelectedItemFontShadowColor
Description copied from interface:WidgetColorScheme
The color to draw a selected widget item's shadow with.- Specified by:
getSelectedItemFontShadowColor
in interfaceWidgetColorScheme
- Returns:
- the color to draw a selected widget item's shadow with.
-
getActiveBackgroundColor
Description copied from interface:WidgetColorScheme
The background color of the widget when it is in an active window.- Specified by:
getActiveBackgroundColor
in interfaceWidgetColorScheme
- Returns:
- the background color of the widget when it is in an active window.
-
getInactiveBackgroundColor
Description copied from interface:WidgetColorScheme
The background color of the widget when it is in an inactive window.- Specified by:
getInactiveBackgroundColor
in interfaceWidgetColorScheme
- Returns:
- the background color of the widget when it is in an inactive window.
-
getUnselectedCollapsedIcon
Description copied from interface:WidgetColorScheme
The icon to use when a widget node is collapsed and unselected.- Specified by:
getUnselectedCollapsedIcon
in interfaceWidgetColorScheme
- Returns:
- the icon to use when a widget node is collapsed and unselected.
-
getUnselectedExpandedIcon
Description copied from interface:WidgetColorScheme
The icon to use when a widget node is expanded and unselected.- Specified by:
getUnselectedExpandedIcon
in interfaceWidgetColorScheme
- Returns:
- the icon to use when a widget node is expanded and unselected.
-
getSelectedCollapsedIcon
Description copied from interface:WidgetColorScheme
The icon to use when a widget node is collapsed and selected.- Specified by:
getSelectedCollapsedIcon
in interfaceWidgetColorScheme
- Returns:
- the icon to use when a widget node is collapsed and selected.
-
getSelectedExpandedIcon
Description copied from interface:WidgetColorScheme
The icon to use when a widget node is expanded and selected.- Specified by:
getSelectedExpandedIcon
in interfaceWidgetColorScheme
- Returns:
- the icon to use when a widget node is expanded and selected.
-
getBadgeTextColor
Description copied from interface:WidgetColorScheme
The color to draw a badge's text with.- Specified by:
getBadgeTextColor
in interfaceWidgetColorScheme
- Returns:
- the color to draw a badge's text with.
-
getSelectedBadgeColor
Description copied from interface:WidgetColorScheme
The color to draw a badge's background with when it's corresponding widget item is selected. This color is used regardless of the whether the parent window is active or inactive.- Specified by:
getSelectedBadgeColor
in interfaceWidgetColorScheme
- Returns:
- the color to draw a badge's background with when it's corresponding widget item is selected
-
getActiveUnselectedBadgeColor
Description copied from interface:WidgetColorScheme
The color to draw a badge's background with when it's corresponding widget item is unselected and the widget is in an active window.- Specified by:
getActiveUnselectedBadgeColor
in interfaceWidgetColorScheme
- Returns:
- the color to draw a badge's background with when it's corresponding widget item is unselected and the widget is in an active window.
-
getInativeUnselectedBadgeColor
Description copied from interface:WidgetColorScheme
The color to draw a badge's background with when it's corresponding widget item is unselected and the widget is in an inactive window.- Specified by:
getInativeUnselectedBadgeColor
in interfaceWidgetColorScheme
- Returns:
- the color to draw a badge's background with when it's corresponding widget item is unselected and the widget is in an inactive window.
-
getActiveFocusedSelectedItemBackgroundColor
- Specified by:
getActiveFocusedSelectedItemBackgroundColor
in interfaceWidgetColorScheme
-
getActiveUnfocusedSelectedItemBackgroundColor
- Specified by:
getActiveUnfocusedSelectedItemBackgroundColor
in interfaceWidgetColorScheme
-
getInactiveSelectedItemBackgroundColor
- Specified by:
getInactiveSelectedItemBackgroundColor
in interfaceWidgetColorScheme
-