Summ:  Nested Constr. Methods    Details:  Constr. Methods      Class:  Prev Next
com.artfulbits.aiCharts.Base
Class ChartTitle

java.lang.Object com.artfulbits.aiCharts.Base.ChartLayoutElement com.artfulbits.aiCharts.Base.ChartTitle

Declaration: public final class ChartTitle extends ChartLayoutElement
All Interfaces: ILayout.IElement

 

Represents title text element.

 

Since: 1.0

 

 

Nested Members Summary

 

Nested members inherited from class: com.artfulbits.aiCharts.Base.ChartLayoutElement
ChartLayoutElement.Alignment, ChartLayoutElement.Dock

 

 

Constructors Summary
ChartTitle()
    
Initializes a new instance of ChartTile class.
ChartTitle(java.lang.String text)
    
Initializes a new instance of ChartTile class with parameter specified.

 

 

Methods Summary
android.graphics.drawable.Drawable getDrawable()
    
Gets object used to draw text element.
java.lang.String getText()
    
Gets the text represented by this chart element.
android.text.TextPaint getTextPaint()
    
Gets paint that is used to draw this element.
void measure(android.graphics.Point inOutSize)
    
Measures the element.
void setDrawable(android.graphics.drawable.Drawable drawable)
    
Sets object used to draw text element.
void setText(java.lang.String text)
    
Sets the test for specified chart element.

 

Methods inherited from class: com.artfulbits.aiCharts.Base.ChartLayoutElement
getAlignment, getBounds, getDock, getMeasuredHeight, getMeasureWidth, isVisible, layout, setAlignment, setDock, setVisible

 

Methods inherited from class: java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

 

 

 

ChartTitle

 

public ChartTitle( )

 

Initializes a new instance of ChartTile class.

 

Since: 1.0

 

 

 

ChartTitle

 

public ChartTitle( java.lang.String text)

 

Initializes a new instance of ChartTile class with parameter specified.

 

Parameters:
text-
java.lang.String value that represents the text.

 

Since: 1.0

 

 

 

 

getTextPaint

 

public android.text.TextPaint getTextPaint( )

 

Gets paint that is used to draw this element.

 

Returns:
value of TextPaint.

 

Since: 1.0

 

 

 

setText

 

public void setText( java.lang.String text)

 

Sets the test for specified chart element.

 

Parameters:
text-
text value.

 

Since: 1.0

 

 

 

getText

 

public java.lang.String getText( )

 

Gets the text represented by this chart element.

 

Returns:
text value.

 

Since: 1.0

 

 

 

setDrawable

 

public void setDrawable( android.graphics.drawable.Drawable drawable)

 

Sets object used to draw text element.

 

Parameters:
drawable-
instance of android.graphics.drawable.Drawable class.

 

Since: 1.0

 

 

 

getDrawable

 

public android.graphics.drawable.Drawable getDrawable( )

 

Gets object used to draw text element.

 

Returns:
instance of android.graphics.drawable.Drawable class.

 

Since: 1.0

 

 

 

measure

 

public void measure( android.graphics.Point inOutSize)

 

[ description from ILayout.IElement.measure(android.graphics.Point) ]
 
Measures the element.

 

Overrides: ChartLayoutElement.measure(Point)
Implements: ILayout.IElement.measure(Point)

 

 

© 2005 - 2010 ArtfulBits. All rights reserved.