Package com.explodingpixels.macwidgets
Class WidgetDarkColorScheme
- java.lang.Object
-
- com.explodingpixels.macwidgets.WidgetDarkColorScheme
-
- All Implemented Interfaces:
WidgetColorScheme
public class WidgetDarkColorScheme extends java.lang.Object implements WidgetColorScheme
AWidgetColorSchemethat providesMacWidgetsPainters and colors.
-
-
Constructor Summary
Constructors Constructor Description WidgetDarkColorScheme()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.ColorgetActiveBackgroundColor()The background color of the widget when it is in an active window.java.awt.ColorgetActiveFocusedSelectedItemBackgroundColor()MacWidgetsPainter<java.awt.Component>getActiveFocusedSelectedItemPainter()ThePainterto use for drawing the widget selection when the widget is in the active window and has focus.java.awt.ColorgetActiveUnfocusedSelectedItemBackgroundColor()MacWidgetsPainter<java.awt.Component>getActiveUnfocusedSelectedItemPainter()ThePainterto use for drawing the widget selection when the widget is in the active window and does not have focus.java.awt.ColorgetActiveUnselectedBadgeColor()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.java.awt.ColorgetBadgeTextColor()The color to draw a badge's text with.java.awt.ColorgetCategoryTextColor()The color to draw a widget category with.java.awt.ColorgetCategoryTextShadowColor()The color to draw a widget category's shadow with.java.awt.ColorgetInactiveBackgroundColor()The background color of the widget when it is in an inactive window.java.awt.ColorgetInactiveSelectedItemBackgroundColor()MacWidgetsPainter<java.awt.Component>getInactiveSelectedItemPainter()ThePainterto use for drawing theSourceListselection when the widget is in an inactive window.java.awt.ColorgetInativeUnselectedBadgeColor()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.java.awt.ColorgetSelectedBadgeColor()The color to draw a badge's background with when it's corresponding widget item is selected.javax.swing.IcongetSelectedCollapsedIcon()The icon to use when a widget node is collapsed and selected.javax.swing.IcongetSelectedExpandedIcon()The icon to use when a widget node is expanded and selected.java.awt.ColorgetSelectedItemFontShadowColor()The color to draw a selected widget item's shadow with.java.awt.ColorgetSelectedItemTextColor()The color to draw a selected widget item with.javax.swing.IcongetUnselectedCollapsedIcon()The icon to use when a widget node is collapsed and unselected.javax.swing.IcongetUnselectedExpandedIcon()The icon to use when a widget node is expanded and unselected.java.awt.ColorgetUnselectedItemTextColor()The color to draw an unselected widget item with.
-
-
-
Method Detail
-
getActiveFocusedSelectedItemPainter
public MacWidgetsPainter<java.awt.Component> getActiveFocusedSelectedItemPainter()
Description copied from interface:WidgetColorSchemeThePainterto use for drawing the widget selection when the widget is in the active window and has focus.- Specified by:
getActiveFocusedSelectedItemPainterin interfaceWidgetColorScheme- Returns:
- the
Painterto use for painting the selection in an active window where the widget has focus.
-
getActiveUnfocusedSelectedItemPainter
public MacWidgetsPainter<java.awt.Component> getActiveUnfocusedSelectedItemPainter()
Description copied from interface:WidgetColorSchemeThePainterto use for drawing the widget selection when the widget is in the active window and does not have focus.- Specified by:
getActiveUnfocusedSelectedItemPainterin interfaceWidgetColorScheme- Returns:
- the
Painterto use for painting the selection in an active window where the widget does not have focus.
-
getInactiveSelectedItemPainter
public MacWidgetsPainter<java.awt.Component> getInactiveSelectedItemPainter()
Description copied from interface:WidgetColorSchemeThePainterto use for drawing theSourceListselection when the widget is in an inactive window.- Specified by:
getInactiveSelectedItemPainterin interfaceWidgetColorScheme- Returns:
- the
Painterto use for painting the selection in an inactive window.
-
getCategoryTextColor
public java.awt.Color getCategoryTextColor()
Description copied from interface:WidgetColorSchemeThe color to draw a widget category with.- Specified by:
getCategoryTextColorin interfaceWidgetColorScheme- Returns:
- the color to draw a widget category text with.
-
getCategoryTextShadowColor
public java.awt.Color getCategoryTextShadowColor()
Description copied from interface:WidgetColorSchemeThe color to draw a widget category's shadow with.- Specified by:
getCategoryTextShadowColorin interfaceWidgetColorScheme- Returns:
- the color to draw a widget category text's shadow with.
-
getUnselectedItemTextColor
public java.awt.Color getUnselectedItemTextColor()
Description copied from interface:WidgetColorSchemeThe color to draw an unselected widget item with.- Specified by:
getUnselectedItemTextColorin interfaceWidgetColorScheme- Returns:
- the color to draw an unselected widget item with.
-
getSelectedItemTextColor
public java.awt.Color getSelectedItemTextColor()
Description copied from interface:WidgetColorSchemeThe color to draw a selected widget item with.- Specified by:
getSelectedItemTextColorin interfaceWidgetColorScheme- Returns:
- the color to draw a selected widget item with.
-
getSelectedItemFontShadowColor
public java.awt.Color getSelectedItemFontShadowColor()
Description copied from interface:WidgetColorSchemeThe color to draw a selected widget item's shadow with.- Specified by:
getSelectedItemFontShadowColorin interfaceWidgetColorScheme- Returns:
- the color to draw a selected widget item's shadow with.
-
getActiveBackgroundColor
public java.awt.Color getActiveBackgroundColor()
Description copied from interface:WidgetColorSchemeThe background color of the widget when it is in an active window.- Specified by:
getActiveBackgroundColorin interfaceWidgetColorScheme- Returns:
- the background color of the widget when it is in an active window.
-
getInactiveBackgroundColor
public java.awt.Color getInactiveBackgroundColor()
Description copied from interface:WidgetColorSchemeThe background color of the widget when it is in an inactive window.- Specified by:
getInactiveBackgroundColorin interfaceWidgetColorScheme- Returns:
- the background color of the widget when it is in an inactive window.
-
getUnselectedCollapsedIcon
public javax.swing.Icon getUnselectedCollapsedIcon()
Description copied from interface:WidgetColorSchemeThe icon to use when a widget node is collapsed and unselected.- Specified by:
getUnselectedCollapsedIconin interfaceWidgetColorScheme- Returns:
- the icon to use when a widget node is collapsed and unselected.
-
getUnselectedExpandedIcon
public javax.swing.Icon getUnselectedExpandedIcon()
Description copied from interface:WidgetColorSchemeThe icon to use when a widget node is expanded and unselected.- Specified by:
getUnselectedExpandedIconin interfaceWidgetColorScheme- Returns:
- the icon to use when a widget node is expanded and unselected.
-
getSelectedCollapsedIcon
public javax.swing.Icon getSelectedCollapsedIcon()
Description copied from interface:WidgetColorSchemeThe icon to use when a widget node is collapsed and selected.- Specified by:
getSelectedCollapsedIconin interfaceWidgetColorScheme- Returns:
- the icon to use when a widget node is collapsed and selected.
-
getSelectedExpandedIcon
public javax.swing.Icon getSelectedExpandedIcon()
Description copied from interface:WidgetColorSchemeThe icon to use when a widget node is expanded and selected.- Specified by:
getSelectedExpandedIconin interfaceWidgetColorScheme- Returns:
- the icon to use when a widget node is expanded and selected.
-
getBadgeTextColor
public java.awt.Color getBadgeTextColor()
Description copied from interface:WidgetColorSchemeThe color to draw a badge's text with.- Specified by:
getBadgeTextColorin interfaceWidgetColorScheme- Returns:
- the color to draw a badge's text with.
-
getSelectedBadgeColor
public java.awt.Color getSelectedBadgeColor()
Description copied from interface:WidgetColorSchemeThe 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:
getSelectedBadgeColorin interfaceWidgetColorScheme- Returns:
- the color to draw a badge's background with when it's corresponding widget item is selected
-
getActiveUnselectedBadgeColor
public java.awt.Color getActiveUnselectedBadgeColor()
Description copied from interface:WidgetColorSchemeThe 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:
getActiveUnselectedBadgeColorin 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
public java.awt.Color getInativeUnselectedBadgeColor()
Description copied from interface:WidgetColorSchemeThe 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:
getInativeUnselectedBadgeColorin 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
public java.awt.Color getActiveFocusedSelectedItemBackgroundColor()
- Specified by:
getActiveFocusedSelectedItemBackgroundColorin interfaceWidgetColorScheme
-
getActiveUnfocusedSelectedItemBackgroundColor
public java.awt.Color getActiveUnfocusedSelectedItemBackgroundColor()
- Specified by:
getActiveUnfocusedSelectedItemBackgroundColorin interfaceWidgetColorScheme
-
getInactiveSelectedItemBackgroundColor
public java.awt.Color getInactiveSelectedItemBackgroundColor()
- Specified by:
getInactiveSelectedItemBackgroundColorin interfaceWidgetColorScheme
-
-