|
ElegantJCharts Java API Specification v2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.elegantj.graphx.GraphTypeObject
|
+--com.elegantj.graphx.line.LineGraphTypeObject
|
+--com.elegantj.graphx.scatter.XYScatterGraphTypeObject
|
+--com.elegantj.graphx.bubble.BubbleGraphTypeObject
BubbleGraphTypeObject class provides the basic functionality to render the Graphs line
| Field Summary | |
protected BubbleGraph |
m_BubbleGraph
Specifies BubbleGraph Object |
protected BubbleGraphExplanNotes |
m_BubbleGraphExplanNotes
Specifies the graph explanation notes |
protected double |
m_BubbleMaxSizeValue
Specifies the Bubble Max Size Value |
protected double |
m_BubbleMinSizeValue
Specifies the Bubble Min Size Value |
protected java.awt.Rectangle |
m_BubbleRectangle
Specifies Bubble Rectangle |
protected java.awt.Rectangle |
m_ClipRectangle
Specifies GraphFrontRectangle |
protected GraphBubbleDetail |
m_GraphBubbleDetail
Specifies GraphBubbleDetail Object |
protected java.util.Vector |
m_VBubbleSet
contain all Bubble |
| Fields inherited from class com.elegantj.graphx.scatter.XYScatterGraphTypeObject |
m_MinusXClipLabels, m_PlusXClipLabels, m_XAbsGradLabel, m_XClipLabels, m_XMaxLabelValue, m_XMinLabelValue, m_XYScatterGraph |
| Fields inherited from class com.elegantj.graphx.GraphTypeObject |
m_GraphicsEx |
| Constructor Summary | |
BubbleGraphTypeObject(BubbleGraph inGraphMain)
Creates the BubbleGraphTypeObject with specified BubbleGraph object |
|
| Method Summary | |
java.awt.Rectangle |
drawBubble(GraphicsEx m_gx,
int left,
int top,
int width,
int height,
int lineWidth,
java.awt.Color theColor,
java.awt.Color theGradientColor,
java.awt.Color theBorderColor,
boolean IsBorder,
boolean IsGradient)
Draw Bubble with 2d/3dEffect/Border & fill with color/GradientColor |
protected void |
drawExplanNotes()
Draws the explanation notes |
void |
drawGraph()
Draws the Graph |
boolean |
drawMouseOverEffect(GraphicsEx inGraphicsEx,
DrillDownDetail inDDD,
boolean isMOEDraw,
boolean isMOTDraw,
boolean isRestore)
This method returns true If any shape is drawn on given graphics Object otherwize false |
java.awt.Rectangle |
drawMouseOverText(GraphicsEx inGraphicsEx,
DrillDownDetail inDDD,
int inH,
int inV,
int inWidth,
int inHeight)
This method draws mouse over Text |
java.awt.Rectangle |
drawStaticMouseOverText(GraphicsEx inGraphicsEx)
This method draws Static mouse over Text |
DrillDownDetail |
getClickedXAxisLabel(int click_x,
int click_y)
If Given Point on X axis Label then it will Return Drilldowndetail Object Otherwise Return null |
DrillDownDetail |
getDrillDetail(int click_x,
int click_y)
If Given Point on Graph then it will Return Drilldowndetail Object Otherwise Return null (Common function for 2D and 3D Graph) |
DrillDownDetail |
getDrillDownDetail(GraphicsEx inGraphicsEx,
int click_x,
int click_y)
If Given Point on Graph then it will Return Drilldowndetail Object and draw mouse over effect and mouse over text Otherwise Return null |
int |
getSeriesIndex(int click_x)
Return Series Index near to given horizontal distance |
protected void |
init(GraphPanel inGraphPanel)
Initialization of Graph |
void |
initFields()
Initialization of the fields |
void |
setBubbleMaxSizeValue()
set Bubble Maximum size Value |
void |
setBubbleMinSizeValue()
set Bubble Minimum size Value |
| Methods inherited from class com.elegantj.graphx.scatter.XYScatterGraphTypeObject |
drawXAxisGridAndTick, drawXAxisLabels, drawXAxisLine, getDrillDownDetail, getGraphAreaPolygon, setMouseOverPoint |
| Methods inherited from class com.elegantj.graphx.line.LineGraphTypeObject |
calcLinePoints, computeSplineSlopePoints, DraeDataPointShape, drawGraph, drawGraphAreaBackground, DrawLineGraph, DrawLineGraphShadow, drawMouseOverText, DrawPointGraph, DrawStripGraph, DrawStyledGraphLine, drawTitle, drawYAxisGridAndTick, drawYAxisLabels, drawYAxisLine, getClickedYAxisLabel, getPolygon, getPolygon, getPreferredSize, getTickAt, getTickHeight, initTitle, reDrawing, ZoomIn_DataPointShape |
| Methods inherited from class com.elegantj.graphx.GraphTypeObject |
initDrawing |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected BubbleGraph m_BubbleGraph
protected GraphBubbleDetail m_GraphBubbleDetail
protected BubbleGraphExplanNotes m_BubbleGraphExplanNotes
protected double m_BubbleMaxSizeValue
protected double m_BubbleMinSizeValue
protected java.awt.Rectangle m_ClipRectangle
protected java.util.Vector m_VBubbleSet
protected java.awt.Rectangle m_BubbleRectangle
| Constructor Detail |
public BubbleGraphTypeObject(BubbleGraph inGraphMain)
throws GraphException
| Method Detail |
protected void init(GraphPanel inGraphPanel)
throws GraphException
init in class XYScatterGraphTypeObjectGraphException
public void initFields()
throws GraphException
initFields in class XYScatterGraphTypeObjectGraphExceptionpublic void setBubbleMaxSizeValue()
public void setBubbleMinSizeValue()
public void drawGraph()
drawGraph in class XYScatterGraphTypeObject
public java.awt.Rectangle drawBubble(GraphicsEx m_gx,
int left,
int top,
int width,
int height,
int lineWidth,
java.awt.Color theColor,
java.awt.Color theGradientColor,
java.awt.Color theBorderColor,
boolean IsBorder,
boolean IsGradient)
m_gx - instance of GraphicsExleft - left corner point of ovallineWidth - border Width of the bubbletheColor - bubble fill with thecolortheGradientColor - gradient colortheBorderColor - bordercolorIsBorder - Border is Visible/hideIsGradient - Gradient is Visible/hideprotected void drawExplanNotes()
drawExplanNotes in class LineGraphTypeObjectpublic java.awt.Rectangle drawStaticMouseOverText(GraphicsEx inGraphicsEx)
drawStaticMouseOverText in class XYScatterGraphTypeObjectinGraphicsEx - GraphicsEx Objectpublic int getSeriesIndex(int click_x)
getSeriesIndex in class XYScatterGraphTypeObjectclick_x - Horizontal Distance
public DrillDownDetail getDrillDetail(int click_x,
int click_y)
getDrillDetail in class XYScatterGraphTypeObjectclick_x - x point on graphclick_y - y point on graph
public boolean drawMouseOverEffect(GraphicsEx inGraphicsEx,
DrillDownDetail inDDD,
boolean isMOEDraw,
boolean isMOTDraw,
boolean isRestore)
drawMouseOverEffect in class XYScatterGraphTypeObjectinGraphicsEx - GraphicsEx ObjectinDDD - DrillDownDetail ObjectisMOEDraw - true - to draw mouse over effectisMOTDraw - true - to draw mouse over TextisRestore - true - to draw mouse over effect or mouse over text, false - to remove mouse over effect or mouse over text
public java.awt.Rectangle drawMouseOverText(GraphicsEx inGraphicsEx,
DrillDownDetail inDDD,
int inH,
int inV,
int inWidth,
int inHeight)
inGraphicsEx - GraphicsEx ObjectinDDD - DrillDownDetail ObjectinH - x pointinV - y pointinWidth - Line WidthinHeight - Line Height
public DrillDownDetail getDrillDownDetail(GraphicsEx inGraphicsEx,
int click_x,
int click_y)
getDrillDownDetail in class XYScatterGraphTypeObjectinGraphicsEx - GraphicsEx Objectclick_x - x point on graphclick_y - y point on graph
public DrillDownDetail getClickedXAxisLabel(int click_x,
int click_y)
getClickedXAxisLabel in class XYScatterGraphTypeObject
|
ElegantJCharts Java API Specification v2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||