public interface DataviewFont
GraphFont
, for use with a ToolBar
that affects a graph.Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getGraphFontColor()
Retrieves the color of a graph font.
|
int |
getGraphFontStyle()
Retrieves the style of a graph font.
|
void |
setGraphFontColor(java.awt.Color color)
Specifies the color of a graph font.
|
void |
setGraphFontStyle(int style)
Specifies the font style in a graph.
|
java.awt.Color getGraphFontColor()
void setGraphFontColor(java.awt.Color color)
color
- The font color.int getGraphFontStyle()
BaseGraphComponent.FS_BOLD
,
BaseGraphComponent.FS_BOLD_ITALIC_UNDERLINE
,
BaseGraphComponent.FS_BOLD_UNDERLINE
,
BaseGraphComponent.FS_ITALIC
,
BaseGraphComponent.FS_ITALIC_BOLD
,
BaseGraphComponent.FS_ITALIC_UNDERLINE
,
BaseGraphComponent.FS_PLAIN
,
BaseGraphComponent.FS_UNDERLINE
void setGraphFontStyle(int style)
style
- A constant that represents the font style.BaseGraphComponent.FS_BOLD
,
BaseGraphComponent.FS_BOLD_ITALIC_UNDERLINE
,
BaseGraphComponent.FS_BOLD_UNDERLINE
,
BaseGraphComponent.FS_ITALIC
,
BaseGraphComponent.FS_ITALIC_BOLD
,
BaseGraphComponent.FS_ITALIC_UNDERLINE
,
BaseGraphComponent.FS_PLAIN
,
BaseGraphComponent.FS_UNDERLINE