ElegantJCharts Java API Specification v2.0

com.elegantj.graphx.line
Class GraphLineDetail

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

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

Detail for Graph Line like , Color, style etc. Line Width Line Style/Color Line DataPointShape shape : Square, Circle, Triangle, Diamond, Plus, Desh etc

See Also:
Serialized Form

Constructor Summary
GraphLineDetail()
           
 
Method Summary
 int getLinePosition()
          get Line position
 java.util.Vector getLineProperties()
          get Line Properties
 java.awt.Color getLineShadowColor()
          Get Line shadow color
 boolean getLineShadowVisible()
          Get Line shadow is Enable/Disable
 java.lang.String getLineTooltipText()
          get Line Tooltip Text
 int getTransperancyInPercent()
          get transperancy value of color
 void readExternal(java.io.ObjectInput in)
          This method retrieves the state of the bean
 void setLinePosition(int position)
          Set Line Position
 void setLineProperties(java.util.Vector invalue)
          set Line Properties
 void setLineShadowColor(java.awt.Color inColor)
          Set Line shadow color
 void setLineShadowVisible(boolean isVisible)
          Set Line shadow is Enable/Disable
 void setLineTooltipText(java.lang.String tooltip)
          set Line Tooltip text
 void setTransperancyInPercent(int transperancyInPercent)
          set Transperancy in line/strip/point color
 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

GraphLineDetail

public GraphLineDetail()
Method Detail

setLineProperties

public void setLineProperties(java.util.Vector invalue)
set Line Properties


getLineProperties

public java.util.Vector getLineProperties()
get Line Properties

Returns:
Vector LineGraphRowInfo Detailed info about graph lines

setTransperancyInPercent

public void setTransperancyInPercent(int transperancyInPercent)
set Transperancy in line/strip/point color

Parameters:
transperancyInPercent - Percentage of trancparency in color

getTransperancyInPercent

public int getTransperancyInPercent()
get transperancy value of color

Returns:
int Specifying the Percantage of transperancy of color

setLineTooltipText

public void setLineTooltipText(java.lang.String tooltip)
set Line Tooltip text

Parameters:
tooltip - String representing Line tooltip text

getLineTooltipText

public java.lang.String getLineTooltipText()
get Line Tooltip Text

Returns:
String String Object representing Line Tooltip Text

setLinePosition

public void setLinePosition(int position)
Set Line Position

Parameters:
position - (GraphConstants.FRONT/GraphConstants.MIDDLE/GraphConstants.BACK)

getLinePosition

public int getLinePosition()
get Line position

Returns:
int Constant specifying Line position

setLineShadowVisible

public void setLineShadowVisible(boolean isVisible)
Set Line shadow is Enable/Disable

Parameters:
isVisible - shadow of line is Enable/Disable

getLineShadowVisible

public boolean getLineShadowVisible()
Get Line shadow is Enable/Disable

Returns:
boolean shadow of line is Enable or Disable

setLineShadowColor

public void setLineShadowColor(java.awt.Color inColor)
Set Line shadow color

Parameters:
inColor - color for shadow of line

getLineShadowColor

public java.awt.Color getLineShadowColor()
Get Line shadow color

Returns:
Color color for shadow of line

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.