public interface ColorProvider
extends java.io.Serializable
Border
implementations to obtain border colors which might change depending on the current Look and Feel or which component
the border is painted on.| Modifier and Type | Method and Description |
|---|---|
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.
|
java.awt.Color getColor()
java.awt.Color getColor(java.awt.Component component)
component - the component