ElegantJCharts Java API Specification v2.0

com.elegantj.graphx.line
Class LineGraphRowInfo

java.lang.Object
  |
  +--com.elegantj.graphx.line.LineGraphRowInfo
All Implemented Interfaces:
java.io.Serializable

public class LineGraphRowInfo
extends java.lang.Object
implements java.io.Serializable

LineGraphTypeObject class provides the basic functionality to render the Graphs Line or Strip

See Also:
Serialized Form

Field Summary
 int m_DataPointShape
          Specifies Line DataPointShape on Line
 java.awt.Color m_LineColor
          Specifies the color of Line
 int m_LineWidth
          Specifies the width of Line
 java.lang.String text
          Specifies the text of the row item
 
Constructor Summary
LineGraphRowInfo()
          Constructor
LineGraphRowInfo(java.awt.Color linecolor, int linewidth, int dpshape, int dpwidth, int dpheight, java.awt.Color dpshapecolor, boolean dpbordervisible, java.awt.Color dpbordercolor, int stripwidth, java.awt.Color stripbrcolor)
          Creates the RowInfo with the specified text, color and style
LineGraphRowInfo(java.lang.String text, java.awt.Color clr, int dpShape, java.awt.Color shapeColor)
          Creates the RowInfo with the specified text, color and style
 
Method Summary
 int getDataPointShape()
          returns DataPointShape
 java.awt.Color getDPShapeBorderColor()
          Get DataPointShape border color
 java.awt.Color getDPShapeColor()
          returns DataPointShape color
 int getDPShapeHeight()
          get height of data point shape
 int getDPShapeWidth()
          get width of data point shape
 java.awt.Color getLineColor()
          get Line Color // fill Color
 int getLineWidth()
          get Line Width
 java.awt.Color getStripBorderColor()
          Get Strip Border color
 int getStripWidth()
          get Strip Width in percentage of 3D Horizontal offset
 boolean isDPShapeBorderVisible()
          Get DataPointShape border visible or not
 void readExternal(java.io.ObjectInput in)
          This method retrieves the state of the bean
 void setDataPointShape(int inValue)
          set DataPointShape
 void setDPShapeBorderColor(java.awt.Color inColor)
          set DataPointShape border color
 void setDPShapeBorderVisible(boolean value)
          set DataPointShape border visible or not
 void setDPShapeColor(java.awt.Color inColor)
          set DataPointShape color
 void setDPShapeHeight(int inValue)
          set height of data point shape
 void setDPShapeWidth(int inValue)
          set width of data point shape
 void setLineColor(java.awt.Color inColor)
          Set Line Color // fill Color
 void setLineWidth(int Width)
          Set Line Width
 void setStripBorderColor(java.awt.Color inColor)
          Set Strip Border color
 void setStripWidth(int Width)
          Set Strip Width in percentage of 3D Horizontal offset
 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
 

Field Detail

text

public java.lang.String text
Specifies the text of the row item


m_LineColor

public java.awt.Color m_LineColor
Specifies the color of Line


m_LineWidth

public int m_LineWidth
Specifies the width of Line


m_DataPointShape

public int m_DataPointShape
Specifies Line DataPointShape on Line

Constructor Detail

LineGraphRowInfo

public LineGraphRowInfo()
Constructor


LineGraphRowInfo

public LineGraphRowInfo(java.lang.String text,
                        java.awt.Color clr,
                        int dpShape,
                        java.awt.Color shapeColor)
Creates the RowInfo with the specified text, color and style


LineGraphRowInfo

public LineGraphRowInfo(java.awt.Color linecolor,
                        int linewidth,
                        int dpshape,
                        int dpwidth,
                        int dpheight,
                        java.awt.Color dpshapecolor,
                        boolean dpbordervisible,
                        java.awt.Color dpbordercolor,
                        int stripwidth,
                        java.awt.Color stripbrcolor)
Creates the RowInfo with the specified text, color and style

Method Detail

setLineWidth

public void setLineWidth(int Width)
Set Line Width

Parameters:
Width -

getLineWidth

public int getLineWidth()
get Line Width


setLineColor

public void setLineColor(java.awt.Color inColor)
Set Line Color // fill Color


getLineColor

public java.awt.Color getLineColor()
get Line Color // fill Color

Returns:
Color Line Color

setDataPointShape

public void setDataPointShape(int inValue)
set DataPointShape


getDataPointShape

public int getDataPointShape()
returns DataPointShape

Returns:
int

setDPShapeWidth

public void setDPShapeWidth(int inValue)
set width of data point shape

Parameters:
inValue - width

getDPShapeWidth

public int getDPShapeWidth()
get width of data point shape


setDPShapeHeight

public void setDPShapeHeight(int inValue)
set height of data point shape

Parameters:
inValue - height

getDPShapeHeight

public int getDPShapeHeight()
get height of data point shape

Returns:
int

setDPShapeColor

public void setDPShapeColor(java.awt.Color inColor)
set DataPointShape color

Parameters:
inColor -

getDPShapeColor

public java.awt.Color getDPShapeColor()
returns DataPointShape color

Returns:
color

setDPShapeBorderVisible

public void setDPShapeBorderVisible(boolean value)
set DataPointShape border visible or not

Parameters:
value - true - border visible otherwise not

isDPShapeBorderVisible

public boolean isDPShapeBorderVisible()
Get DataPointShape border visible or not

Returns:
boolean

setDPShapeBorderColor

public void setDPShapeBorderColor(java.awt.Color inColor)
set DataPointShape border color

Parameters:
inColor -

getDPShapeBorderColor

public java.awt.Color getDPShapeBorderColor()
Get DataPointShape border color

Returns:
color

setStripWidth

public void setStripWidth(int Width)
Set Strip Width in percentage of 3D Horizontal offset

Parameters:
Width -

getStripWidth

public int getStripWidth()
get Strip Width in percentage of 3D Horizontal offset

Returns:
int

setStripBorderColor

public void setStripBorderColor(java.awt.Color inColor)
Set Strip Border color


getStripBorderColor

public java.awt.Color getStripBorderColor()
Get Strip Border color

Returns:
color

readExternal

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

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

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.