DynamicPDF by ceTe Software

com.cete.dynamicpdf.pageelements.charting
Class Title

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

public class Title
extends java.lang.Object

This class represents title. View Example

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


Constructor Summary
Title(java.lang.String title)
          Initializes a new instance of Title class.
Title(java.lang.String title, Color textColor)
          Initializes a new instance of Title class.
Title(java.lang.String title, Font font, float fontSize)
          Initializes a new instance of Title class.
Title(java.lang.String title, Font font, float fontSize, Color textColor)
          Initializes a new instance of Title class.
 
Method Summary
 Align getAlign()
          Gets the align property of the title.
 float getBottomPadding()
          Gets the bottom padding of the title.
 Font getFont()
          Gets the Font object to use for the font of the the title.
 float getFontSize()
          Gets the font size of the title.
 float getHeight()
          Gets the height of the title.
 float getLeftPadding()
          Gets the left padding of the title.
 float getRightPadding()
          Gets the right padding of the title.
 Color getTextColor()
          Gets the Color object to use for the text color of the title.
 java.lang.String getTitle()
          Gets the text of the title.
 float getTopPadding()
          Gets the top padding of the title.
 float getWidth()
          Gets the width of the title.
 void setAlign(Align align)
          Sets the align property of the title.
 void setBottomPadding(float value)
          Sets the bottom padding of the title.
 void setFont(Font font)
          Sets the Font object to use for the font of the title.
 void setFontSize(float fontSize)
          Sets the font size of the title.
 void setHeight(float height)
          Sets the height of the title.
 void setLeftPadding(float value)
          Sets the left padding of the title.
 void setRightPadding(float value)
          Sets the right padding of the title.
 void setTextColor(Color textColor)
          Sets the Color object to use for the text color of the title.
 void setTitle(java.lang.String title)
          Sets the text of the title.
 void setTopPadding(float value)
          Sets the top Padding of the title.
 void setWidth(float width)
          Sets the width of the title.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Title

public Title(java.lang.String title)
Initializes a new instance of Title class.

Parameters:
title - Text indicating the title.

Title

public Title(java.lang.String title,
             Color textColor)
Initializes a new instance of Title class.

Parameters:
title - Text indicating the title.
textColor - Text Color of the title.
See Also:
Color

Title

public Title(java.lang.String title,
             Font font,
             float fontSize)
Initializes a new instance of Title class.

Parameters:
title - Text indicating the title.
font - Font of the title.
fontSize - Font size of the the title.
See Also:
Font

Title

public Title(java.lang.String title,
             Font font,
             float fontSize,
             Color textColor)
Initializes a new instance of Title class.

Parameters:
title - Text indicating the title.
font - Font of the title.
fontSize - Font size of the title.
textColor - Text Color of the title.
See Also:
Font, Color
Method Detail

getTitle

public java.lang.String getTitle()
Gets the text of the title.

Returns:
text of the title.

setTitle

public void setTitle(java.lang.String title)
Sets the text of the title.

Parameters:
title - the text of the title.

setTopPadding

public void setTopPadding(float value)
Sets the top Padding of the title.

Parameters:
value - the float used to set top padding of the title.

getTopPadding

public float getTopPadding()
Gets the top padding of the title.

Returns:
the float top padding of the title.

setBottomPadding

public void setBottomPadding(float value)
Sets the bottom padding of the title.

Parameters:
value - the float used to set bottom padding of the title.

getBottomPadding

public float getBottomPadding()
Gets the bottom padding of the title.

Returns:
the float bottom padding of the title.

setLeftPadding

public void setLeftPadding(float value)
Sets the left padding of the title.

Parameters:
value - the float used to set left padding of the title.

getLeftPadding

public float getLeftPadding()
Gets the left padding of the title.

Returns:
the float left padding of the title.

setRightPadding

public void setRightPadding(float value)
Sets the right padding of the title.

Parameters:
value - the float used to set right padding of the title.

getRightPadding

public float getRightPadding()
Gets the right padding of the title.

Returns:
the float right padding of the title.

setAlign

public void setAlign(Align align)
Sets the align property of the title.

Parameters:
align - the align property of the title.

getAlign

public Align getAlign()
Gets the align property of the title.

Returns:
the align property of the title.

getFont

public Font getFont()
Gets the Font object to use for the font of the the title.

Returns:
font of the title.
See Also:
Font

setFont

public void setFont(Font font)
Sets the Font object to use for the font of the title.

Parameters:
font - Font object to use for the font of the title.
See Also:
Font

getFontSize

public float getFontSize()
Gets the font size of the title.

Returns:
the float font size of the title.

setFontSize

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

Parameters:
fontSize - the float used to set font size of the title.

getTextColor

public Color getTextColor()
Gets the Color object to use for the text color of the title.

Returns:
text color of the title.
See Also:
Color

setTextColor

public void setTextColor(Color textColor)
Sets the Color object to use for the text color of the title.

Parameters:
textColor - object to use for the text color of the title.
See Also:
Color

getWidth

public float getWidth()
Gets the width of the title.

Returns:
width of the title.

setWidth

public void setWidth(float width)
Sets the width of the title.

Parameters:
width - to set the width of the title.

getHeight

public float getHeight()
Gets the height of the title.

Returns:
height of the title.

setHeight

public void setHeight(float height)
Sets the height of the title.

Parameters:
height - to set the height of the title.

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.07 for Java generated on Aug 12, 2020
© Copyright 2020, ceTe Software