|
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.bar.BarGraphTypeObject
|
+--com.elegantj.graphx.bar.HorizontalBarGraphTypeObject
HorizontalBarGraphTypeObject is used to render Horizontal Bar Graph
| Field Summary | |
protected int |
m_XMaxLabelWidth
|
protected int |
m_YLabelVSteps
|
protected int |
m_YMaxLabelWidth
|
| Fields inherited from class com.elegantj.graphx.GraphTypeObject |
m_GraphicsEx |
| Constructor Summary | |
HorizontalBarGraphTypeObject(BarGraph inGraphMain)
Creates the GraphBarGraphTypeObject with specified BarGraph object |
|
| Method Summary | |
protected void |
drawGraphAreaBackground(GraphicsEx inGraphicsEx)
Draws Backgound of Actual graph Area |
boolean |
drawMouseOverEffect(GraphicsEx inGraphicsEx,
DrillDownDetail inDDD,
boolean isMOEDraw,
com.elegantj.editors.AWTBorder inBorder,
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 |
protected void |
drawPolygon(GraphicsEx inGraphicsEx,
java.awt.Polygon inPolygon,
int inBrStyle,
int inBrWidth,
java.awt.Color inBrColor,
boolean isHorizontal)
This method draw border to polygon |
java.awt.Rectangle |
drawStaticMouseOverText(GraphicsEx inGraphicsEx)
This method draws Static mouse over Text |
protected void |
drawXAxisGridAndTick()
Draws The X-Axis Grid and Tick lines |
protected void |
drawXAxisLabels()
Draws The X-Axis Labels |
protected void |
drawXAxisLine()
Draws The X-Axis Line |
protected void |
drawYAxisGridAndTick()
Draws The Y-Axis Grid and Tick lines |
protected void |
drawYAxisLabels()
Draws The Y-Axis Labels |
protected void |
drawYAxisLine()
Draws The Y-Axis Line |
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 |
getClickedYAxisLabel(int click_x,
int click_y)
If Given Point on Y 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) |
protected void |
initFields()
|
| Methods inherited from class com.elegantj.graphx.bar.BarGraphTypeObject |
draw2DGraph, draw3DGraph, drawExplanNotes, drawGraph, drawTitle, getDrillDownDetail, getDrillDownDetail, getGraphAreaPolygon, getPolygon, getPreferredWidth, getSeriesIndex, getTickHeight, init, initTitle, reDrawing, setMouseOverPoint |
| 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 int m_XMaxLabelWidth
protected int m_YLabelVSteps
protected int m_YMaxLabelWidth
| Constructor Detail |
public HorizontalBarGraphTypeObject(BarGraph inGraphMain)
throws GraphException
| Method Detail |
protected void initFields()
throws GraphException
initFields in class BarGraphTypeObjectGraphExceptionprotected void drawGraphAreaBackground(GraphicsEx inGraphicsEx)
drawGraphAreaBackground in class BarGraphTypeObjectinGraphicsEx - protected void drawXAxisLine()
drawXAxisLine in class BarGraphTypeObjectprotected void drawXAxisLabels()
drawXAxisLabels in class BarGraphTypeObjectprotected void drawXAxisGridAndTick()
drawXAxisGridAndTick in class BarGraphTypeObjectprotected void drawYAxisLine()
drawYAxisLine in class BarGraphTypeObjectprotected void drawYAxisLabels()
drawYAxisLabels in class BarGraphTypeObjectprotected void drawYAxisGridAndTick()
drawYAxisGridAndTick in class BarGraphTypeObject
public DrillDownDetail getClickedXAxisLabel(int click_x,
int click_y)
getClickedXAxisLabel in class BarGraphTypeObjectclick_x - x coordinate of mouse over pointclick_y - y coordinate of mouse over point
public DrillDownDetail getClickedYAxisLabel(int click_x,
int click_y)
getClickedYAxisLabel in class BarGraphTypeObjectclick_x - x coordinate of mouse over pointclick_y - y coordinate of mouse over point
protected void drawPolygon(GraphicsEx inGraphicsEx,
java.awt.Polygon inPolygon,
int inBrStyle,
int inBrWidth,
java.awt.Color inBrColor,
boolean isHorizontal)
drawPolygon in class BarGraphTypeObjectinGraphicsEx - GraphicsEx ObjectinPolygon - Polygon ObjectinBrWidth - border widthinBrColor - border colorinBrStyle - border styleisHorizontal - whether width is higher then height or not
public boolean drawMouseOverEffect(GraphicsEx inGraphicsEx,
DrillDownDetail inDDD,
boolean isMOEDraw,
com.elegantj.editors.AWTBorder inBorder,
boolean isMOTDraw,
boolean isRestore)
drawMouseOverEffect in class BarGraphTypeObjectinGraphicsEx - GraphicsEx ObjectinDDD - DrillDownDetail ObjectisMOEDraw - true - to draw mouse over effectinBorder - AWTBorder ObjectisMOTDraw - 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 DrillDownDetail getDrillDetail(int click_x,
int click_y)
getDrillDetail in class BarGraphTypeObjectclick_x - click_y -
public java.awt.Rectangle drawStaticMouseOverText(GraphicsEx inGraphicsEx)
drawStaticMouseOverText in class BarGraphTypeObjectinGraphicsEx -
public java.awt.Rectangle drawMouseOverText(GraphicsEx inGraphicsEx,
DrillDownDetail inDDD,
int inH,
int inV,
int inWidth,
int inHeight)
drawMouseOverText in class BarGraphTypeObjectinGraphicsEx - GraphicsEx ObjectinDDD - DrillDownDetail ObjectinH - x pointinV - y pointinWidth - Bar WidthinHeight - Bar Height
|
ElegantJCharts Java API Specification v2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||