DynamicPDF by ceTe Software

com.cete.dynamicpdf.pageelements.charting
Class LegendLabel

java.lang.Object
  extended by com.cete.dynamicpdf.pageelements.charting.LegendLabel

public class LegendLabel
extends java.lang.Object

Represents a legend label.

Licensing:
This is a DynamicPDF Generator Enterprise Edition feature. One of the following licenses is required for non-evaluation usage:


Method Summary
 TextAlign getAlign()
          Gets the legend label alignment.
 Font getFont()
          Gets the Font of the Legend label.
 float getFontSize()
          Gets the fontSize of the Legend label.
 float getRequiredWidth()
          Gets the required width of the Legend label.
 float getSymbolWidth()
          Gets the legend label's symbol width.
 java.lang.String getText()
          Gets the text of the legend label.
 Color getTextColor()
          Gets the color of the Legend label text.
 boolean getVisible()
          Gets the visible property of the Legend label.
 void setAlign(TextAlign textAlign)
          Sets the legend label alignment.
 void setFont(Font font)
          Sets the Font of the Legend abel.
 void setFontSize(float fontSize)
          Sets the font size of the Legend label.
 void setSymbolWidth(float width)
          Sets the legend label's symbol width.
 void setText(java.lang.String text)
          Sets the text of the legend label.
 void setTextColor(Color textColor)
          Sets the Color of the Legend label text.
 void setVisible(boolean value)
          Sets the visible property of the Legend label.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAlign

public TextAlign getAlign()
Gets the legend label alignment.

Returns:
TextAlign The legend label alignment.

setAlign

public void setAlign(TextAlign textAlign)
Sets the legend label alignment.

Parameters:
textAlign - The legend label alignment.

getText

public java.lang.String getText()
Gets the text of the legend label.

Returns:
String The text of the legend label.

setText

public void setText(java.lang.String text)
Sets the text of the legend label.

Parameters:
text - The text of the legend label.

getSymbolWidth

public float getSymbolWidth()
Gets the legend label's symbol width.

Returns:
float The symbolWidth of the legend label.

setSymbolWidth

public void setSymbolWidth(float width)
Sets the legend label's symbol width.

Parameters:
width - The symbol width of the legend Label.

getRequiredWidth

public float getRequiredWidth()
Gets the required width of the Legend label.

Returns:
float The required width of the Legend label.

setVisible

public void setVisible(boolean value)
Sets the visible property of the Legend label.

Parameters:
value - The visible property of the Legend label.

getVisible

public boolean getVisible()
Gets the visible property of the Legend label.

Returns:
boolean The visible property of the Legend label.

getFont

public Font getFont()
Gets the Font of the Legend label.

Returns:
Font The font of the Legend Label.
See Also:
Font

setFont

public void setFont(Font font)
Sets the Font of the Legend abel.

Parameters:
font - The font of the Legend label.
See Also:
Font

getFontSize

public float getFontSize()
Gets the fontSize of the Legend label.

Returns:
float The fontSize of the Legend label.

setFontSize

public void setFontSize(float fontSize)
Sets the font size of the Legend label.

Parameters:
fontSize - The font Size of the Legend label.

getTextColor

public Color getTextColor()
Gets the color of the Legend label text.

Returns:
Color The color of the Legend label text.

setTextColor

public void setTextColor(Color textColor)
Sets the Color of the Legend label text.

Parameters:
textColor - The color of the Legend label text.
See Also:
Color

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.04 for Java generated on September 25, 2019
© Copyright 2019, ceTe Software