Package com.explodingpixels.macwidgets
Class SourceListDarkColorScheme
- java.lang.Object
-
- com.explodingpixels.macwidgets.SourceListDarkColorScheme
-
- All Implemented Interfaces:
SourceListColorScheme
public class SourceListDarkColorScheme extends java.lang.Object implements SourceListColorScheme
ASourceListColorScheme
that providesMacWidgetsPainter
s and colors to render a standard MacSourceList
:
-
-
Constructor Summary
Constructors Constructor Description SourceListDarkColorScheme()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Color
getActiveBackgroundColor()
The background color of theSourceList
when it is in an active window.MacWidgetsPainter<java.awt.Component>
getActiveFocusedSelectedItemPainter()
TheMacWidgetsPainter
to use for drawing theSourceList
selection when theSourceList
is in the active window and has focus.MacWidgetsPainter<java.awt.Component>
getActiveUnfocusedSelectedItemPainter()
TheMacWidgetsPainter
to use for drawing theSourceList
selection when theSourceList
is in the active window and does not have focus.java.awt.Color
getActiveUnselectedBadgeColor()
The color to draw a badge's background with when it's correspondingSourceList
item is unselected and theSourceList
is in an active window.java.awt.Color
getBadgeTextColor()
The color to draw a badge's text with.java.awt.Color
getCategoryTextColor()
The color to draw aSourceList
category with.java.awt.Color
getCategoryTextShadowColor()
The color to draw aSourceList
category's shadow with.java.awt.Color
getInactiveBackgroundColor()
The background color of theSourceList
when it is in an inactive window.MacWidgetsPainter<java.awt.Component>
getInactiveSelectedItemPainter()
TheMacWidgetsPainter
to use for drawing theSourceList
selection when theSourceList
is in an inactive window.java.awt.Color
getInativeUnselectedBadgeColor()
The color to draw a badge's background with when it's correspondingSourceList
item is unselected and theSourceList
is in an inactive window.java.awt.Color
getSelectedBadgeColor()
The color to draw a badge's background with when it's correspondingSourceList
item is selected.javax.swing.Icon
getSelectedCollapsedIcon()
The icon to use when aSourceList
node is collapsed and selected.javax.swing.Icon
getSelectedExpandedIcon()
The icon to use when aSourceList
node is expanded and selected.java.awt.Color
getSelectedItemFontShadowColor()
The color to draw a selectedSourceList
item's shadow with.java.awt.Color
getSelectedItemTextColor()
The color to draw a selectedSourceList
item with.javax.swing.Icon
getUnselectedCollapsedIcon()
The icon to use when aSourceList
node is collapsed and unselected.javax.swing.Icon
getUnselectedExpandedIcon()
The icon to use when aSourceList
node is expanded and unselected.java.awt.Color
getUnselectedItemTextColor()
The color to draw an unselectedSourceList
item with.
-
-
-
Method Detail
-
getActiveFocusedSelectedItemPainter
public MacWidgetsPainter<java.awt.Component> getActiveFocusedSelectedItemPainter()
Description copied from interface:SourceListColorScheme
TheMacWidgetsPainter
to use for drawing theSourceList
selection when theSourceList
is in the active window and has focus.- Specified by:
getActiveFocusedSelectedItemPainter
in interfaceSourceListColorScheme
- Returns:
- the
Painter
to use for painting the selection in an active window where theSourceList
has focus.
-
getActiveUnfocusedSelectedItemPainter
public MacWidgetsPainter<java.awt.Component> getActiveUnfocusedSelectedItemPainter()
Description copied from interface:SourceListColorScheme
TheMacWidgetsPainter
to use for drawing theSourceList
selection when theSourceList
is in the active window and does not have focus.- Specified by:
getActiveUnfocusedSelectedItemPainter
in interfaceSourceListColorScheme
- Returns:
- the
Painter
to use for painting the selection in an active window where theSourceList
does not have focus.
-
getInactiveSelectedItemPainter
public MacWidgetsPainter<java.awt.Component> getInactiveSelectedItemPainter()
Description copied from interface:SourceListColorScheme
TheMacWidgetsPainter
to use for drawing theSourceList
selection when theSourceList
is in an inactive window.- Specified by:
getInactiveSelectedItemPainter
in interfaceSourceListColorScheme
- Returns:
- the
Painter
to use for painting the selection in an inactive window.
-
getCategoryTextColor
public java.awt.Color getCategoryTextColor()
Description copied from interface:SourceListColorScheme
The color to draw aSourceList
category with.- Specified by:
getCategoryTextColor
in interfaceSourceListColorScheme
- Returns:
- the color to draw a
SourceList
category textwith.
-
getCategoryTextShadowColor
public java.awt.Color getCategoryTextShadowColor()
Description copied from interface:SourceListColorScheme
The color to draw aSourceList
category's shadow with.- Specified by:
getCategoryTextShadowColor
in interfaceSourceListColorScheme
- Returns:
- the color to draw a
SourceList
category text's shadow with.
-
getUnselectedItemTextColor
public java.awt.Color getUnselectedItemTextColor()
Description copied from interface:SourceListColorScheme
The color to draw an unselectedSourceList
item with.- Specified by:
getUnselectedItemTextColor
in interfaceSourceListColorScheme
- Returns:
- the color to draw an unselected
SourceList
item with.
-
getSelectedItemTextColor
public java.awt.Color getSelectedItemTextColor()
Description copied from interface:SourceListColorScheme
The color to draw a selectedSourceList
item with.- Specified by:
getSelectedItemTextColor
in interfaceSourceListColorScheme
- Returns:
- the color to draw a selected
SourceList
item with.
-
getSelectedItemFontShadowColor
public java.awt.Color getSelectedItemFontShadowColor()
Description copied from interface:SourceListColorScheme
The color to draw a selectedSourceList
item's shadow with.- Specified by:
getSelectedItemFontShadowColor
in interfaceSourceListColorScheme
- Returns:
- the color to draw a selected
SourceList
item's shadow with.
-
getActiveBackgroundColor
public java.awt.Color getActiveBackgroundColor()
Description copied from interface:SourceListColorScheme
The background color of theSourceList
when it is in an active window.- Specified by:
getActiveBackgroundColor
in interfaceSourceListColorScheme
- Returns:
- the background color of the
SourceList
when it is in an active window.
-
getInactiveBackgroundColor
public java.awt.Color getInactiveBackgroundColor()
Description copied from interface:SourceListColorScheme
The background color of theSourceList
when it is in an inactive window.- Specified by:
getInactiveBackgroundColor
in interfaceSourceListColorScheme
- Returns:
- the background color of the
SourceList
when it is in an inactive window.
-
getUnselectedCollapsedIcon
public javax.swing.Icon getUnselectedCollapsedIcon()
Description copied from interface:SourceListColorScheme
The icon to use when aSourceList
node is collapsed and unselected.- Specified by:
getUnselectedCollapsedIcon
in interfaceSourceListColorScheme
- Returns:
- the icon to use when a
SourceList
node is collapsed and unselected.
-
getUnselectedExpandedIcon
public javax.swing.Icon getUnselectedExpandedIcon()
Description copied from interface:SourceListColorScheme
The icon to use when aSourceList
node is expanded and unselected.- Specified by:
getUnselectedExpandedIcon
in interfaceSourceListColorScheme
- Returns:
- the icon to use when a
SourceList
node is expanded and unselected.
-
getSelectedCollapsedIcon
public javax.swing.Icon getSelectedCollapsedIcon()
Description copied from interface:SourceListColorScheme
The icon to use when aSourceList
node is collapsed and selected.- Specified by:
getSelectedCollapsedIcon
in interfaceSourceListColorScheme
- Returns:
- the icon to use when a
SourceList
node is collapsed and selected.
-
getSelectedExpandedIcon
public javax.swing.Icon getSelectedExpandedIcon()
Description copied from interface:SourceListColorScheme
The icon to use when aSourceList
node is expanded and selected.- Specified by:
getSelectedExpandedIcon
in interfaceSourceListColorScheme
- Returns:
- the icon to use when a
SourceList
node is expanded and selected.
-
getBadgeTextColor
public java.awt.Color getBadgeTextColor()
Description copied from interface:SourceListColorScheme
The color to draw a badge's text with.- Specified by:
getBadgeTextColor
in interfaceSourceListColorScheme
- Returns:
- the color to draw a badge's text with.
-
getSelectedBadgeColor
public java.awt.Color getSelectedBadgeColor()
Description copied from interface:SourceListColorScheme
The color to draw a badge's background with when it's correspondingSourceList
item is selected. This color is used regardless of the wheter the parent window is active or inactive.- Specified by:
getSelectedBadgeColor
in interfaceSourceListColorScheme
- Returns:
- the color to draw a badge's background with when it's corresponding
SourceList
item is selected
-
getActiveUnselectedBadgeColor
public java.awt.Color getActiveUnselectedBadgeColor()
Description copied from interface:SourceListColorScheme
The color to draw a badge's background with when it's correspondingSourceList
item is unselected and theSourceList
is in an active window.- Specified by:
getActiveUnselectedBadgeColor
in interfaceSourceListColorScheme
- Returns:
- the color to draw a badge's background with when it's corresponding
SourceList
item is unselected and theSourceList
is in an active window.
-
getInativeUnselectedBadgeColor
public java.awt.Color getInativeUnselectedBadgeColor()
Description copied from interface:SourceListColorScheme
The color to draw a badge's background with when it's correspondingSourceList
item is unselected and theSourceList
is in an inactive window.- Specified by:
getInativeUnselectedBadgeColor
in interfaceSourceListColorScheme
- Returns:
- the color to draw a badge's background with when it's corresponding
SourceList
item is unselected and theSourceList
is in an inactive window.
-
-