|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ColorProvider
An object that provides colors. Instances of this class is typically used by Border
implementations to obtain border colors which might change depending on the current Look and Feel or which component
the border is painted on.
Method Summary | |
---|---|
java.awt.Color |
getColor()
Returns the default color when no component is available. |
java.awt.Color |
getColor(java.awt.Component component)
Returns the color obtained from the given component. |
Method Detail |
---|
java.awt.Color getColor()
java.awt.Color getColor(java.awt.Component component)
component
- the component
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |