Package com.explodingpixels.macwidgets
Interface SourceListColorScheme
-
- All Known Implementing Classes:
SourceListBizLafColorScheme
,SourceListDarkColorScheme
,SourceListSeaGlassColorScheme
,SourceListStandardColorScheme
public interface SourceListColorScheme
An interface to provide a set ofMacWidgetsPainter
s and colors to use when painting aSourceList
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.awt.Color
getActiveBackgroundColor()
The background color of theSourceList
when it is in an active window.MacWidgetsPainter<java.awt.Component>
getActiveFocusedSelectedItemPainter()
TheMacWidgetsPainter
to use for drawing theSourceList
selection when theSourceList
is in the active window and has focus.MacWidgetsPainter<java.awt.Component>
getActiveUnfocusedSelectedItemPainter()
TheMacWidgetsPainter
to use for drawing theSourceList
selection when theSourceList
is in the active window and does not have focus.java.awt.Color
getActiveUnselectedBadgeColor()
The color to draw a badge's background with when it's correspondingSourceList
item is unselected and theSourceList
is in an active window.java.awt.Color
getBadgeTextColor()
The color to draw a badge's text with.java.awt.Color
getCategoryTextColor()
The color to draw aSourceList
category with.java.awt.Color
getCategoryTextShadowColor()
The color to draw aSourceList
category's shadow with.java.awt.Color
getInactiveBackgroundColor()
The background color of theSourceList
when it is in an inactive window.MacWidgetsPainter<java.awt.Component>
getInactiveSelectedItemPainter()
TheMacWidgetsPainter
to use for drawing theSourceList
selection when theSourceList
is in an inactive window.java.awt.Color
getInativeUnselectedBadgeColor()
The color to draw a badge's background with when it's correspondingSourceList
item is unselected and theSourceList
is in an inactive window.java.awt.Color
getSelectedBadgeColor()
The color to draw a badge's background with when it's correspondingSourceList
item is selected.javax.swing.Icon
getSelectedCollapsedIcon()
The icon to use when aSourceList
node is collapsed and selected.javax.swing.Icon
getSelectedExpandedIcon()
The icon to use when aSourceList
node is expanded and selected.java.awt.Color
getSelectedItemFontShadowColor()
The color to draw a selectedSourceList
item's shadow with.java.awt.Color
getSelectedItemTextColor()
The color to draw a selectedSourceList
item with.javax.swing.Icon
getUnselectedCollapsedIcon()
The icon to use when aSourceList
node is collapsed and unselected.javax.swing.Icon
getUnselectedExpandedIcon()
The icon to use when aSourceList
node is expanded and unselected.java.awt.Color
getUnselectedItemTextColor()
The color to draw an unselectedSourceList
item with.
-
-
-
Method Detail
-
getActiveFocusedSelectedItemPainter
MacWidgetsPainter<java.awt.Component> getActiveFocusedSelectedItemPainter()
TheMacWidgetsPainter
to use for drawing theSourceList
selection when theSourceList
is in the active window and has focus.- Returns:
- the
Painter
to use for painting the selection in an active window where theSourceList
has focus.
-
getActiveUnfocusedSelectedItemPainter
MacWidgetsPainter<java.awt.Component> getActiveUnfocusedSelectedItemPainter()
TheMacWidgetsPainter
to use for drawing theSourceList
selection when theSourceList
is in the active window and does not have focus.- Returns:
- the
Painter
to use for painting the selection in an active window where theSourceList
does not have focus.
-
getInactiveSelectedItemPainter
MacWidgetsPainter<java.awt.Component> getInactiveSelectedItemPainter()
TheMacWidgetsPainter
to use for drawing theSourceList
selection when theSourceList
is in an inactive window.- Returns:
- the
Painter
to use for painting the selection in an inactive window.
-
getCategoryTextColor
java.awt.Color getCategoryTextColor()
The color to draw aSourceList
category with.- Returns:
- the color to draw a
SourceList
category textwith.
-
getCategoryTextShadowColor
java.awt.Color getCategoryTextShadowColor()
The color to draw aSourceList
category's shadow with.- Returns:
- the color to draw a
SourceList
category text's shadow with.
-
getUnselectedItemTextColor
java.awt.Color getUnselectedItemTextColor()
The color to draw an unselectedSourceList
item with.- Returns:
- the color to draw an unselected
SourceList
item with.
-
getSelectedItemTextColor
java.awt.Color getSelectedItemTextColor()
The color to draw a selectedSourceList
item with.- Returns:
- the color to draw a selected
SourceList
item with.
-
getSelectedItemFontShadowColor
java.awt.Color getSelectedItemFontShadowColor()
The color to draw a selectedSourceList
item's shadow with.- Returns:
- the color to draw a selected
SourceList
item's shadow with.
-
getActiveBackgroundColor
java.awt.Color getActiveBackgroundColor()
The background color of theSourceList
when it is in an active window.- Returns:
- the background color of the
SourceList
when it is in an active window.
-
getInactiveBackgroundColor
java.awt.Color getInactiveBackgroundColor()
The background color of theSourceList
when it is in an inactive window.- Returns:
- the background color of the
SourceList
when it is in an inactive window.
-
getUnselectedCollapsedIcon
javax.swing.Icon getUnselectedCollapsedIcon()
The icon to use when aSourceList
node is collapsed and unselected.- Returns:
- the icon to use when a
SourceList
node is collapsed and unselected.
-
getUnselectedExpandedIcon
javax.swing.Icon getUnselectedExpandedIcon()
The icon to use when aSourceList
node is expanded and unselected.- Returns:
- the icon to use when a
SourceList
node is expanded and unselected.
-
getSelectedCollapsedIcon
javax.swing.Icon getSelectedCollapsedIcon()
The icon to use when aSourceList
node is collapsed and selected.- Returns:
- the icon to use when a
SourceList
node is collapsed and selected.
-
getSelectedExpandedIcon
javax.swing.Icon getSelectedExpandedIcon()
The icon to use when aSourceList
node is expanded and selected.- Returns:
- the icon to use when a
SourceList
node 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 correspondingSourceList
item 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
SourceList
item is selected
-
getActiveUnselectedBadgeColor
java.awt.Color getActiveUnselectedBadgeColor()
The color to draw a badge's background with when it's correspondingSourceList
item is unselected and theSourceList
is in an active window.- 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
java.awt.Color getInativeUnselectedBadgeColor()
The color to draw a badge's background with when it's correspondingSourceList
item is unselected and theSourceList
is in an inactive window.- 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.
-
-