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 MacWidgetsPainters and colors to render a standard
Mac SourceList:

- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe background color of theSourceListwhen it is in an active window.TheMacWidgetsPainterto use for drawing theSourceListselection when theSourceListis in the active window and has focus.TheMacWidgetsPainterto use for drawing theSourceListselection when theSourceListis in the active window and does not have focus.The color to draw a badge's background with when it's correspondingSourceListitem is unselected and theSourceListis in an active window.The color to draw a badge's text with.The color to draw aSourceListcategory with.The color to draw aSourceListcategory's shadow with.The background color of theSourceListwhen it is in an inactive window.TheMacWidgetsPainterto use for drawing theSourceListselection when theSourceListis in an inactive window.The color to draw a badge's background with when it's correspondingSourceListitem is unselected and theSourceListis in an inactive window.The color to draw a badge's background with when it's correspondingSourceListitem is selected.The icon to use when aSourceListnode is collapsed and selected.The icon to use when aSourceListnode is expanded and selected.The color to draw a selectedSourceListitem's shadow with.The color to draw a selectedSourceListitem with.The icon to use when aSourceListnode is collapsed and unselected.The icon to use when aSourceListnode is expanded and unselected.The color to draw an unselectedSourceListitem with.
-
Field Details
-
UNSELECTED_COLLAPSED_ICON
-
-
Constructor Details
-
SourceListStandardColorScheme
public SourceListStandardColorScheme()
-
-
Method Details
-
getActiveFocusedSelectedItemPainter
Description copied from interface:SourceListColorSchemeTheMacWidgetsPainterto use for drawing theSourceListselection when theSourceListis in the active window and has focus.- Specified by:
getActiveFocusedSelectedItemPainterin interfaceSourceListColorScheme- Returns:
- the
Painterto use for painting the selection in an active window where theSourceListhas focus.
-
getActiveUnfocusedSelectedItemPainter
Description copied from interface:SourceListColorSchemeTheMacWidgetsPainterto use for drawing theSourceListselection when theSourceListis in the active window and does not have focus.- Specified by:
getActiveUnfocusedSelectedItemPainterin interfaceSourceListColorScheme- Returns:
- the
Painterto use for painting the selection in an active window where theSourceListdoes not have focus.
-
getInactiveSelectedItemPainter
Description copied from interface:SourceListColorSchemeTheMacWidgetsPainterto use for drawing theSourceListselection when theSourceListis in an inactive window.- Specified by:
getInactiveSelectedItemPainterin interfaceSourceListColorScheme- Returns:
- the
Painterto use for painting the selection in an inactive window.
-
getCategoryTextColor
Description copied from interface:SourceListColorSchemeThe color to draw aSourceListcategory with.- Specified by:
getCategoryTextColorin interfaceSourceListColorScheme- Returns:
- the color to draw a
SourceListcategory textwith.
-
getCategoryTextShadowColor
Description copied from interface:SourceListColorSchemeThe color to draw aSourceListcategory's shadow with.- Specified by:
getCategoryTextShadowColorin interfaceSourceListColorScheme- Returns:
- the color to draw a
SourceListcategory text's shadow with.
-
getUnselectedItemTextColor
Description copied from interface:SourceListColorSchemeThe color to draw an unselectedSourceListitem with.- Specified by:
getUnselectedItemTextColorin interfaceSourceListColorScheme- Returns:
- the color to draw an unselected
SourceListitem with.
-
getSelectedItemTextColor
Description copied from interface:SourceListColorSchemeThe color to draw a selectedSourceListitem with.- Specified by:
getSelectedItemTextColorin interfaceSourceListColorScheme- Returns:
- the color to draw a selected
SourceListitem with.
-
getSelectedItemFontShadowColor
Description copied from interface:SourceListColorSchemeThe color to draw a selectedSourceListitem's shadow with.- Specified by:
getSelectedItemFontShadowColorin interfaceSourceListColorScheme- Returns:
- the color to draw a selected
SourceListitem's shadow with.
-
getActiveBackgroundColor
Description copied from interface:SourceListColorSchemeThe background color of theSourceListwhen it is in an active window.- Specified by:
getActiveBackgroundColorin interfaceSourceListColorScheme- Returns:
- the background color of the
SourceListwhen it is in an active window.
-
getInactiveBackgroundColor
Description copied from interface:SourceListColorSchemeThe background color of theSourceListwhen it is in an inactive window.- Specified by:
getInactiveBackgroundColorin interfaceSourceListColorScheme- Returns:
- the background color of the
SourceListwhen it is in an inactive window.
-
getUnselectedCollapsedIcon
Description copied from interface:SourceListColorSchemeThe icon to use when aSourceListnode is collapsed and unselected.- Specified by:
getUnselectedCollapsedIconin interfaceSourceListColorScheme- Returns:
- the icon to use when a
SourceListnode is collapsed and unselected.
-
getUnselectedExpandedIcon
Description copied from interface:SourceListColorSchemeThe icon to use when aSourceListnode is expanded and unselected.- Specified by:
getUnselectedExpandedIconin interfaceSourceListColorScheme- Returns:
- the icon to use when a
SourceListnode is expanded and unselected.
-
getSelectedCollapsedIcon
Description copied from interface:SourceListColorSchemeThe icon to use when aSourceListnode is collapsed and selected.- Specified by:
getSelectedCollapsedIconin interfaceSourceListColorScheme- Returns:
- the icon to use when a
SourceListnode is collapsed and selected.
-
getSelectedExpandedIcon
Description copied from interface:SourceListColorSchemeThe icon to use when aSourceListnode is expanded and selected.- Specified by:
getSelectedExpandedIconin interfaceSourceListColorScheme- Returns:
- the icon to use when a
SourceListnode is expanded and selected.
-
getBadgeTextColor
Description copied from interface:SourceListColorSchemeThe color to draw a badge's text with.- Specified by:
getBadgeTextColorin interfaceSourceListColorScheme- Returns:
- the color to draw a badge's text with.
-
getSelectedBadgeColor
Description copied from interface:SourceListColorSchemeThe color to draw a badge's background with when it's correspondingSourceListitem is selected. This color is used regardless of the wheter the parent window is active or inactive.- Specified by:
getSelectedBadgeColorin interfaceSourceListColorScheme- Returns:
- the color to draw a badge's background with when it's corresponding
SourceListitem is selected
-
getActiveUnselectedBadgeColor
Description copied from interface:SourceListColorSchemeThe color to draw a badge's background with when it's correspondingSourceListitem is unselected and theSourceListis in an active window.- Specified by:
getActiveUnselectedBadgeColorin interfaceSourceListColorScheme- Returns:
- the color to draw a badge's background with when it's corresponding
SourceListitem is unselected and theSourceListis in an active window.
-
getInativeUnselectedBadgeColor
Description copied from interface:SourceListColorSchemeThe color to draw a badge's background with when it's correspondingSourceListitem is unselected and theSourceListis in an inactive window.- Specified by:
getInativeUnselectedBadgeColorin interfaceSourceListColorScheme- Returns:
- the color to draw a badge's background with when it's corresponding
SourceListitem is unselected and theSourceListis in an inactive window.
-