|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface that must implement all objects that want to be colored.
| Method Summary | |
java.awt.Color |
getBackgroundColor()
Returns the background color of the instance. |
java.awt.Color |
getForegroundColor()
Returns the foreground color of the instance. |
java.awt.Color |
getSelectionColor()
Returns the selection color of the instance. |
void |
setBackgroundColor(java.awt.Color backgroundColor)
Sets the background color of the instance. |
void |
setForegroundColor(java.awt.Color foregroundColor)
Sets the foreground color of the instance. |
void |
setSelectionColor(java.awt.Color selectionColor)
Sets the selection color of the instance. |
| Method Detail |
public void setForegroundColor(java.awt.Color foregroundColor)
foregroundColor - the new color.public java.awt.Color getForegroundColor()
public void setBackgroundColor(java.awt.Color backgroundColor)
backgroundColor - the new color.public java.awt.Color getBackgroundColor()
public void setSelectionColor(java.awt.Color selectionColor)
selectionColor - the new color.public java.awt.Color getSelectionColor()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||