|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.steema.teechart.TeeBase
com.steema.teechart.drawing.ChartFont
public final class ChartFont
Title: ChartFont class
Description: Common Chart Font. Font methods used at several objects.
Copyright (c) 2005-2008 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Field Summary | |
---|---|
static java.lang.String |
DEFAULTFAMILY
|
static int |
DEFAULTSIZE
|
Fields inherited from class com.steema.teechart.TeeBase |
---|
chart |
Constructor Summary | |
---|---|
ChartFont(IBaseChart c)
|
Method Summary | |
---|---|
void |
assign(ChartFont f)
|
boolean |
getBold()
Bold Font for text. Default value: false |
ChartBrush |
getBrush()
Sets the Brush characteristics of the font. |
Color |
getColor()
Defines a Font colour for text. |
java.awt.Font |
getDrawingFont()
|
Gradient |
getGradient()
Applies a gradient fill to the font. |
boolean |
getItalic()
Italic Font (true or false) for text. Default value: false |
java.lang.String |
getName()
Defines a Font type for text. Default value: Arial |
ChartPen |
getOutline()
|
Shadow |
getShadow()
Accesses the shadow properties of the font. |
int |
getSize()
The Font size (in points) for text. When managing Font sizes of Drawing Canvas custom outputted text relative to Chart text (titles, labels, etc.), use Font.Height to size the Canvas text. |
boolean |
getStrikeout()
Font Strikeout on/off. Default value: false |
boolean |
getUnderline()
Underline Font for text. Default value: false |
void |
invalidate()
Use Invalidate when the entire canvas needs to be repainted. When more than one region within the canvas needs repainting, Invalidate will cause the entire window to be repainted in a single pass, avoiding flicker caused by redundant repaints. There is no performance penalty for calling Invalidate multiple times before the control is actually repainted. |
void |
reset()
|
void |
setBold(boolean value)
Sets Font bold for text. Default value: false |
void |
setChart(IBaseChart c)
Chart associated with this object. |
void |
setColor(Color value)
Defines a Font colour for text. |
void |
setColor(java.awt.Color value)
|
void |
setItalic(boolean value)
Sets Font italic (true or false) for text. Default value: false |
void |
setName(java.lang.String value)
Specifies a Font type for text. Default value: Arial |
void |
setSize(int value)
Sets Font sizing (in points) for text. Default value: 8 |
void |
setStrikeout(boolean value)
Sets Font Strikeout on/off. Default value: false |
void |
setUnderline(boolean value)
Sets Font underline on/off. Default value: false |
boolean |
shouldDrawShadow()
|
Methods inherited from class com.steema.teechart.TeeBase |
---|
getChart, setBooleanProperty, setColorProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final transient int DEFAULTSIZE
public static final transient java.lang.String DEFAULTFAMILY
Constructor Detail |
---|
public ChartFont(IBaseChart c)
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String value)
value
- Stringpublic void invalidate()
invalidate
in class TeeBase
public int getSize()
public void setSize(int value)
value
- intpublic boolean getBold()
public void setBold(boolean value)
value
- booleanpublic void reset()
public boolean getItalic()
public void setItalic(boolean value)
value
- booleanpublic boolean getUnderline()
public void setUnderline(boolean value)
value
- booleanpublic boolean getStrikeout()
public void setStrikeout(boolean value)
value
- booleanpublic Color getColor()
public void setColor(Color value)
value
- Colorpublic void setColor(java.awt.Color value)
public Gradient getGradient()
public Shadow getShadow()
public boolean shouldDrawShadow()
public void assign(ChartFont f)
public java.awt.Font getDrawingFont()
public void setChart(IBaseChart c)
TeeBase
setChart
in class TeeBase
c
- IBaseChartpublic ChartBrush getBrush()
public ChartPen getOutline()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |