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.5

 

 

Methods Summary
Alignment getHorizontalAlignment()
    
Gets current horizontal alignment applied to this legend item.
java.lang.String getText()
    
Gets cell text.
Alignment getVerticalAlignment()
    
Gets current vertical alignment applied to this legend item.
void setAlignment(Alignment horizontal, Alignment 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:
cell text.

 

 

 

setAlignment

 

public void setAlignment( Alignment horizontal,
Alignment 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 Alignment getHorizontalAlignment( )

 

Gets current horizontal alignment applied to this legend item.

 

Returns:
instance of Alignment identifying item's alignment.

 

See also: setAlignment(Alignment,Alignment)

 

 

 

getVerticalAlignment

 

public Alignment getVerticalAlignment( )

 

Gets current vertical alignment applied to this legend item.

 

Returns:
instance of Alignment identifying item's alignment.

 

See also: setAlignment(Alignment,Alignment)

 

 

© 2005 - 2010 ArtfulBits. All rights reserved.