public class Title extends TextShapePosition
Title: Title class
Description: Underlying Title characteristics.
Copyright (c) 2005-2019 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Modifier and Type | Field and Description |
---|---|
protected boolean |
onTop |
bCustomPosition
defaultText, drawText
bBevel, bBorderRound, bBrush, bImageBevel, bTransparent, defaultVisible, pPen, shadow, shapeBounds, visible
chart, 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, shouldSerializeTop
assign, drawRectRotated, drawString, drawText, getAutoSize, getFont, getLines, getLinesLength, getShadowSize, getShapeStyle, getText, getTextFormat, paint, paint, paint, setAutoSize, setChart, setDrawText, setLines, setShadowSize, setShapeStyle, setText, setTextFormat
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, setDefaultVisible, setHeight, setImage, setImageMode, setImageTransparent, setLeft, setPen, setRight, setShapeBounds, setTop, setTransparency, setTransparent, setVisible, setWidth
getChart, invalidate, setBooleanProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
public Title(IBaseChart c)
protected java.lang.Object readResolve()
readResolve
in class TextShape
public 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)