ElegantJCharts Java API Specification v2.0

com.elegantj.graphx
Class GraphTitleDetail

java.lang.Object
  |
  +--com.elegantj.graphx.GraphTitleDetail
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable

public class GraphTitleDetail
extends java.lang.Object
implements java.io.Externalizable

Detail for Graph Title like Title text, Color, Font etc. Title Visible/Hide Title String Title Maximum number of lines Title Font Title Font Color Title Background is Visible/Hide Title Background Color Title Border is Visible/Hide Title Border Style/Color Title String Wrap(first word then character) Title Alignment (LEFT/CENTER/RIGHT) & Position (TOP/BOTTOM)

See Also:
Serialized Form

Constructor Summary
GraphTitleDetail()
          Constructor
 
Method Summary
 java.lang.String getGraphTitle()
          this method retrieves the Title Of Graph
 int getGraphTitleAlign()
          Title Of Graph can be aligned using this method
 java.awt.Color getGraphTitleBackground()
          Background Color of the Title Of Graph can be retrieved with this method
 boolean getGraphTitleBackgroundVisible()
          Background of the Title of the Graph can be madeVisible with this method
 java.awt.Color getGraphTitleBorderColor()
          Graph Border Color can be retrieved with this method
 int getGraphTitleBorderStyle()
          This method can be used to get Title Border style
 int getGraphTitleBorderWidth()
          get Graph Border width with this method
 java.awt.Font getGraphTitleFont()
          the font for the Title Of Graph can be retrieved with this method
 java.awt.Color getGraphTitleForeground()
          Get Title Of Graph Color using this method
 int getGraphTitleMaxLine()
          The Maximum number of lines that you want to display the Graph Title in can be retrieved with this method
 java.awt.Color getGraphTitleShadowColor()
          get Graph Shadow Color with this method
 int getGraphTitleShadowStyle()
          Title Shadow style can be retrieved with this method
 int getGraphTitleShadowWidth()
          get Graph Title Shadow width with this method
 boolean getGraphTitleVisible()
          Title Of Graph can be retrieved to be Visible with this method
 void readExternal(java.io.ObjectInput in)
          This method retrieves the state of the bean
 void setGraphTitle(java.lang.String label)
          Set Title Of Graph
 void setGraphTitleAlign(int align)
          Set Title Of Graph Align
 void setGraphTitleBackground(java.awt.Color labelcolor)
          Set Title Of Graph Background Color
 void setGraphTitleBackgroundVisible(boolean visible)
          Set Title Of Graph Background Visible
 void setGraphTitleBorderColor(java.awt.Color inColor)
          set Graph Border Color
 void setGraphTitleBorderStyle(int style)
          set Title Border style
 void setGraphTitleBorderWidth(int width)
          set Graph Border Width
 void setGraphTitleFont(java.awt.Font labelfont)
          Set Title Of Graph Font
 void setGraphTitleForeground(java.awt.Color labelcolor)
          Set Title Of Graph Color
 void setGraphTitleMaxLine(int max)
          set Graph Title Maximum number of lines
 void setGraphTitleShadowColor(java.awt.Color inColor)
          set Graph Title Shadow Color
 void setGraphTitleShadowStyle(int style)
          set Title Shadow style
 void setGraphTitleShadowWidth(int width)
          set Graph Title Shadow Width
 void setGraphTitleVisible(boolean visible)
          Set Title Of Graph Visible
 void writeExternal(java.io.ObjectOutput out)
          This method saves the state of the bean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphTitleDetail

public GraphTitleDetail()
Constructor

Method Detail

setGraphTitleVisible

public void setGraphTitleVisible(boolean visible)
Set Title Of Graph Visible

Parameters:
visible - if true then Title is visible otherwize not

getGraphTitleVisible

public boolean getGraphTitleVisible()
Title Of Graph can be retrieved to be Visible with this method

Returns:
boolean true - Graph Title is visible otherwize not

setGraphTitle

public void setGraphTitle(java.lang.String label)
Set Title Of Graph

Parameters:
label - String representing Title name

getGraphTitle

public java.lang.String getGraphTitle()
this method retrieves the Title Of Graph

Returns:
String String Object representing Title name

setGraphTitleMaxLine

public void setGraphTitleMaxLine(int max)
set Graph Title Maximum number of lines

Parameters:
max - Maximum number of Graph Title lines

getGraphTitleMaxLine

