|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Defines a set of getters and setters for drawing styles. DrawingStyles are used by Figure and DrawingCanvas to define various attributes.
| Method Summary | |
java.awt.Color |
getBackgroundColor()
Answer the Color to use for the background. |
java.awt.Color |
getFillColor()
Answer the Color to use when filling the figure. |
java.awt.Font |
getFont()
Answer the Font with which to paint text. |
java.awt.Color |
getForegroundColor()
Answer the Color to use for the foreground. |
java.awt.Color |
getHighlightColor()
Answer the Color to use to highlight areas of the canvas. |
java.awt.Color |
getLineColor()
Answer the Color to use when drawing lines. |
java.awt.Color |
getSelectionBackgroundColor()
Answer the Color to use for the background when indicating selection. |
java.awt.Color |
getSelectionForegroundColor()
Answer the Color to use for the foreground when indicating selection. |
java.awt.Color |
getTextColor()
Answer the Color to use when drawing text. |
void |
setBackgroundColor(java.awt.Color color)
Set the Color to use for the background. |
void |
setFillColor(java.awt.Color color)
Set the Color to use when filling the figure. |
void |
setFont(java.awt.Font newFont)
Set the Font with which to paint text |
void |
setForegroundColor(java.awt.Color color)
Set the Color to use for the foreground. |
void |
setHighlightColor(java.awt.Color color)
Set the Color to use to highlight areas of the canvas. |
void |
setLineColor(java.awt.Color color)
Set the Color to use when drawing lines. |
void |
setSelectionBackgroundColor(java.awt.Color color)
Set the Color to use for the background during selection. |
void |
setSelectionForegroundColor(java.awt.Color color)
Set the Color to use for the foreground during selection. |
void |
setTextColor(java.awt.Color color)
Set the Color to use when drawing text. |
| Methods inherited from interface com.rolemodelsoft.drawlet.util.Duplicatable |
duplicate,
duplicateIn,
postDuplicate |
| Method Detail |
public java.awt.Color getBackgroundColor()
public java.awt.Color getFillColor()
public java.awt.Font getFont()
public java.awt.Color getForegroundColor()
public java.awt.Color getHighlightColor()
public java.awt.Color getLineColor()
public java.awt.Color getSelectionBackgroundColor()
public java.awt.Color getSelectionForegroundColor()
public java.awt.Color getTextColor()
public void setBackgroundColor(java.awt.Color color)
color - the colorpublic void setFillColor(java.awt.Color color)
color - the colorpublic void setFont(java.awt.Font newFont)
newFont - the Font to use for textpublic void setForegroundColor(java.awt.Color color)
color - the colorpublic void setHighlightColor(java.awt.Color color)
color - the colorpublic void setLineColor(java.awt.Color color)
color - the colorpublic void setSelectionBackgroundColor(java.awt.Color color)
color - the colorpublic void setSelectionForegroundColor(java.awt.Color color)
color - the colorpublic void setTextColor(java.awt.Color color)
color - the color
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||