Summ:  Methods    Details:  Methods      Class:  Prev Next
com.artfulbits.aiCharts.Base
Class ChartLegendItem.TextCell

java.lang.Object com.artfulbits.aiCharts.Base.ChartLegendItem.Cell com.artfulbits.aiCharts.Base.ChartLegendItem.TextCell

Declaration: public final class ChartLegendItem.TextCell extends ChartLegendItem.Cell
Enclosing Class: ChartLegendItem

 

Represents text cell class.

 

Since: 1.0

 

 

Methods Summary
int getHorizontalAlignment()
    
Gets current horizontal alignment applied to this legend item.
java.lang.String getText()
    
Gets cell text.
int getVerticalAlignment()
    
Gets current vertical alignment applied to this legend item.
void setAlignment(int horizontal, int vertical)
    
Sets the alignment for this legend item.
void setText(java.lang.String text)
    
Sets cell text.

 

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

 

 

 

 

setText

 

public void setText( java.lang.String text)

 

Sets cell text.

 

Parameters:
text-

 

 

 

getText

 

public java.lang.String getText( )

 

Gets cell text.

 

Returns:
text.

 

 

 

setAlignment

 

public void setAlignment( int horizontal,
int vertical)

 

Sets the alignment for this legend item.

 

Parameters:
horizontal-
item's horizontal alignment.
vertical-
item's vertical alignment.

 

See also: getHorizontalAlignment()getVerticalAlignment()

 

 

 

getHorizontalAlignment

 

public int getHorizontalAlignment( )

 

Gets current horizontal alignment applied to this legend item.

 

Returns:
value of Alignment identifying item's alignment.

 

See also: setAlignment(int,int)

 

 

 

getVerticalAlignment

 

public int getVerticalAlignment( )

 

Gets current vertical alignment applied to this legend item.

 

Returns:
value of Alignment identifying item's alignment.

 

See also: setAlignment(int,int)

 

 

© 2005 - 2010 ArtfulBits. All rights reserved.