ElegantJCharts Java API Specification v2.0

com.elegantj.graphx.line
Class LineGraphExplanNotes

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

public class LineGraphExplanNotes
extends GraphExplanNotes
implements java.io.Serializable

LineGraphExplanNotes class is used to render the explanation notes

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.elegantj.graphx.GraphExplanNotes
BOX_HEIGHT_DECREMENT, BOX_STRING_HGAP, m_Formatter, m_GraphFormTable, m_GraphicsEx, m_GraphZAxisDetail, m_Height, m_inH, m_inV, m_LabelList, m_MaxStrLength, m_NotePosition, m_OriginalClipRect, m_Width, m_ZAxisNameHeight
 
Constructor Summary
LineGraphExplanNotes(GraphicsEx inGraphicsEx, java.awt.Rectangle inOriginalClipRect, GraphZAxisDetail inGraphZAxisDetail, GraphLineDetail inGraphLineDetail, int inPosition, int inMaxStrLength)
          Creates LineGraphExplanNotes with specified graphics and clipping rectange
 
Method Summary
 void draw(GraphicsEx inGraphicsEx, int inH, int inV, int inWidth, int inHeight, java.util.Vector inLabelList, java.util.Vector inGraphFormTable, LineGraphTypeObject inGraphObj)
          Draws the Explanation notes within specified boundary
 void drawLegend(GraphicsEx inGraphicsEx, int index, java.lang.String inLabel, int inX, int inY, int inWidth, int inHeight, int inFontHeight, java.awt.Color inLabelColor, boolean inBkVisible, java.awt.Color inBkColor)
          Draw Legend at specified location
 java.awt.Color getColor(int inIndex, java.util.Vector inGraphFormTable)
          Returns the note color of specified label
 java.awt.Color getColor(java.lang.String inLabel, java.util.Vector inGraphFormTable)
          Returns the note color of specified label
 
Methods inherited from class com.elegantj.graphx.GraphExplanNotes
draw, getClickedZAxisLabel, getGradientColor, getGradientColor, getLineStyle, getLineStyle, getNoteHeight, getNoteNameHeight, getNoteWidth, getWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineGraphExplanNotes

public LineGraphExplanNotes(GraphicsEx inGraphicsEx,
                            java.awt.Rectangle inOriginalClipRect,
                            GraphZAxisDetail inGraphZAxisDetail,
                            GraphLineDetail inGraphLineDetail,
                            int inPosition,
                            int inMaxStrLength)
Creates LineGraphExplanNotes with specified graphics and clipping rectange

Method Detail

draw

public void draw(GraphicsEx inGraphicsEx,
                 int inH,
                 int inV,
                 int inWidth,
                 int inHeight,
                 java.util.Vector inLabelList,
                 java.util.Vector inGraphFormTable,
                 LineGraphTypeObject inGraphObj)
Draws the Explanation notes within specified boundary

Parameters:
inH - X coordinate
inV - Y coordinate
inWidth - Width
inHeight - Height
inLabelList - Z-Axis Labels
inGraphFormTable - Line property vector
inGraphObj - LineGraphTypeObject Object

getColor

public java.awt.Color getColor(int inIndex,
                               java.util.Vector inGraphFormTable)
Returns the note color of specified label

Overrides:
getColor in class GraphExplanNotes
Returns:
Color return color

getColor

public java.awt.Color getColor(java.lang.String inLabel,
                               java.util.Vector inGraphFormTable)
Returns the note color of specified label

Overrides:
getColor in class GraphExplanNotes
Parameters:
inLabel - theLabel
inGraphFormTable - the GraphFormTable
Returns:
color note color of the label

drawLegend

public void drawLegend(GraphicsEx inGraphicsEx,
                       int index,
                       java.lang.String inLabel,
                       int inX,
                       int inY,
                       int inWidth,
                       int inHeight,
                       int inFontHeight,
                       java.awt.Color inLabelColor,
                       boolean inBkVisible,
                       java.awt.Color inBkColor)
Draw Legend at specified location

Overrides:
drawLegend in class GraphExplanNotes

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.