Package com.explodingpixels.macwidgets
Interface WidgetColorScheme
- All Known Implementing Classes:
WidgetDarkColorScheme
,WidgetStandardColorScheme
public interface WidgetColorScheme
Built from MacWidgets SourceListColorScheme
An interface to provide a set of
MacWidgetsPainter
s and colors to use when painting a widget.-
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.
-
Method Details
-
getActiveFocusedSelectedItemPainter
MacWidgetsPainter<Component> getActiveFocusedSelectedItemPainter()Theinvalid reference
Painter
- Returns:
- the
Painter
to use for painting the selection in an active window where the widget has focus.
-
getActiveUnfocusedSelectedItemPainter
MacWidgetsPainter<Component> getActiveUnfocusedSelectedItemPainter()Theinvalid reference
Painter
- Returns:
- the
Painter
to use for painting the selection in an active window where the widget does not have focus.
-
getInactiveSelectedItemPainter
MacWidgetsPainter<Component> getInactiveSelectedItemPainter()Theinvalid reference
Painter
SourceList
selection when the widget is in an inactive window.- Returns:
- the
Painter
to use for painting the selection in an inactive window.
-
getActiveFocusedSelectedItemBackgroundColor
Color getActiveFocusedSelectedItemBackgroundColor() -
getActiveUnfocusedSelectedItemBackgroundColor
Color getActiveUnfocusedSelectedItemBackgroundColor() -
getInactiveSelectedItemBackgroundColor
Color getInactiveSelectedItemBackgroundColor() -
getCategoryTextColor
Color getCategoryTextColor()The color to draw a widget category with.- Returns:
- the color to draw a widget category text with.
-
getCategoryTextShadowColor
Color getCategoryTextShadowColor()The color to draw a widget category's shadow with.- Returns:
- the color to draw a widget category text's shadow with.
-
getUnselectedItemTextColor
Color getUnselectedItemTextColor()The color to draw an unselected widget item with.- Returns:
- the color to draw an unselected widget item with.
-
getSelectedItemTextColor
Color getSelectedItemTextColor()The color to draw a selected widget item with.- Returns:
- the color to draw a selected widget item with.
-
getSelectedItemFontShadowColor
Color getSelectedItemFontShadowColor()The color to draw a selected widget item's shadow with.- Returns:
- the color to draw a selected widget item's shadow with.
-
getActiveBackgroundColor
Color getActiveBackgroundColor()The background color of the widget when it is in an active window.- Returns:
- the background color of the widget when it is in an active window.
-
getInactiveBackgroundColor
Color getInactiveBackgroundColor()The background color of the widget when it is in an inactive window.- Returns:
- the background color of the widget when it is in an inactive window.
-
getUnselectedCollapsedIcon
Icon getUnselectedCollapsedIcon()The icon to use when a widget node is collapsed and unselected.- Returns:
- the icon to use when a widget node is collapsed and unselected.
-
getUnselectedExpandedIcon
Icon getUnselectedExpandedIcon()The icon to use when a widget node is expanded and unselected.- Returns:
- the icon to use when a widget node is expanded and unselected.
-
getSelectedCollapsedIcon
Icon getSelectedCollapsedIcon()The icon to use when a widget node is collapsed and selected.- Returns:
- the icon to use when a widget node is collapsed and selected.
-
getSelectedExpandedIcon
Icon getSelectedExpandedIcon()The icon to use when a widget node is expanded and selected.- Returns:
- the icon to use when a widget node is expanded and selected.
-
getBadgeTextColor
Color getBadgeTextColor()The color to draw a badge's text with.- Returns:
- the color to draw a badge's text with.
-
getSelectedBadgeColor
Color getSelectedBadgeColor()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.- Returns:
- the color to draw a badge's background with when it's corresponding widget item is selected
-
getActiveUnselectedBadgeColor
Color getActiveUnselectedBadgeColor()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.- 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
Color getInativeUnselectedBadgeColor()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.- 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.
-