|
||||||||||
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-2013 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, InternalUse |
Constructor Summary | |
---|---|
ChartFont(IBaseChart c)
|
Method Summary | |
---|---|
void |
assign(ChartFont f)
|
boolean |
getBold()
Bold Font for text. |
ChartBrush |
getBrush()
Sets the Brush characteristics of the font. |
Color |
getColor()
Defines a Font color for text. |
double |
getDrawingFontSize()
|
Gradient |
getGradient()
Applies a gradient fill to the font. |
boolean |
getItalic()
Italic Font (true or false) for text. |
java.lang.String |
getName()
Defines a Font type for text. |
ChartPen |
getOutline()
|
Shadow |
getShadow()
Accesses the shadow properties of the font. |
int |
getSize()
The Font size (in points) for text. |
boolean |
getStrikeout()
Font Strikeout on/off. |
boolean |
getUnderline()
Underline Font for text. |
void |
hideOutline()
|
void |
hideShadow()
|
void |
invalidate()
Use Invalidate when the entire canvas needs to be repainted. |
void |
reset()
|
void |
setBold(boolean value)
Sets Font bold for text. |
void |
setChart(IBaseChart c)
Chart associated with this object. |
void |
setColor(Color value)
Defines a Font color for text. |
void |
setItalic(boolean value)
Sets Font italic (true or false) for text. |
void |
setName(java.lang.String value)
Specifies a Font type for text. |
void |
setSize(int value)
Sets Font sizing (in points) for text. |
void |
setStrikeout(boolean value)
Sets Font Strikeout on/off. |
void |
setUnderline(boolean value)
Sets Font underline on/off. |
boolean |
shouldDrawShadow()
|
Methods inherited from class com.steema.teechart.TeeBase |
---|
getChart, setBooleanProperty, 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 Gradient getGradient()
public Shadow getShadow()
public boolean shouldDrawShadow()
public void assign(ChartFont f)
public void setChart(IBaseChart c)
TeeBase
setChart
in class TeeBase
c
- IBaseChartpublic ChartBrush getBrush()
public ChartPen getOutline()
public double getDrawingFontSize()
public void hideOutline()
public void hideShadow()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |