|
||||||||||
| 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.Shape
com.steema.teechart.TextShape
public class TextShape
Title: TextShape class
Description: Base class for Chart shape elements with text
Copyright (c) 2005-2006 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
| Field Summary | |
|---|---|
protected java.lang.String |
defaultText
|
protected boolean |
drawText
|
| Fields inherited from class com.steema.teechart.Shape |
|---|
bBevel, bBorderRound, bBrush, bImageBevel, bTransparent, defaultVisible, pPen, shadow, shapeBounds, visible |
| Fields inherited from class com.steema.teechart.TeeBase |
|---|
chart |
| Constructor Summary | |
|---|---|
TextShape()
|
|
TextShape(IBaseChart c)
|
|
| Method Summary | |
|---|---|
void |
assign(TextShape s)
Assign all properties from a TextShape to another. |
void |
drawRectRotated(IGraphics3D g,
Rectangle rect,
int angle,
int aZ)
Draws the Shape rectangle rotated by Angle degrees. |
ChartFont |
getFont()
Determines the font attributes used to output ShapeSeries. |
java.lang.String[] |
getLines()
Accesses the array of Text lines. |
protected int |
getLinesLength()
|
int |
getShadowSize()
Obsolete. |
TextShapeStyle |
getShapeStyle()
Shape may be rectagular or rounded rectangular in shape. |
java.lang.String |
getText()
Displays customized strings inside Shapes. |
TextFormat |
getTextFormat()
Determines if Text is drawn as Normal or HTML styles. |
void |
paint()
Paints the TextShape object on the Chart Canvas. |
void |
paint(IGraphics3D g,
Rectangle rect)
Paints the TextShape object on the Chart Canvas. |
protected java.lang.Object |
readResolve()
|
void |
setChart(IBaseChart c)
Chart associated with this object. |
void |
setDrawText(boolean value)
|
void |
setLines(java.lang.String[] value)
Accesses the array of Text lines. |
void |
setShadowSize(int value)
Obsolete. |
void |
setShapeStyle(TextShapeStyle value)
Shape may be rectagular or rounded rectangular in shape. |
void |
setText(java.lang.String value)
Displays customized strings inside Shapes. |
void |
setTextFormat(TextFormat value)
|
| Methods inherited from class com.steema.teechart.Shape |
|---|
assign, getBevel, getBevelInner, getBevelOuter, getBevelWidth, getBorderRound, getBottom, getBrush, getColor, getGradient, getHeight, getImage, getImageBevel, getImageMode, getImageTransparent, getLeft, getPen, getRight, getShadow, getShapeBounds, getTop, getTransparency, getTransparent, getVisible, getWidth, setBevel, setBevelInner, setBevelOuter, setBevelWidth, setBorderRound, setBottom, setBrush, setColor, setColor, setDefaultVisible, setHeight, setImage, setImageMode, setImageTransparent, setLeft, setPen, setRight, setShapeBounds, setTop, setTransparency, setTransparent, setVisible, setWidth |
| Methods inherited from class com.steema.teechart.TeeBase |
|---|
getChart, invalidate, 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 |
|---|
protected transient boolean drawText
protected transient java.lang.String defaultText
| Constructor Detail |
|---|
public TextShape()
public TextShape(IBaseChart c)
| Method Detail |
|---|
protected java.lang.Object readResolve()
public void setChart(IBaseChart c)
Shape
setChart in class Shapec - IBaseChartpublic TextShapeStyle getShapeStyle()
public void setDrawText(boolean value)
public void setShapeStyle(TextShapeStyle value)
value - TextShapeStylepublic TextFormat getTextFormat()
public void setTextFormat(TextFormat value)
public int getShadowSize()
public void setShadowSize(int value)
value - intprotected int getLinesLength()
public java.lang.String getText()
public void setText(java.lang.String value)
value - Stringpublic java.lang.String[] getLines()
public void setLines(java.lang.String[] value)
value - String[]public ChartFont getFont()
public void assign(TextShape s)
s - TextShapepublic void paint()
public void paint(IGraphics3D g,
Rectangle rect)
paint in class Shapeg - IGraphics3Drect - Rectangle
public void drawRectRotated(IGraphics3D g,
Rectangle rect,
int angle,
int aZ)
g - IGraphics3Drect - Rectangleangle - intaZ - int
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||