Package com.explodingpixels.macwidgets
Class SourceListStandardColorScheme
- java.lang.Object
-
- com.explodingpixels.macwidgets.SourceListStandardColorScheme
-
- All Implemented Interfaces:
SourceListColorScheme
- Direct Known Subclasses:
SourceListBizLafColorScheme,SourceListSeaGlassColorScheme
public class SourceListStandardColorScheme extends java.lang.Object implements SourceListColorScheme
ASourceListColorSchemethat providesMacWidgetsPainters and colors to render a standard MacSourceList:

-
-
Field Summary
Fields Modifier and Type Field Description static javax.swing.IconUNSELECTED_COLLAPSED_ICON
-
Constructor Summary
Constructors Constructor Description SourceListStandardColorScheme()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.ColorgetActiveBackgroundColor()The background color of theSourceListwhen it is in an active window.MacWidgetsPainter<java.awt.Component>getActiveFocusedSelectedItemPainter()TheMacWidgetsPainterto use for drawing theSourceListselection when theSourceListis in the active window and has focus.MacWidgetsPainter<java.awt.Component>getActiveUnfocusedSelectedItemPainter()TheMacWidgetsPainterto use for drawing theSourceListselection when theSourceListis in the active window and does not have focus.java.awt.ColorgetActiveUnselectedBadgeColor()The color to draw a badge's background with when it's correspondingSourceListitem is unselected and theSourceListis in an active window.java.awt.ColorgetBadgeTextColor()The color to draw a badge's text with.java.awt.ColorgetCategoryTextColor()The color to draw aSourceListcategory with.java.awt.ColorgetCategoryTextShadowColor()The color to draw aSourceListcategory's shadow with.java.awt.ColorgetInactiveBackgroundColor()The background color of theSourceListwhen it is in an inactive window.MacWidgetsPainter<java.awt.Component>getInactiveSelectedItemPainter()TheMacWidgetsPainterto use for drawing theSourceListselection when theSourceListis in an inactive window.java.awt.ColorgetInativeUnselectedBadgeColor()The color to draw a badge's background with when it's correspondingSourceListitem is unselected and theSourceListis in an inactive window.java.awt.ColorgetSelectedBadgeColor()The color to draw a badge's background with when it's correspondingSourceListitem is selected.javax.swing.IcongetSelectedCollapsedIcon()The icon to use when aSourceListnode is collapsed and selected.javax.swing.IcongetSelectedExpandedIcon()The icon to use when aSourceListnode is expanded and selected.java.awt.ColorgetSelectedItemFontShadowColor()The color to draw a selectedSourceListitem's shadow with.java.awt.ColorgetSelectedItemTextColor()The color to draw a selectedSourceListitem with.javax.swing.IcongetUnselectedCollapsedIcon()The icon to use when aSourceListnode is collapsed and unselected.javax.swing.IcongetUnselectedExpandedIcon()The icon to use when aSourceListnode is expanded and unselected.java.awt.ColorgetUnselectedItemTextColor()The color to draw an unselectedSourceListitem with.
-
-
-
Method Detail
-
getActiveFocusedSelectedItemPainter
public MacWidgetsPainter<java.awt.Component> 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
public MacWidgetsPainter<java.awt.Component> 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
public MacWidgetsPainter<java.awt.Component> 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
public java.awt.Color getCategoryTextColor()
Description copied from interface:SourceListColorSchemeThe color to draw aSourceListcategory with.- Specified by:
getCategoryTextColorin interfaceSourceListColorScheme- Returns:
- the color to draw a
SourceListcategory textwith.
-
getCategoryTextShadowColor
public java.awt.Color 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
public java.awt.Color 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
public java.awt.Color 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
public java.awt.Color 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
public java.awt.Color 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
public java.awt.Color 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
public javax.swing.Icon 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
public javax.swing.Icon 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
public javax.swing.Icon 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
public javax.swing.Icon 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
public java.awt.Color 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
public java.awt.Color 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
public java.awt.Color 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
public java.awt.Color 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.
-
-