public int getGraphTitleMaxLine()
The Maximum number of lines that you want to display the Graph Title in can be retrieved with this method

Returns:
int Maximum number of Graph Title lines

setGraphTitleFont

public void setGraphTitleFont(java.awt.Font labelfont)
Set Title Of Graph Font

Parameters:
labelfont - font style for Title name

getGraphTitleFont

public java.awt.Font getGraphTitleFont()
the font for the Title Of Graph can be retrieved with this method

Returns:
Font Specifies Title name Font Style

setGraphTitleForeground

public void setGraphTitleForeground(java.awt.Color labelcolor)
Set Title Of Graph Color

Parameters:
labelcolor - Foregound Color for Title

getGraphTitleForeground

public java.awt.Color getGraphTitleForeground()
Get Title Of Graph Color using this method

Returns:
Color Foreground Color of Title

setGraphTitleBackgroundVisible

public void setGraphTitleBackgroundVisible(boolean visible)
Set Title Of Graph Background Visible

Parameters:
visible - if true then Title Backgound is drawn otherwise not

getGraphTitleBackgroundVisible

public boolean getGraphTitleBackgroundVisible()
Background of the Title of the Graph can be madeVisible with this method

Returns:
boolean true if Title Background is Drawn otherwise false

setGraphTitleBackground

public void setGraphTitleBackground(java.awt.Color labelcolor)
Set Title Of Graph Background Color

Parameters:
labelcolor - Background Color for Title

getGraphTitleBackground

public java.awt.Color getGraphTitleBackground()
Background Color of the Title Of Graph can be retrieved with this method

Returns:
Color Background Color of Title

setGraphTitleBorderStyle

public void setGraphTitleBorderStyle(int style)
set Title Border style

Parameters:
style - Title Border style

getGraphTitleBorderStyle

public int getGraphTitleBorderStyle()
This method can be used to get Title Border style

Returns:
int Title Border style

setGraphTitleBorderWidth

public void setGraphTitleBorderWidth(int width)
set Graph Border Width

Parameters:
width - Title Border width

getGraphTitleBorderWidth

public int getGraphTitleBorderWidth()
get Graph Border width with this method

Returns:
int Title Border width

setGraphTitleBorderColor

public void setGraphTitleBorderColor(java.awt.Color inColor)
set Graph Border Color

Parameters:
inColor - Title Border color

getGraphTitleBorderColor

public java.awt.Color getGraphTitleBorderColor()
Graph Border Color can be retrieved with this method

Returns:
Color Title Border Color

setGraphTitleShadowStyle

public void setGraphTitleShadowStyle(int style)
set Title Shadow style

Parameters:
style - Title Shadow style

getGraphTitleShadowStyle

public int getGraphTitleShadowStyle()
Title Shadow style can be retrieved with this method

Returns:
int Title Shadow style

setGraphTitleShadowWidth

public void setGraphTitleShadowWidth(int width)
set Graph Title Shadow Width

Parameters:
width - Title Shadow width

getGraphTitleShadowWidth

public int getGraphTitleShadowWidth()
get Graph Title Shadow width with this method

Returns:
int Title Shadow width

setGraphTitleShadowColor

public void setGraphTitleShadowColor(java.awt.Color inColor)
set Graph Title Shadow Color

Parameters:
inColor - Title Shadow color

getGraphTitleShadowColor

public java.awt.Color getGraphTitleShadowColor()
get Graph Shadow Color with this method

Returns:
Color Title Shadow Color

setGraphTitleAlign

public void setGraphTitleAlign(int align)
Set Title Of Graph Align

Parameters:
align - Alignment of Title

getGraphTitleAlign

public int getGraphTitleAlign()
Title Of Graph can be aligned using this method

Returns:
int Alignment of Title

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.lang.ClassNotFoundException,
                         java.io.IOException
This method retrieves the state of the bean

Specified by:
readExternal in interface java.io.Externalizable
java.lang.ClassNotFoundException
java.io.IOException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
This method saves the state of the bean

Specified by:
writeExternal in interface java.io.Externalizable
java.io.IOException

ElegantJCharts Java API Specification v2.0

For any feedback, suggestion, or query, please revert back to support@elegantcharts.com

Copyright(c)
Elegant Microweb Technologies Pvt. Ltd.
www.elegantmicroweb.com
www.elegantjcharts.com
All Rights Reserved.