public class Title extends TextShapePosition
Title: Title class
Description: Underlying Title characteristics.
Copyright (c) 2005-2013 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
onTop |
bCustomPositiondefaultText, drawTextbBevel, bBorderRound, bBrush, bImageBevel, bTransparent, defaultVisible, pPen, shadow, shapeBounds, visiblechart, InternalUse| Constructor and Description |
|---|
Title(IBaseChart c) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
clicked(int x,
int y)
Returns if mouse cursor is inside TChartTitle bound rectangle.
The Title.Visible property must be true. |
boolean |
clicked(Point p)
Returns if mouse cursor is inside TChartTitle bound rectangle.
The Title.Visible property must be true. |
protected Rectangle |
doDraw(IGraphics3D g,
Rectangle rect,
boolean customOnly) |
protected Rectangle |
draw(IGraphics3D g,
Rectangle rect) |
boolean |
getAdjustFrame()
Resizes Header and Footer frames to full Chart dimensions when true.
When false it resizes to the Title text width. |
StringAlignment |
getAlignment()
Determines how tChart Header and Footer text will be aligned within the
Chart rectangle.
|
protected java.lang.Object |
readResolve() |
void |
setAdjustFrame(boolean value)
Resizes Header and Footer frames to full Chart dimensions when true.
When false it resizes to the Title text width. |
void |
setAlignment(StringAlignment value)
Sets how tChart Header and Footer text will be aligned within the
Chart rectangle.
|
getCustomPosition, setCustomPosition, shouldSerializeBottom, shouldSerializeLeft, shouldSerializeRight, shouldSerializeTopassign, drawRectRotated, drawString, drawText, getAutoSize, getFont, getLines, getLinesLength, getShadowSize, getShapeStyle, getText, getTextFormat, paint, paint, paint, setAutoSize, setChart, setDrawText, setLines, setShadowSize, setShapeStyle, setText, setTextFormatassign, 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, setDefaultVisible, setHeight, setImage, setImageMode, setImageTransparent, setLeft, setPen, setRight, setShapeBounds, setTop, setTransparency, setTransparent, setVisible, setWidthgetChart, invalidate, setBooleanProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringPropertypublic Title(IBaseChart c)
protected java.lang.Object readResolve()
readResolve in class TextShapepublic boolean getAdjustFrame()
public void setAdjustFrame(boolean value)
value - booleanpublic StringAlignment getAlignment()
public void setAlignment(StringAlignment value)
value - StringAlignmentpublic boolean clicked(Point p)
p - Pointpublic boolean clicked(int x,
int y)
x - inty - intprotected Rectangle doDraw(IGraphics3D g, Rectangle rect, boolean customOnly)
protected Rectangle draw(IGraphics3D g, Rectangle rect)