public final class

ChartLegendItem.TextCell

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

Class Overview

Represents text cell class.

Summary

Public Methods
Alignment getHorizontalAlignment()
Gets current horizontal alignment applied to this legend item.
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(String text)
Sets cell text.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public Alignment getHorizontalAlignment ()

Gets current horizontal alignment applied to this legend item.

Returns
  • instance of Alignment identifying item's alignment.

public String getText ()

Gets cell text.

Returns
  • cell text.

public Alignment getVerticalAlignment ()

Gets current vertical alignment applied to this legend item.

Returns
  • instance of Alignment identifying item's alignment.

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.

public void setText (String text)

Sets cell text.