Package com.explodingpixels.macwidgets
Interface SourceListColorScheme
- All Known Implementing Classes:
SourceListBizLafColorScheme,SourceListDarkColorScheme,SourceListSeaGlassColorScheme,SourceListStandardColorScheme
public interface SourceListColorScheme
An interface to provide a set of
MacWidgetsPainters and colors to use when painting a
SourceList.-
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.
-
Method Details
-
getActiveFocusedSelectedItemPainter
MacWidgetsPainter<Component> getActiveFocusedSelectedItemPainter()TheMacWidgetsPainterto use for drawing theSourceListselection when theSourceListis in the active window and has focus.- Returns:
- the
Painterto use for painting the selection in an active window where theSourceListhas focus.
-
getActiveUnfocusedSelectedItemPainter
MacWidgetsPainter<Component> getActiveUnfocusedSelectedItemPainter()TheMacWidgetsPainterto use for drawing theSourceListselection when theSourceListis in the active window and does not have focus.- Returns:
- the
Painterto use for painting the selection in an active window where theSourceListdoes not have focus.
-
getInactiveSelectedItemPainter
MacWidgetsPainter<Component> getInactiveSelectedItemPainter()TheMacWidgetsPainterto use for drawing theSourceListselection when theSourceListis in an inactive window.- Returns:
- the
Painterto use for painting the selection in an inactive window.
-
getCategoryTextColor
Color getCategoryTextColor()The color to draw aSourceListcategory with.- Returns:
- the color to draw a
SourceListcategory textwith.
-
getCategoryTextShadowColor
Color getCategoryTextShadowColor()The color to draw aSourceListcategory's shadow with.- Returns:
- the color to draw a
SourceListcategory text's shadow with.
-
getUnselectedItemTextColor
Color getUnselectedItemTextColor()The color to draw an unselectedSourceListitem with.- Returns:
- the color to draw an unselected
SourceListitem with.
-
getSelectedItemTextColor
Color getSelectedItemTextColor()The color to draw a selectedSourceListitem with.- Returns:
- the color to draw a selected
SourceListitem with.
-
getSelectedItemFontShadowColor
Color getSelectedItemFontShadowColor()The color to draw a selectedSourceListitem's shadow with.- Returns:
- the color to draw a selected
SourceListitem's shadow with.
-
getActiveBackgroundColor
Color getActiveBackgroundColor()The background color of theSourceListwhen it is in an active window.- Returns:
- the background color of the
SourceListwhen it is in an active window.
-
getInactiveBackgroundColor
Color getInactiveBackgroundColor()The background color of theSourceListwhen it is in an inactive window.- Returns:
- the background color of the
SourceListwhen it is in an inactive window.
-
getUnselectedCollapsedIcon
Icon getUnselectedCollapsedIcon()The icon to use when aSourceListnode is collapsed and unselected.- Returns:
- the icon to use when a
SourceListnode is collapsed and unselected.
-
getUnselectedExpandedIcon
Icon getUnselectedExpandedIcon()The icon to use when aSourceListnode is expanded and unselected.- Returns:
- the icon to use when a
SourceListnode is expanded and unselected.
-
getSelectedCollapsedIcon
Icon getSelectedCollapsedIcon()The icon to use when aSourceListnode is collapsed and selected.- Returns:
- the icon to use when a
SourceListnode is collapsed and selected.
-
getSelectedExpandedIcon
Icon getSelectedExpandedIcon()The icon to use when aSourceListnode is expanded and selected.- Returns:
- the icon to use when a
SourceListnode 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 correspondingSourceListitem is selected. This color is used regardless of the wheter the parent window is active or inactive.- Returns:
- the color to draw a badge's background with when it's corresponding
SourceListitem is selected
-
getActiveUnselectedBadgeColor
Color getActiveUnselectedBadgeColor()The color to draw a badge's background with when it's correspondingSourceListitem is unselected and theSourceListis in an active window.- Returns:
- the color to draw a badge's background with when it's corresponding
SourceListitem is unselected and theSourceListis in an active window.
-
getInativeUnselectedBadgeColor
Color getInativeUnselectedBadgeColor()The color to draw a badge's background with when it's correspondingSourceListitem is unselected and theSourceListis in an inactive window.- Returns:
- the color to draw a badge's background with when it's corresponding
SourceListitem is unselected and theSourceListis in an inactive window.
-