Package com.explodingpixels.macwidgets
Class SourceListStandardColorScheme
java.lang.Object
com.explodingpixels.macwidgets.SourceListStandardColorScheme
- All Implemented Interfaces:
SourceListColorScheme
- Direct Known Subclasses:
SourceListBizLafColorScheme
,SourceListSeaGlassColorScheme
A

SourceListColorScheme
that provides MacWidgetsPainter
s and colors to render a standard
Mac SourceList
:

- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe background color of theSourceList
when it is in an active window.TheMacWidgetsPainter
to use for drawing theSourceList
selection when theSourceList
is in the active window and has focus.TheMacWidgetsPainter
to use for drawing theSourceList
selection when theSourceList
is in the active window and does not have focus.The color to draw a badge's background with when it's correspondingSourceList
item is unselected and theSourceList
is in an active window.The color to draw a badge's text with.The color to draw aSourceList
category with.The color to draw aSourceList
category's shadow with.The background color of theSourceList
when it is in an inactive window.TheMacWidgetsPainter
to use for drawing theSourceList
selection when theSourceList
is in an inactive window.The color to draw a badge's background with when it's correspondingSourceList
item is unselected and theSourceList
is in an inactive window.The color to draw a badge's background with when it's correspondingSourceList
item is selected.The icon to use when aSourceList
node is collapsed and selected.The icon to use when aSourceList
node is expanded and selected.The color to draw a selectedSourceList
item's shadow with.The color to draw a selectedSourceList
item with.The icon to use when aSourceList
node is collapsed and unselected.The icon to use when aSourceList
node is expanded and unselected.The color to draw an unselectedSourceList
item with.
-
Field Details
-
UNSELECTED_COLLAPSED_ICON
-
-
Constructor Details
-
SourceListStandardColorScheme
public SourceListStandardColorScheme()
-
-
Method Details
-
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
-