Package com.explodingpixels.macwidgets
Interface SourceListColorScheme
-
- All Known Implementing Classes:
SourceListBizLafColorScheme,SourceListDarkColorScheme,SourceListSeaGlassColorScheme,SourceListStandardColorScheme
public interface SourceListColorSchemeAn interface to provide a set ofMacWidgetsPainters and colors to use when painting aSourceList.
-
-
Method Summary
All Methods Instance Methods Abstract 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
MacWidgetsPainter<java.awt.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<java.awt.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<java.awt.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
java.awt.Color getCategoryTextColor()
The color to draw aSourceListcategory with.- Returns:
- the color to draw a
SourceListcategory textwith.
-
getCategoryTextShadowColor
java.awt.Color getCategoryTextShadowColor()
The color to draw aSourceListcategory's shadow with.- Returns:
- the color to draw a
SourceListcategory text's shadow with.
-
getUnselectedItemTextColor
java.awt.Color getUnselectedItemTextColor()
The color to draw an unselectedSourceListitem with.- Returns:
- the color to draw an unselected
SourceListitem with.
-
getSelectedItemTextColor
java.awt.Color getSelectedItemTextColor()
The color to draw a selectedSourceListitem with.- Returns:
- the color to draw a selected
SourceListitem with.
-
getSelectedItemFontShadowColor
java.awt.Color getSelectedItemFontShadowColor()
The color to draw a selectedSourceListitem's shadow with.- Returns:
- the color to draw a selected
SourceListitem's shadow with.
-
getActiveBackgroundColor
java.awt.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
java.awt.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
javax.swing.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
javax.swing.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
javax.swing.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
javax.swing.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
java.awt.Color getBadgeTextColor()
The color to draw a badge's text with.- Returns:
- the color to draw a badge's text with.
-
getSelectedBadgeColor
java.awt.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
java.awt.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
java.awt.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.
-
-