|
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
|
+--java.awt.Component
|
+--java.awt.Container
|
+--javax.swing.JComponent
|
+--javax.swing.JPanel
|
+--com.elegantj.graphx.GraphPanel
GraphPanel class extends Panel and provides some features like Background, Foreground, gradient, border, etc.
| Field Summary | |
com.elegantj.editors.C11 |
c11
|
protected int |
click_x
Specifies the Clicked x point |
protected int |
click_y
Specifies the Clicked y point |
protected static int |
COMPUTATION_TYPE
Specifies the constant for refreshing graph |
protected static int |
DRILL_DOWN_REFRESH
Specifies the constant for refreshing graph |
protected static int |
EXPLAIN_NOTES_STR_LEN
Specifies the constant for refreshing graph |
protected static int |
EXPLAN_NOTES_STR_LEN_DEFAULT
Default length of explain notes |
protected static int |
GRAPH_DATA_SORT
Specifies the constant for refreshing graph |
protected static int |
GRAPH_PROPERTY_CHANGE
Specifies the constant for refreshing graph |
protected static int |
GRAPH_TYPE
Specifies the constant for refreshing graph |
protected static int |
INITIALIZE
Specifies the constant for refreshing graph |
protected static int |
ITEM_AXIS_LABEL
Specifies the constant for refreshing graph |
protected boolean |
m_3DEffectEnable
Specifies Graph Drawing Effect (2D/3D) |
protected int |
m_3DHorizontalOffset
Specifies 3D Horizontal Offset |
protected int |
m_3DVerticalOffset
Specifies 3D Vertical Offset |
protected boolean |
m_bFitToSize
Specifies that the Graph is Fit to visible area |
protected boolean |
m_bIsGraphDataPreserved
Specifies wheather graph data stored or not |
protected int |
m_ComputationType
Specifies the computation type |
protected DataProvider |
m_DataProvider
Specifies the data provider |
protected java.lang.String |
m_DefaultTooltipText
Specifies Default Tooltip Text |
protected boolean |
m_drillDownEnable
Specifies Drill Down is Enable or not |
protected DrillDownListener |
m_DrillDownListener
Specifies the Click listener |
protected java.lang.String |
m_Driver
Specifies the driver, url, username, pass, query |
int |
m_ExplainNotesStrLen
contains length of explain notes string |
protected java.awt.Color |
m_GraphAreaBackground
Specifies Graph Area Background |
protected boolean |
m_GraphAreaBackgroundVisible
Specifies Graph Area Background Visible |
protected int |
m_GraphAreaGradientAngle
Specifies Graph Area Gradient Painter Angle |
protected java.awt.Color |
m_GraphAreaGradientColor
Specifies Graph Area Gradient Painter object That will paint gradient |
protected int |
m_GraphAreaGradientExtent
Specifies Graph Area Gradient Painter Extent |
protected int |
m_GraphAreaGradientMode
Specifies Graph Area Gradient Painter mode |
protected boolean |
m_GraphAreaGradientVisible
Specifies Graph Area Gradient Visible |
protected java.util.Vector |
m_GraphData
Specifies the graph data |
java.awt.Graphics |
m_Graphics
Specifies the graphics |
GraphicsEx |
m_GraphicsEx
Specifies the graphics |
protected java.util.Vector |
m_GraphNotes
Specifies the Vector for Graph Notes |
protected java.awt.Color |
m_GraphNotesBackground
Specifies the GraphNotes Background Color |
protected java.awt.Color |
m_GraphNotesBorderColor
Specifies the GraphNotes Border Color |
protected int |
m_GraphNotesBorderStyle
Specifies the GraphNotes Border is Style |
protected int |
m_GraphNotesBorderWidth
Specifies the GraphNotes Border Width |
protected boolean |
m_GraphNotesEnable
Specifies GraphNotes Visible |
protected java.awt.Font |
m_GraphNotesFont
Specifies the GraphNotes Font |
protected java.awt.Color |
m_GraphNotesForeground
Specifies the GraphNotes Foreground Color |
protected java.awt.Color |
m_GraphNotesShadowColor
Specifies the GraphNotes Shadow Color |
protected int |
m_GraphNotesShadowStyle
Specifies the GraphNotes Shadow is Style |
protected int |
m_GraphNotesShadowWidth
Specifies the GraphNotes Shadow Width |
protected long |
m_GraphNotesShowInterval
Specifies the GraphNotes show after this interval |
protected long |
m_GraphNotesVisibleInterval
Specifies the GraphNotes is visible for this interval |
protected java.lang.Object |
m_GraphObj
Specifies the Graph Object which is drawn |
protected java.awt.Dimension |
m_GraphSize
Specifies the graph Size |
GraphTitleDetail |
m_GraphTitleDetail
Specifies Detail Description of Title |
protected ToolTip |
m_GraphTooltip
Specifies the Tooltip of Graph |
GraphXAxisDetail |
m_GraphXAxisDetail
Specifies the X-Axis Detail for Graph |
GraphYAxisDetail |
m_GraphYAxisDetail
Specifies the Y-Axis Detail for Graph |
GraphZAxisDetail |
m_GraphZAxisDetail
Specifies the Z-Axis (Legends) Detail for Graph |
protected int |
m_iBottomOffset
Specifies the Bottom Offset of Graph Area(Actual Graph) |
protected int |
m_iLeftOffset
Specifies the Left Offset of Graph Area(Actual Graph) |
protected int |
m_iRightOffset
Specifies the Right Offset of Graph Area(Actual Graph) |
protected boolean |
m_IsHandCursor
Specifies Hand Cursor is Set or not |
protected boolean |
m_IsMouseOver
Specifies the Mouse Over effect is to be drawn then true |
protected java.lang.String |
m_ItemAxisLabel
Specifies the z axis label |
protected int |
m_iTopOffset
Specifies the Top Offset of Graph Area(Actual Graph) |
int |
m_kGraph
Contains value of current graph type |
protected boolean |
m_MouseOverEffectEnable
Specifies the Mouse Over effect is Enable/disable |
protected boolean |
m_MouseOverStaticTextEnable
Specifies Mouse Over Text is Display static or on mouse over Enable/disable |
protected java.lang.String |
m_MouseOverText
Specifies Mouse Over Text |
protected int |
m_MouseOverTextAlign
Specifies Mouse Over Text Alignment (TOP/CENTER/BOTTOM) |
protected java.awt.Color |
m_MouseOverTextBackground
Specifies Mouse Over Text Background Color |
protected boolean |
m_MouseOverTextBackgroundVisible
Specifies Mouse Over Text Background is visible/hide |
protected java.awt.Color |
m_MouseOverTextBorderColor
Specifies Mouse Over Text Border Color |
protected int |
m_MouseOverTextBorderStyle
Specifies Mouse Over Text Border is Style |
protected int |
m_MouseOverTextBorderWidth
Specifies Mouse Over Text Border Width |
protected boolean |
m_MouseOverTextEnable
Specifies Mouse Over Text is Enable/disable |
protected java.awt.Font |
m_MouseOverTextFont
Specifies Mouse Over Text Font |
protected java.awt.Color |
m_MouseOverTextForeground
Specifies Mouse Over Text Foreground Color |
protected int |
m_MouseOverTextMaxLen
Specifies Mouse Over Text Maximum Number of character |
protected java.awt.Color |
m_MouseOverTextShadowColor
Specifies Mouse Over Text Shadow Color |
protected int |
m_MouseOverTextShadowStyle
Specifies Mouse Over Text Shadow is Style |
protected int |
m_MouseOverTextShadowWidth
Specifies Mouse Over Text Shadow Width |
protected java.lang.String |
m_NumericalAxisLabel
Specifies the y axis label |
protected int |
m_oldPointItemIndex
Specifies the Previous Mouse Over effect is drawn for this Item (Z-axis)Index |
protected int |
m_oldPointSeriesIndex
Specifies the previous Mouse Over effect is drawn for this Series (X-axis)Index |
javax.swing.JScrollPane |
m_Parent
Specifies the parent scrollpane |
protected java.lang.String |
m_Password
|
protected GraphPopupMenu |
m_PopupMenu
Specifies the Graph popup menu |
protected java.lang.String |
m_Query
|
protected boolean |
m_reDraw
For Redrawing Graph. |
protected java.sql.ResultSet |
m_ResultSet
Specifies the data resultset |
protected java.lang.String |
m_SerialAxisLabel
Specifies the x axis label |
protected boolean |
m_SortEnable
Specifies Drill Down is Enable or not |
protected java.util.Vector |
m_sum
|
protected java.awt.Color |
m_TooltipBackground
Specifies the Tooltip Background Color |
protected java.awt.Color |
m_TooltipBorderColor
Specifies the Tooltip Border Color |
protected int |
m_TooltipBorderStyle
Specifies the Tooltip Border is Style |
protected int |
m_TooltipBorderWidth
Specifies the Tooltip Border Width |
protected boolean |
m_TooltipEnable
Specifies Tooltip Visible |
protected java.awt.Font |
m_TooltipFont
Specifies the Tooltip Text Font |
protected java.awt.Color |
m_TooltipForeground
Specifies the Tooltip Foreground Color |
protected long |
m_TooltipShowInterval
Specifies the Tooltip show after this interval |
protected java.lang.String |
m_TooltipText
Specifies the Current tooltip text |
protected long |
m_TooltipVisibleInterval
Specifies the Tooltip is visible for this interval |
protected java.lang.String |
m_URL
|
protected java.lang.String |
m_userName
|
protected int |
m_YAxisDivisionValue
Contains division value of y axis |
protected double |
m_YAxisMaxLabelValue
Contains maximum label value of y axis |
protected double |
m_YAxisMinLabelValue
Contains minimum label value of y axis |
protected java.lang.String |
m_YAxisUnitLabel
contains unit label of y axis |
protected boolean |
m_ZoomEnable
Specifies Zoom In/Out rectangle Visible/Hide |
protected ZoomListener |
m_ZoomListener
Specifies the ZoomListener |
protected boolean |
m_ZoomSelectionEnabled
Specifies zooming thru mouse selection is enabled or not |
protected static int |
MOUSE_OVER_CHANGE
Specifies the constant for refreshing graph |
protected static int |
NUMERICAL_AXIS_LABEL
Specifies the constant for refreshing graph |
static java.util.ResourceBundle |
RESOURCE_BUNDLE
|
protected static int |
SERIAL_AXIS_LABEL
Specifies the constant for refreshing graph |
protected static int |
TOOL_TIP_CHANGE
Specifies the constant for refreshing graph |
protected static int |
Y_AXIS_COMMA_FORMAT
Specifies the constant for refreshing graph |
protected static int |
Y_AXIS_DIVISION_VALUE
Specifies the constant for refreshing graph |
protected static int |
Y_AXIS_MAX_LABEL_VALUE
Specifies the constant for refreshing graph |
protected static int |
Y_AXIS_MIN_LABEL_VALUE
Specifies the constant for refreshing graph |
protected static int |
Y_AXIS_UNIT_LABEL
Specifies the constant for refreshing graph |
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
GraphPanel()
Constructor |
|
| Method Summary | |
void |
addDrillDownListener(DrillDownListener listener)
Add Drill Down Listener |
void |
addGraphNote(DrillDownDetail inDDDetail,
java.lang.String inNote)
add Graph note for given DrillDownDetail object |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
Adds the property change listener |
protected void |
addValues(java.util.Vector dataValues,
java.util.Vector dataMatrix)
Adds the data values to the graph's data matrix |
void |
addZoomListener(ZoomListener zl)
Add Zoom Listener |
boolean |
checkZoomFactor(ZoomFactor in_ZoomFactor)
Check given zoomFactor against maximum zoomFactor |
void |
clearZoomStepStack()
Clear zoomStep stack |
static double |
divide(double inValue1,
double inValue2)
Divides the value1 by value2 and returns the rounded result |
void |
doZoom()
|
void |
drawBackgroundImage(java.awt.Graphics g)
This method draw image in background |
void |
drawGradient(java.awt.Graphics g,
java.awt.Rectangle rect)
Draw Background of Graph(Gradient/simplecolor) |
void |
drawGraphBorder(java.awt.Graphics g,
int x,
int y,
int width,
int height)
Draw Graph styled Border |
protected void |
firePropertyChange(java.lang.String property,
java.lang.Object oldObject,
java.lang.Object newObject)
fires property is changed |
void |
fireZoomEvent(ZoomFactor in_zf,
boolean in_bIsZoomIn)
Notify ZoomIn/ZoomOut occured to its Listener |
protected static java.lang.String |
generateColorString(java.awt.Color inColor)
Generate html color string from given Java Color object |
protected org.xml.sax.helpers.AttributesImpl |
getAxisGridAttributes(AxisDetail axisDetail)
|
protected org.xml.sax.helpers.AttributesImpl |
getAxisLabelAttributes(AxisDetail axisDetail)
|
protected org.xml.sax.helpers.AttributesImpl |
getAxisLineAttributes(AxisDetail axisDetail)
|
protected org.xml.sax.helpers.AttributesImpl |
getAxisNameAttributes(AxisDetail axisDetail)
|
protected org.xml.sax.helpers.AttributesImpl |
getBackgroundAttributes()
|
java.awt.Image |
getBackgroundImage()
This method returns the background image |
int |
getBgImageDisplay()
This method returns the background image Display type |
boolean |
getBgImageEmbedded()
returns whether Background Image is to be embedded with graph while serialization or not |
int |
getBgImageFlipType()
This method returns the background image Flip type: None,Horizontal,Vertical,Both [Horizontal andVertical] |
java.lang.String |
getBgImageFromPath()
Return Background Image From Path |
java.lang.String |
getBgImageSourcePath()
Return Background Image Source Path |
boolean |
getBgImageVisible()
returns whether Background Image is visible or hide |
protected org.xml.sax.helpers.AttributesImpl |
getColomnLabelsAttributes()
|
protected org.xml.sax.helpers.AttributesImpl |
getCommonAttributes()
|
int |
getComputationType()
Gets the Computation Type |
ZoomFactor |
getCurZoomFactor()
Get current zoomFactor |
java.lang.String |
getDefaultTooltipText()
get Graph Default Tooltip text |
DrillDownDetail |
getDrillDownDetail(GraphicsEx gEx,
int clickX,
int clickY)
|
boolean |
getDrillDownEnable()
Return boolean Drill Down is enable or not |
int |
getExplainNotesStrLen()
To get maximum available length of explain notes. |
protected static java.lang.String |
getExtension(java.io.File f)
Return the extension portion of the file's name . |
java.awt.Insets |
getFixedArea()
This method returns the fixed region that do not affect while zoom operation |
java.awt.Image |
getFlipedImage(java.awt.Image image)
This method returns the Fliped image of the inputted image |
int |
getGradientAngle()
get Gradient Painter angle |
java.awt.Color |
getGradientColor()
get Gradient Painter Color |
int |
getGradientExtent()
get Default Extent For drawing Gradient |
int |
getGradientMode()
get Gradient Painter mode |
boolean |
getGradientVisible()
get Gradient Visible |
boolean |
getGraph3DEffect()
get Graph 3D Effect is Enable/Disable |
int |
getGraph3DHorizontalOffset()
get Horizontal Offset of 3D Effect |
int |
getGraph3DVerticalOffset()
get Vertical Offset of 3D Effect |
protected org.xml.sax.helpers.AttributesImpl |
getGraphAreaAttributes()
|
java.awt.Color |
getGraphAreaBackground()
Get Graph Area Background Color |
boolean |
getGraphAreaBackgroundVisible()
get Graph area Background Visible |
boolean |
getGraphAreaDrillDownEnable()
Return boolean Graph Area Drill Down is enable or not |
int |
getGraphAreaGradientAngle()
get Graph area Gradient Painter angle |
java.awt.Color |
getGraphAreaGradientColor()
get Graph Area Gradient Color |
int |
getGraphAreaGradientExtent()
get Graph Area Gradient Painter Extent |
int |
getGraphAreaGradientMode()
get Graph Area Gradient Painter mode |
boolean |
getGraphAreaGradientVisible()
get Graph area Gradient Visible |
java.awt.Polygon |
getGraphAreaPolygon()
Subclass have to override this method for ZoomIn/ZoomOut |
java.awt.Color |
getGraphBorderColor()
get Graph Border Color |
int |
getGraphBorderStyle()
get Graph Border style |
int |
getGraphBorderWidth()
get Graph Border width |
GraphColor |
getGraphColors()
|
java.util.Vector |
getGraphData()
Gets the graph data |
DataProvider |
getGraphDataProvider()
get the DataProvider |
java.sql.ResultSet |
getGraphDataResultSet()
|
java.awt.Graphics |
getGraphics()
|
java.lang.String |
getGraphNote(DrillDownDetail inDDDetail)
Get Graph note for given DrillDownDetail object |
int |
getGraphNoteIndex(DrillDownDetail inDDDetail)
This function returns Graph notes defined for given drill down detail |
java.util.Vector |
getGraphNotes()
get Graph note vector |
java.awt.Color |
getGraphNotesBackground()
Get GraphNotes Background color |
java.awt.Color |
getGraphNotesBorderColor()
get GraphNotes Border Color |
int |
getGraphNotesBorderStyle()
get GraphNotes Border style |
int |
getGraphNotesBorderWidth()
get GraphNotes Border width |
java.awt.Font |
getGraphNotesFont()
Get GraphNotes Font |
java.awt.Color |
getGraphNotesForeground()
Get GraphNotes Foreground color |
java.awt.Color |
getGraphNotesShadowColor()
get GraphNotes Shadow Color |
int |
getGraphNotesShadowStyle()
get GraphNotes Shadow style |
int |
getGraphNotesShadowWidth()
get GraphNotes Shadow width |
long |
getGraphNotesShowInterval()
get GraphNotes show interval in millisecond |
boolean |
getGraphNotesVisible()
get GraphNotes text Visible/hide |
long |
getGraphNotesVisibleInterval()
get GraphNotes visible interval in millisecond |
java.awt.Dimension |
getGraphSize()
get Graph preferred size |
java.lang.String |
getGraphTitle()
Get Title Of Graph |
int |
getGraphTitleAlign()
Get Title Of Graph Align |
java.awt.Color |
getGraphTitleBackground()
Get Title Of Graph Background Color |
boolean |
getGraphTitleBackgroundVisible()
Get Title Of Graph Background Visible |
java.awt.Color |
getGraphTitleBorderColor()
get Graph Border Color |
int |
getGraphTitleBorderStyle()
get Title Border style |
int |
getGraphTitleBorderWidth()
get Graph Border width |
java.awt.Font |
getGraphTitleFont()
Get Title Of Graph Font |
java.awt.Color |
getGraphTitleForeground()
Get Title Of Graph Color |
int |
getGraphTitleMaxLine()
get Graph Title Maximum number of lines |
java.awt.Color |
getGraphTitleShadowColor()
get Graph Shadow Color |
int |
getGraphTitleShadowStyle()
get Title Shadow style |
int |
getGraphTitleShadowWidth()
get Graph Title Shadow width |
boolean |
getGraphTitleVisible()
Get Title Of Graph Visible |
int |
getGraphType()
returns graph type |
protected org.xml.sax.helpers.AttributesImpl |
getGraphTypeAttributes()
|
java.lang.String |
getItemAxisLabel()
Gets the Item Axis Label |
java.lang.String |
getLicenseKey()
Returns the license key of the bean |
ZoomFactor |
getMaxZoomFactor()
Get Maximum zoomFactor |
protected org.xml.sax.helpers.AttributesImpl |
getMouseOverAttributes()
|
boolean |
getMouseOverEffectEnable()
get Graph MouseOver Effect Enable/disable |
boolean |
getMouseOverStaticTextEnable()
get Graph MouseOver text is Displayed static |
java.lang.String |
getMouseOverText()
get Graph MouseOver text |
int |
getMouseOverTextAlignment()
get Graph MouseOver text Alignment (TOP/CENTER/BOTTOM) |
java.awt.Color |
getMouseOverTextBackground()
get Graph MouseOver text Background color |
boolean |
getMouseOverTextBackgroundVisible()
get Graph MouseOver text Background is Visible/hide |
java.awt.Color |
getMouseOverTextBorderColor()
get Mouse Over Text Border Color |
int |
getMouseOverTextBorderStyle()
get Mouse Over Text Border style |
int |
getMouseOverTextBorderWidth()
get Mouse Over Text Border width |
boolean |
getMouseOverTextEnable()
get Graph MouseOver text Enable/disable |
java.awt.Font |
getMouseOverTextFont()
get Graph MouseOver text Font |
java.awt.Color |
getMouseOverTextForeground()
get Graph MouseOver text Foreground color |
int |
getMouseOverTextMaxLen()
get Graph MouseOver text Maximum number of character |
java.awt.Color |
getMouseOverTextShadowColor()
get Mouse Over Text Shadow Color |
int |
getMouseOverTextShadowStyle()
get Mouse Over Text Shadow style |
int |
getMouseOverTextShadowWidth()
get Mouse Over Text Shadow width |
java.lang.String |
getNumericalAxisLabel()
Gets the Numerical Axis Label |
boolean |
getOverLapXAxisLabelEnable()
X-Axis label Overlapping can be enabled or disabled with this method |
boolean |
getOverLapYAxisLabelEnable()
Y-Axis label Overlapping can be enabled or disabled with this method |
javax.swing.JScrollPane |
getScrollPane()
Return Paren scollpane. |
java.awt.Rectangle |
getSelectedRect()
Return Zoom in Rectangle |
java.lang.String |
getSerialAxisLabel()
Gets the Serial Axis Label |
boolean |
getSortDataEnable()
Return boolean Data is sort or not before generating Graph |
java.lang.String |
getStringFromMacro(java.lang.String inMacroString,
DrillDownDetail inDrillDownDetail)
This function returns New string after replacing actual values in place of Macro string |
java.util.Vector |
getTestData()
|
protected org.xml.sax.helpers.AttributesImpl |
getTitleAttributes(GraphTitleDetail titleDetail)
|
GraphTitleDetail |
getTitleProperties()
Get GraphTitleDetail Object |
protected org.xml.sax.helpers.AttributesImpl |
getToolTipAttributes()
|
java.awt.Color |
getTooltipBackground()
Get Tooltip Background color |
java.awt.Color |
getTooltipBorderColor()
get tooltip Border Color |
int |
getTooltipBorderStyle()
get tooltip Border style |
int |
getTooltipBorderWidth()
get tooltip Border width |
java.awt.Font |
getTooltipFont()
Get Tooltip Font |
java.awt.Color |
getTooltipForeground()
Get Tooltip Foreground color |
long |
getTooltipShowInterval()
get Tooltip show interval in millisecond |
java.lang.String |
getTooltipText()
|
boolean |
getTooltipVisible()
get Graph Tooltip text Visible/hide |
long |
getTooltipVisibleInterval()
get Tooltip visible interval in millisecond |
protected java.awt.Rectangle |
getVisibleGraphRect()
Returns the Visible rectangle of the component Subclass may override this method |
java.awt.Color |
getXAxisGridLineColor()
This method allows you to select the X-Axis Grid Line Color |
int |
getXAxisGridLineStyle()
This method allows you to select X-Axis Grid Line Style |
boolean |
getXAxisGridLineVisible()
This method lets you choose if you want to have X-Axis Grid Line visible on Major Line |
int |
getXAxisGridLineWidth()
You can adjust X-Axis Grid Line Width using this method |
java.awt.Color |
getXAxisGridStripColor()
Color of the X-Axis Grid Strip can be selected using this method |
boolean |
getXAxisGridStripVisible()
get X-Axis Grid Strip visible on Major Line |
int |
getXAxisLabelAlign()
X-Axis Label alignment can be chosen using this method. |
int |
getXAxisLabelAlignAngle()
X-Axis Label Alignment Angle can be set using this method |
java.awt.Color |
getXAxisLabelBackground()
Background Color of the X-axis label can be selected using this method |
boolean |
getXAxisLabelBackgroundVisible()
You can choose if you want to have X-Axis label Background visible by this method |
boolean |
getXAxisLabelDrillDownEnable()
X-Axis label DrillDown can be enabled or disabled using this method |
java.awt.Font |
getXAxisLabelFont()
Font of the X-Axis Label can be selected using this method |
java.awt.Color |
getXAxisLabelForeground()
You can select the font color of the X-axis using this method |
java.lang.String |
getXAxisLabelFormat()
X-Axis Label Formatting can be done using this method |
int |
getXAxisLabelGap()
The label gap can be adjusted using the get X-Axis Label gap method |
java.lang.String |
getXAxisLabelTooltipText()
Using this method you can choose to have tool tip text for an X-axis label |
boolean |
getXAxisLabelVisible()
To display the X-Axis Label you can use this method |
java.awt.Color |
getXAxisLineColor()
X-Axis Major Line Color can be selected using this method |
int |
getXAxisLineWidth()
X-Axis Major Line Width can be selected using this method |
double |
getXAxisMaxLabelValue()
get Axis max Label value |
double |
getXAxisMinLabelValue()
get Axis min Label value |
java.lang.String |
getXAxisName()
To assign a name to the X-Axis you can use this method |
int |
getXAxisNameAlign()
X-Axis Name Alignment can be set using this method |
java.awt.Color |
getXAxisNameBackground()
Background Color of the X-Axis Name can be selected using this method |
boolean |
getXAxisNameBackgroundVisible()
To display the background of the X-axis name, you can use this method |
java.awt.Color |
getXAxisNameBorderColor()
Use this method to select the X-Axis Name Border Color |
int |
getXAxisNameBorderStyle()
X-Axis Name Border style can be selected with this method |
int |
getXAxisNameBorderWidth()
The width of the border of the X-Axis Name can be adjusted with this method |
java.awt.Font |
getXAxisNameFont()
Select the font for the X-Axis Name using this method |
java.awt.Color |
getXAxisNameForeground()
X-Axis Font Color can be selected using this method |
int |
getXAxisNameMaxLine()
Maximum number of lines in which the X-Axis Name must be displayed can be set with this method |
java.awt.Color |
getXAxisNameShadowColor()
X-Axis Name Shadow Color can be selected with this method |
int |
getXAxisNameShadowStyle()
Shadow style of the X-Axis Name can be selected with this method |
int |
getXAxisNameShadowWidth()
Shadow width of the X-Axis Name can be adjusted with this method |
boolean |
getXAxisNameVisible()
You can display the X-Axis Name using this method |
GraphXAxisDetail |
getXAxisProperties()
Get GraphXAxisDetail Object |
java.awt.Color |
getXAxisTickLineColor()
Color of the X-Axis Tick Line can be assigned using this method |
int |
getXAxisTickLineHeight()
X-Axis Tick Line Height can be adjusted using this method |
int |
getXAxisTickLinePosition()
the Position of the X-Axis Tick Line can be set using this method |
boolean |
getXAxisTickLineVisible()
Use this method toget X-Axis Tick Line visible on Major Line |
int |
getXAxisTickLineWidth()
X-Axis Tick Line Width can be adjusted using this method |
double |
getXDivisionValue()
get Axis Division Label value |
int |
getXLabelType()
|
java.awt.Color |
getXZeroGridLineColor()
Color of the X-Axis Zero Grid can be selected using this method |
int |
getXZeroGridLineStyle()
This method allows you to select X-Axis Zero Grid Line Style |
int |
getXZeroGridLineWidth()
You can adjust X-Axis Zero Grid Line Width using this method |
int |
getYAxisDivisionValue()
To get y division value |
java.awt.Color |
getYAxisGridLineColor()
This method allows you to select the Y-Axis Grid Line Color |
int |
getYAxisGridLineStyle()
This method allows you to select Y-Axis Grid Line Style |
boolean |
getYAxisGridLineVisible()
This method lets you choose if you want to have Y-Axis Grid Line visible on Major Line |
int |
getYAxisGridLineWidth()
You can adjust Y-Axis Grid Line Width using this method |
java.awt.Color |
getYAxisGridStripColor()
Color of the Y-Axis Grid Strip can be selected using this method |
boolean |
getYAxisGridStripVisible()
get Y-Axis Grid Strip visible on Major Line |
int |
getYAxisLabelAlign()
Y-Axis Label alignment can be chosen using this method. |
int |
getYAxisLabelAlignAngle()
Y-Axis Label Alignment Angle can be set using this method |
java.awt.Color |
getYAxisLabelBackground()
Background Color of the Y-axis label can be selected using this method |
boolean |
getYAxisLabelBackgroundVisible()
You can choose if you want to have Y-Axis label Background visible by this method |
boolean |
getYAxisLabelDrillDownEnable()
Y-Axis label DrillDown can be enabled or disabled using this method |
java.awt.Font |
getYAxisLabelFont()
Font of the Y-Axis Label can be selected using this method |
java.awt.Color |
getYAxisLabelForeground()
You can select the font color of the Y-axis using this method |
java.lang.String |
getYAxisLabelFormat()
Y-Axis Label Formatting can be done using this method |
java.lang.String |
getYAxisLabelTooltipText()
Using this method you can choose to have tool tip text for an Y-axis label |
boolean |
getYAxisLabelVisible()
To display the Y-Axis Label you can use this method |
java.awt.Color |
getYAxisLineColor()
Y-Axis Major Line Color can be selected using this method |
int |
getYAxisLineWidth()
Y-Axis Major Line Width can be selected using this method |
double |
getYAxisMaxLabelValue()
To get y axis maximum label value |
double |
getYAxisMinLabelValue()
To get y axis minimum label value |
java.lang.String |
getYAxisName()
To assign a name to the Y-Axis you can use this method |
int |
getYAxisNameAlign()
Y-Axis Name Alignment can be set using this method |
java.awt.Color |
getYAxisNameBackground()
Background Color of the Y-Axis Name can be selected using this method |
boolean |
getYAxisNameBackgroundVisible()
To display the background of the Y-axis name, you can use this method |
java.awt.Color |
getYAxisNameBorderColor()
Use this method to select the Y-Axis Name Border Color |
int |
getYAxisNameBorderStyle()
Y-Axis Name Border style can be selected with this method |
int |
getYAxisNameBorderWidth()
The width of the border of the Y-Axis Name can be adjusted with this method |
java.awt.Font |
getYAxisNameFont()
Select the font for the Y-Axis Name using this method |
java.awt.Color |
getYAxisNameForeground()
Y-Axis Font Color can be selected using this method |
int |
getYAxisNameMaxLine()
Maximum number of lines in which the Y-Axis Name must be displayed can be set with this method |
java.awt.Color |
getYAxisNameShadowColor()
Y-Axis Name Shadow Color can be selected with this method |
int |
getYAxisNameShadowStyle()
Shadow style of the Y-Axis Name can be selected with this method |
int |
getYAxisNameShadowWidth()
Shadow width of the Y-Axis Name can be adjusted with this method |
boolean |
getYAxisNameVisible()
You can display the Y-Axis Name using this method |
int |
getYAxisPosition()
Get position of Y-Axis |
GraphYAxisDetail |
getYAxisProperties()
Get GraphYAxisDetail Object |
java.awt.Color |
getYAxisTickLineColor()
Color of the Y-Axis Tick Line can be assigned using this method |
int |
getYAxisTickLineHeight()
Y-Axis Tick Line Height can be adjusted using this method |
int |
getYAxisTickLinePosition()
the Position of the Y-Axis Tick Line can be set using this method |
boolean |
getYAxisTickLineVisible()
Use this method toget Y-Axis Tick Line visible on Major Line |
int |
getYAxisTickLineWidth()
Y-Axis Tick Line Width can be adjusted using this method |
java.lang.String |
getYAxisUnitLabel()
To get y axis unit value |
double |
getYDivisionValue()
Get Division Value For Y-Axis |
java.awt.Color |
getYZeroGridLineColor()
Color of the Y-Axis Zero Grid can be selected using this method |
int |
getYZeroGridLineStyle()
This method allows you to select Y-Axis Zero Grid Line Style |
int |
getYZeroGridLineWidth()
You can adjust Y-Axis Zero Grid Line Width using this method |
int |
getZAxisAlignment()
get Axis Position |
java.awt.Color |
getZAxisBackground()
Background Color of the Z-Axis can be selected using this method |
boolean |
getZAxisBackgroundVisible()
Get Z-Axis Background Visible |
java.awt.Color |
getZAxisBorderColor()
get Z Axis Border Color |
int |
getZAxisBorderStyle()
Z-Axis Border style can be selected with this method |
int |
getZAxisBorderWidth()
get Z Axis Border width |
int |
getZAxisLabelAlign()
Z-Axis Label alignment can be chosen using this method. |
java.awt.Color |
getZAxisLabelBackground()
Background Color of the Z-axis label can be selected using this method |
boolean |
getZAxisLabelBackgroundVisible()
You can choose if you want to have Z-Axis label Background visible by this method |
boolean |
getZAxisLabelDrillDownEnable()
Z-Axis label DrillDown can be enabled or disabled using this method |
java.awt.Font |
getZAxisLabelFont()
Font of the Z-Axis Label can be selected using this method |
java.awt.Color |
getZAxisLabelForeground()
You can select the font color of the Z-axis using this method |
java.lang.String |
getZAxisLabelFormat()
Z-Axis Label Formatting can be done using this method |
int |
getZAxisLabelShowOrder()
get Z AxisLabel Show Order |
java.lang.String |
getZAxisLabelTooltipText()
Using this method you can choose to have tool tip text for an Z-axis label |
boolean |
getZAxisLabelVisible()
To display the Z-Axis Label you can use this method |
java.lang.String |
getZAxisName()
To assign a name to the Z-Axis you can use this method |
int |
getZAxisNameAlign()
Z-Axis Name Alignment can be set using this method |
java.awt.Color |
getZAxisNameBackground()
Background Color of the Z-Axis Name can be selected using this method |
boolean |
getZAxisNameBackgroundVisible()
To display the background of the Z-axis name, you can use this method |
java.awt.Color |
getZAxisNameBorderColor()
Use this method to select the Z-Axis Name Border Color |
int |
getZAxisNameBorderStyle()
Z-Axis Name Border style can be selected with this method |
int |
getZAxisNameBorderWidth()
The width of the border of the Z-Axis Name can be adjusted with this method |
java.awt.Font |
getZAxisNameFont()
Select the font for the Z-Axis Name using this method |
java.awt.Color |
getZAxisNameForeground()
Z-Axis Font Color can be selected using this method |
int |
getZAxisNameMaxLine()
Maximum number of lines in which the Z-Axis Name must be displayed can be set with this method |
java.awt.Color |
getZAxisNameShadowColor()
Z-Axis Name Shadow Color can be selected with this method |
int |
getZAxisNameShadowStyle()
Shadow style of the Z-Axis Name can be selected with this method |
int |
getZAxisNameShadowWidth()
Shadow width of the Z-Axis Name can be adjusted with this method |
boolean |
getZAxisNameVisible()
You can display the Z-Axis Name using this method |
int |
getZAxisPosition()
get Axis Position |
GraphZAxisDetail |
getZAxisProperties()
Get GraphZAxisDetail Object |
java.awt.Color |
getZAxisShadowColor()
get Z Axis Shadow Color |
int |
getZAxisShadowStyle()
get Z Axis Shadow style |
int |
getZAxisShadowWidth()
get Z Axis Shadow width |
boolean |
getZAxisVisible()
Get Z-Axis Visible/Hide |
protected java.awt.Dimension |
getZoomAffectedSize(java.awt.Dimension inSize)
This method returns the given dimension after performing zoom operation |
boolean |
getZoomEnable()
Return boolean zoom rectangle is display or hide |
int |
getZoomInCount()
Return Number of zoomIn steps |
void |
initGraphTest()
|
boolean |
isGraphDataEmbeded()
|
boolean |
isGraphFitToSize()
|
boolean |
isLicenseKeyValid()
Return boolean |
boolean |
isLightweight()
Returns whether this component has a lightweight peer, native peer or no peer. |
boolean |
isPopulateFlag()
get populate flag |
boolean |
isPrinting()
get Printing flag |
boolean |
isZoomSelectionEnabled()
|
GraphPanel |
loadFromXML(java.io.File xmlFile)
Read Xml sheet to graph properties |
GraphPanel |
loadFromXML(java.lang.String xmlFile)
Read Xml sheet to graph properties |
void |
paint(java.awt.Graphics g)
paints graph according to properties and data of graph. |
void |
paintComponent(java.awt.Graphics g)
|
protected java.lang.String |
parseValue(java.lang.String value)
Write To XML ******************** |
boolean |
populateGraph()
Populates the Graph |
void |
processComponentEvent(java.awt.event.ComponentEvent cevt)
Process Component Event |
protected void |
processMouseEvent(java.awt.event.MouseEvent mevt)
Process Mouse Event |
protected void |
processMouseMotionEvent(java.awt.event.MouseEvent mevt)
Process Mouse Motion Events |
void |
readExternal(java.io.ObjectInput in)
This method retrieves the state of the bean |
void |
reDraw()
|
protected void |
refreshProperties(int nFor)
Refreshes the Graph followed by the given changed property |
void |
removeDrillDownListener(DrillDownListener listener)
Remove Drill Down Listener |
void |
removeGraphNote(DrillDownDetail inDDDetail)
remove Graph note for given DrillDownDetail object |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)
Removes the property change listener |
void |
removeZoomListener()
Remove Zoom Listener |
void |
repaintChildren()
call repaint() method of child components |
void |
resetSelectedZoomRect()
|
void |
saveAsImageBMP(java.io.OutputStream out)
This method save Graph as image (*.bmp) |
void |
saveAsImageJPEG(java.io.OutputStream out)
This method save Graph as image (*.JPEG) |
void |
setBackground(java.awt.Color bgcolor)
set Graph Background Color |
void |
setBackgroundImage(java.awt.Image bgImage)
This method sets the background image |
void |
setBgImageDisplay(int inBgImageDisplay)
This method set the background image Display type: Center,Tile,Stretch |
void |
setBgImageEmbedded(boolean inValue)
Set whether Background Image is to be embedded with graph while serialization or not |
void |
setBgImageFlipType(int inBgImageFlipType)
This method sets the background image Flip type: None,Horizontal,Vertical,Both [Horizontal andVertical] |
void |
setBgImageFromPath(java.lang.String newImagePath)
This method sets the background image from specified path. |
void |
setBgImageSourcePath(java.lang.String inPath)
Set Background Image Source Path |
void |
setBgImageVisible(boolean inValue)
Set whether Background Image is visible or not |
void |
setComputationType(int type)
Sets the Computation Type |
void |
setDefaultProperties()
|
void |
setDefaultTooltipText(java.lang.String tooltip)
set Graph DefaultTooltip text |
void |
setDrillDownEnable(boolean drillDownEnable)
set Drill Down |
void |
setExplainNotesStrLen(int explainNotesStrLen)
To set comma format at y axis |
void |
setFont(java.awt.Font gFont)
set Graph Font |
void |
setForeground(java.awt.Color fgcolor)
set Graph Foreground Color |
void |
setGradientAngle(int angle)
set Gradient Painter angle |
void |
setGradientColor(java.awt.Color inGradientColor)
set Gradient Painter Color |
void |
setGradientExtent(int inExtent)
set Default Extent for drawing Gradient |
void |
setGradientMode(int mode)
set Gradient Painter mode |
void |
setGradientVisible(boolean gVisible)
set Gradient Visible |
void |
setGraph3DEffect(boolean enable)
set Graph 3D Effect is Enable/Disable |
void |
setGraph3DHorizontalOffset(int offset)
set Horizontal Offset of 3D Effect |
void |
setGraph3DVerticalOffset(int offset)
set Vertical Offset of 3D Effect |
void |
setGraphAreaBackground(java.awt.Color inColor)
Set Graph Area Backgound Color |
void |
setGraphAreaBackgroundVisible(boolean visible)
set Graph Area Background Visible |
void |
setGraphAreaDrillDownEnable(boolean drillDownEnable)
Set Graph Area Drill Down |
void |
setGraphAreaGradientAngle(int angle)
set Graph Area Gradient Painter angle |
void |
setGraphAreaGradientColor(java.awt.Color inGradientColor)
set Graph Area Gradient Color |
void |
setGraphAreaGradientExtent(int inExtent)
set Graph Area Gradient Painter Extents |
void |
setGraphAreaGradientMode(int mode)
set Graph Area Gradient Painter mode |
void |
setGraphAreaGradientVisible(boolean gVisible)
set Graph Area Gradient Visible |
void |
setGraphBorderColor(java.awt.Color inColor)
set Graph Border Color |
void |
setGraphBorderStyle(int style)
set Graph Border style |
void |
setGraphBorderWidth(int width)
set Graph Border Width |
void |
setGraphColors(GraphColor graphColors)
|
void |
setGraphData(java.util.List graphData)
Sets the graph data |
void |
setGraphData(java.util.Vector graphData)
Sets the graph data |
void |
setGraphDataEmbeded(boolean flag)
Specifies that wheather graph data serialize or not |
void |
setGraphDataProvider(DataProvider dataProvider)
Set the Graph Data from dataProvider |
void |
setGraphDataResultSet(java.sql.ResultSet resultSet)
Set Resultset of the Graph data |
void |
setGraphDataURL(java.lang.String driver,
java.lang.String url,
java.lang.String userName,
java.lang.String password,
java.lang.String query)
Set Graph dat form url |
void |
setGraphFitToSize(boolean visible)
|
void |
setGraphics(java.awt.Graphics g)
set Graphics object for this component |
void |
setGraphNotes(java.util.Vector notes)
set Graph note Vector |
void |
setGraphNotesBackground(java.awt.Color bgcolor)
set GraphNotes Background Color |
void |
setGraphNotesBorderColor(java.awt.Color inColor)
set GraphNotes Border Color |
void |
setGraphNotesBorderStyle(int style)
set GraphNotes Border style |
void |
setGraphNotesBorderWidth(int width)
set GraphNotes Border Width |
void |
setGraphNotesFont(java.awt.Font gFont)
set GraphNotes Font |
void |
setGraphNotesForeground(java.awt.Color fgcolor)
set GraphNotes Foreground Color |
void |
setGraphNotesShadowColor(java.awt.Color inColor)
set GraphNotes Shadow Color |
void |
setGraphNotesShadowStyle(int style)
set GraphNotes Shadow style |
void |
setGraphNotesShadowWidth(int width)
set GraphNotes Shadow Width |
void |
setGraphNotesShowInterval(long interval)
set GraphNotes show interval |
void |
setGraphNotesVisible(boolean visible)
set GraphNotes text is Visible/Hide |
void |
setGraphNotesVisibleInterval(long interval)
set GraphNotes visible interval in millisecond |
void |
setGraphSize(java.awt.Dimension size)
set Graph preferred size |
void |
setGraphTitle(java.lang.String label)
Set Title Of Graph |
void |
setGraphTitleAlign(int align)
Set Title Of Graph Align |
void |
setGraphTitleBackground(java.awt.Color labelcolor)
Set Title Of Graph Background Color |
void |
setGraphTitleBackgroundVisible(boolean visible)
Set Title Of Graph Background Visible |
void |
setGraphTitleBorderColor(java.awt.Color inColor)
set Graph Border Color |
void |
setGraphTitleBorderStyle(int style)
set Title Border style |
void |
setGraphTitleBorderWidth(int width)
set Graph Border Width |
void |
setGraphTitleFont(java.awt.Font labelfont)
Set Title Of Graph Font |
void |
setGraphTitleForeground(java.awt.Color labelcolor)
Set Title Of Graph Color |
void |
setGraphTitleMaxLine(int max)
set Graph Title Maximum number of lines |
void |
setGraphTitleShadowColor(java.awt.Color inColor)
set Graph Title Shadow Color |
void |
setGraphTitleShadowStyle(int style)
set Title Shadow style |
void |
setGraphTitleShadowWidth(int width)
set Graph Title Shadow Width |
void |
setGraphTitleVisible(boolean visible)
Set Title Of Graph Visible |
void |
setGraphType(int kGraph)
To set graph type |
void |
setInternalLicenseKey(java.lang.String licenseKey)
Methods which sets the license key |
void |
setItemAxisLabel(java.lang.String label)
Sets the Item Axis Label |
void |
setLicenseKey(java.lang.String licenseKey)
Methods which sets the license key |
void |
setLightweight(boolean b)
Sets whether this component has a lightweight peer, native peer or no peer. |
void |
setMaxZoomFactor(ZoomFactor in_MaxZoom)
Set maximum zoomFactor |
void |
setMouseOverEffectEnable(boolean visible)
set Graph Mouse Over Effect is Enable/Disable |
void |
setMouseOverStaticTextEnable(boolean visible)
set Graph Mouse Over text is Displayed static |
void |
setMouseOverText(java.lang.String text)
set Graph MouseOver text |
void |
setMouseOverTextAlignment(int align)
set Graph Mouse Over text Alignment (TOP/CENTER/BOTTOM) |
void |
setMouseOverTextBackground(java.awt.Color newColor)
set Graph Mouse Over text Background color |
void |
setMouseOverTextBackgroundVisible(boolean visible)
set Graph Mouse Over text Background is Visible/Hide |
void |
setMouseOverTextBorderColor(java.awt.Color inColor)
set Mouse Over Text Border Color |
void |
setMouseOverTextBorderStyle(int style)
set Mouse Over Text Border style |
void |
setMouseOverTextBorderWidth(int width)
set Mouse Over Text Border Width |
void |
setMouseOverTextEnable(boolean visible)
set Graph Mouse Over text is Enable/Disable |
void |
setMouseOverTextFont(java.awt.Font newFont)
set Graph Mouse Over text Font |
void |
setMouseOverTextForeground(java.awt.Color newColor)
set Graph Mouse Over text Foreground color |
void |
setMouseOverTextMaxLen(int max)
set Graph MouseOver text Maximum number of character |
void |
setMouseOverTextShadowColor(java.awt.Color inColor)
set Mouse Over Text Shadow Color |
void |
setMouseOverTextShadowStyle(int style)
set Mouse Over Text Shadow style |
void |
setMouseOverTextShadowWidth(int width)
set Mouse Over Text Shadow Width |
void |
setNumericalAxisLabel(java.lang.String label)
Sets the Numerical Axis Label |
void |
setOverLapXAxisLabelEnable(boolean visible)
set X-Axis label OverLap enable |
void |
setOverLapYAxisLabelEnable(boolean visible)
set Y-Axis label OverLap enable |
void |
setPopulateFlag(boolean flag)
set populate flag |
void |
setPrinting(boolean isPrinting)
Set Printing flag |
void |
setSerialAxisLabel(java.lang.String label)
Sets the Serial Axis Label |
void |
setSortDataEnable(boolean sortEnable)
set Sorting of data Enable/Disable |
void |
setTitleProperties(GraphTitleDetail inGraphTitleDetail)
Set GraphTitleDetail Object |
void |
setTooltipBackground(java.awt.Color bgcolor)
set Tooltip Background Color |
void |
setTooltipBorderColor(java.awt.Color inColor)
set tooltip Border Color |
void |
setTooltipBorderStyle(int style)
set tooltip Border style |
void |
setTooltipBorderWidth(int width)
set tooltip Border Width |
void |
setTooltipFont(java.awt.Font gFont)
set Tooltip Font |
void |
setTooltipForeground(java.awt.Color fgcolor)
set Tooltip Foreground Color |
void |
setTooltipShowInterval(long interval)
set Tooltip show interval |
void |
setTooltipVisible(boolean visible)
set Graph Tooltip text is Visible/Hide |
void |
setTooltipVisibleInterval(long interval)
set Tooltip visible interval in millisecond |
void |
setXAxisGridLineColor(java.awt.Color linecolor)
set X-Axis Grid Line Color |
void |
setXAxisGridLineStyle(int style)
set X-Axis Grid Line Style |
void |
setXAxisGridLineVisible(boolean visible)
set X-Axis Grid Line visible on Major Line |
void |
setXAxisGridLineWidth(int width)
set X-Axis Grid Line Width |
void |
setXAxisGridStripColor(java.awt.Color linecolor)
set X-Axis Grid Strip Color |
void |
setXAxisGridStripVisible(boolean visible)
set X-Axis Grid Strip visible on Major Line |
void |
setXAxisLabelAlign(int align)
set X-Axis Label alignment |
void |
setXAxisLabelAlignAngle(int angle)
set X-Axis Name Alignment Angle |
void |
setXAxisLabelBackground(java.awt.Color Backgroundcolor)
set X-Axis label Background Color |
void |
setXAxisLabelBackgroundVisible(boolean visible)
set X-Axis label Background visible |
void |
setXAxisLabelDrillDownEnable(boolean enable)
set X-Axis label DrillDown Enable |
void |
setXAxisLabelFont(java.awt.Font labelfont)
set X-Axis Label Font |
void |
setXAxisLabelForeground(java.awt.Color foreground)
set X-Axis Label Font Color |
void |
setXAxisLabelFormat(java.lang.String formatStr)
set X-Axis Label Format string |
void |
setXAxisLabelGap(int gap)
set X-Axis Label gap |
void |
setXAxisLabelTooltipText(java.lang.String tooltip)
set X-Axis Label Tooltip text |
void |
setXAxisLabelVisible(boolean visible)
set X-Axis Label visible |
void |
setXAxisLineColor(java.awt.Color linecolor)
set X-Axis Major Line Color |
void |
setXAxisLineWidth(int width)
set X-Axis Major Line Width |
void |
setXAxisMaxLabelValue(double max)
set XAxis Maximum Label value |
void |
setXAxisMinLabelValue(double min)
set XAxis Minimum Label value |
void |
setXAxisName(java.lang.String name)
set X-Axis Name |
void |
setXAxisNameAlign(int align)
set X-Axis Name Alignment |
void |
setXAxisNameBackground(java.awt.Color bgColor)
set X-Axis Name Background Color |
void |
setXAxisNameBackgroundVisible(boolean visible)
set X-Axis Name Background visible |
void |
setXAxisNameBorderColor(java.awt.Color inColor)
set X-Axis Name Border Color |
void |
setXAxisNameBorderStyle(int style)
set X-Axis Name Border style |
void |
setXAxisNameBorderWidth(int width)
set X-Axis Name Border Width |
void |
setXAxisNameFont(java.awt.Font namefont)
set X-Axis Name Font |
void |
setXAxisNameForeground(java.awt.Color foreground)
set X-Axis Name Font Color |
void |
setXAxisNameMaxLine(int max)
set X-Axis Name Maximum number of lines |
void |
setXAxisNameShadowColor(java.awt.Color inColor)
set X-Axis Name Shadow Color |
void |
setXAxisNameShadowStyle(int style)
set X-Axis Name Shadow style |
void |
setXAxisNameShadowWidth(int width)
set X-Axis Name Shadow Width |
void |
setXAxisNameVisible(boolean visible)
set X-Axis Name visible |
void |
setXAxisProperties(GraphXAxisDetail inGraphXAxisDetail)
Set GraphXAxisDetail Object |
void |
setXAxisTickLineColor(java.awt.Color linecolor)
set X-Axis Tick Line Color |
void |
setXAxisTickLineHeight(int height)
set X-Axis Tick Line Height |
void |
setXAxisTickLinePosition(int position)
set X-Axis Tick Line Position |
void |
setXAxisTickLineVisible(boolean visible)
set X-Axis Tick Line visible on Major Line |
void |
setXAxisTickLineWidth(int width)
set X-Axis Tick Line Width |
void |
setXDivisionValue(double div)
set XAxis Division value |
void |
setXZeroGridLineColor(java.awt.Color linecolor)
set X-Axis Zero Grid Line Color |
void |
setXZeroGridLineStyle(int style)
set X-Axis Zero Grid Line Style |
void |
setXZeroGridLineWidth(int width)
set X-Axis Zero Grid Line Width |
void |
setYAxisDivisionValue(int yAxisDivisionValue)
To set y division value |
void |
setYAxisGridLineColor(java.awt.Color linecolor)
set Y-Axis Grid Line Color |
void |
setYAxisGridLineStyle(int style)
set Y-Axis Grid Line Style |
void |
setYAxisGridLineVisible(boolean visible)
set Y-Axis Grid Line visible on Major Line |
void |
setYAxisGridLineWidth(int width)
set Y-Axis Grid Line Width |
void |
setYAxisGridStripColor(java.awt.Color linecolor)
set Y-Axis Grid Strip Color |
void |
setYAxisGridStripVisible(boolean visible)
set Y-Axis Grid Strip visible on Major Line |
void |
setYAxisLabelAlign(int align)
set Y-Axis Label alignment |
void |
setYAxisLabelAlignAngle(int angle)
set Y-Axis Name Alignment Angle |
void |
setYAxisLabelBackground(java.awt.Color Backgroundcolor)
set Y-Axis label Background Color |
void |
setYAxisLabelBackgroundVisible(boolean visible)
set Y-Axis label Background visible |
void |
setYAxisLabelDrillDownEnable(boolean enable)
set Y-Axis label DrillDown Enable |
void |
setYAxisLabelFont(java.awt.Font labelfont)
set Y-Axis Label Font |
void |
setYAxisLabelForeground(java.awt.Color foreground)
set Y-Axis Label Font Color |
void |
setYAxisLabelFormat(java.lang.String formatStr)
set Y-Axis Label Format string |
void |
setYAxisLabelTooltipText(java.lang.String tooltip)
set Y-Axis Label Tooltip text |
void |
setYAxisLabelVisible(boolean visible)
set Y-Axis Label visible |
void |
setYAxisLineColor(java.awt.Color linecolor)
set Y-Axis Major Line Color |
void |
setYAxisLineWidth(int width)
set Y-Axis Major Line Width |
void |
setYAxisMaxLabelValue(double yAxisMaxLabelValue)
To set y axis maximum label value |
void |
setYAxisMinLabelValue(double yAxisMinLabelValue)
To set y axis minimum label value |
void |
setYAxisName(java.lang.String name)
set Y-Axis Name |
void |
setYAxisNameAlign(int align)
set Y-Axis Name Alignment |
void |
setYAxisNameBackground(java.awt.Color bgColor)
set Y-Axis Name Background Color |
void |
setYAxisNameBackgroundVisible(boolean visible)
set Y-Axis Name Background visible |
void |
setYAxisNameBorderColor(java.awt.Color inColor)
set Y-Axis Name Border Color |
void |
setYAxisNameBorderStyle(int style)
set Y-Axis Name Border style |
void |
setYAxisNameBorderWidth(int width)
set Y-Axis Name Border Width |
void |
setYAxisNameFont(java.awt.Font namefont)
set Y-Axis Name Font |
void |
setYAxisNameForeground(java.awt.Color foreground)
set Y-Axis Name Font Color |
void |
setYAxisNameMaxLine(int max)
set Y-Axis Name Maximum number of lines |
void |
setYAxisNameShadowColor(java.awt.Color inColor)
set Y-Axis Name Shadow Color |
void |
setYAxisNameShadowStyle(int style)
set Axis Name Shadow style |
void |
setYAxisNameShadowWidth(int width)
set Y-Axis Name Shadow Width |
void |
setYAxisNameVisible(boolean visible)
set Y-Axis Name visible |
void |
setYAxisPosition(int position)
Set position of Y-Axis |
void |
setYAxisProperties(GraphYAxisDetail inGraphYAxisDetail)
Set GraphYAxisDetail Object |
void |
setYAxisTickLineColor(java.awt.Color linecolor)
set Y-Axis Tick Line Color |
void |
setYAxisTickLineHeight(int height)
set Y-Axis Tick Line Height |
void |
setYAxisTickLinePosition(int position)
set Y-Axis Tick Line Position |
void |
setYAxisTickLineVisible(boolean visible)
set Y-Axis Tick Line visible on Major Line |
void |
setYAxisTickLineWidth(int width)
set Y-Axis Tick Line Width |
void |
setYAxisUnitLabel(java.lang.String yAxisUnitLabel)
To set y axis Unit label |
void |
setYDivisionValue(double value)
Set Division Value For Y-Axis |
void |
setYZeroGridLineColor(java.awt.Color linecolor)
set Y-Axis Zero Grid Line Color |
void |
setYZeroGridLineStyle(int style)
set Y-Axis Zero Grid Line Style |
void |
setYZeroGridLineWidth(int width)
set Y-Axis Zero Grid Line Width |
void |
setZAxisAlignment(int align)
set Axis Position |
void |
setZAxisBackground(java.awt.Color bgColor)
To display the background of the Z-axis , you can use this method |
void |
setZAxisBackgroundVisible(boolean visible)
Set Z-Axis Background Visible |
void |
setZAxisBorderColor(java.awt.Color inColor)
set Z Axis Border Color |
void |
setZAxisBorderStyle(int style)
set Z-Axis Border style |
void |
setZAxisBorderWidth(int width)
set Z Axis Border Width |
void |
setZAxisLabelAlign(int align)
set Z-Axis Label alignment |
void |
setZAxisLabelBackground(java.awt.Color Backgroundcolor)
set Z-Axis label Background Color |
void |
setZAxisLabelBackgroundVisible(boolean visible)
set Z-Axis label Background visible |
void |
setZAxisLabelDrillDownEnable(boolean enable)
set Z-Axis label DrillDown Enable |
void |
setZAxisLabelFont(java.awt.Font labelfont)
set Z-Axis Label Font |
void |
setZAxisLabelForeground(java.awt.Color foreground)
set Z-Axis Label Font Color |
void |
setZAxisLabelFormat(java.lang.String formatStr)
set Z-Axis Label Format string |
void |
setZAxisLabelShowOrder(int align)
set Z AxisLabel Show Order 0 : Left to Right (for H alignment) Top to Bottom (for V alignment) 1 : Right to Left (for H alignment) Bottom to Top (for V alignment) |
void |
setZAxisLabelTooltipText(java.lang.String tooltip)
set Z-Axis Label Tooltip text |
void |
setZAxisLabelVisible(boolean visible)
set Z-Axis Label visible |
void |
setZAxisName(java.lang.String name)
set Z-Axis Name |
void |
setZAxisNameAlign(int align)
set Z-Axis Name Alignment |
void |
setZAxisNameBackground(java.awt.Color bgColor)
set Z-Axis Name Background Color |
void |
setZAxisNameBackgroundVisible(boolean visible)
set Z-Axis Name Background visible |
void |
setZAxisNameBorderColor(java.awt.Color inColor)
set Z-Axis Name Border Color |
void |
setZAxisNameBorderStyle(int style)
set Z-Axis Name Border style |
void |
setZAxisNameBorderWidth(int width)
set Z-Axis Name Border Width |
void |
setZAxisNameFont(java.awt.Font namefont)
set Z-Axis Name Font |
void |
setZAxisNameForeground(java.awt.Color foreground)
set Z-Axis Name Font Color |
void |
setZAxisNameMaxLine(int max)
set Z-Axis Name Maximum number of lines |
void |
setZAxisNameShadowColor(java.awt.Color inColor)
set Z-Axis Name Shadow Color |
void |
setZAxisNameShadowStyle(int style)
set Axis Name Shadow style |
void |
setZAxisNameShadowWidth(int width)
set Z-Axis Name Shadow Width |
void |
setZAxisNameVisible(boolean visible)
set Z-Axis Name visible |
void |
setZAxisPosition(int pos)
set Axis Position |
void |
setZAxisProperties(GraphZAxisDetail inGraphZAxisDetail)
Set GraphZAxisDetail Object |
void |
setZAxisShadowColor(java.awt.Color inColor)
set Z Axis Shadow Color |
void |
setZAxisShadowStyle(int style)
set Z Axis Shadow style |
void |
setZAxisShadowWidth(int width)
set Z Axis Shadow Width |
void |
setZAxisVisible(boolean visible)
Set Z-Axis Visible/Hide |
void |
setZoom(ZoomFactor in_ZoomFactor,
java.awt.Rectangle in_ZoomInRect,
boolean in_bIsZoomIn)
Set Zoom as per given ZoomFactor and zoom flag |
void |
setZoomEnable(boolean zoomEnable)
set zoom rectangle is display or hide |
void |
setZoomSelectionEnabled(boolean inValue)
|
void |
showPopupMenu(DrillDownDetail inDDDetail,
int inX,
int inY)
Show popup menu |
ZoomFactor |
updateZoomStepStack(ZoomFactor in_OldZoom,
ZoomFactor in_NewZoom,
boolean in_bIsZoomIn)
Update ZoomStep Stack |
void |
validateGraph()
Validate graph and its parent scrollpane to resize graph |
protected void |
writeAttributes(XMLWriter xmlWriter)
|
protected void |
writeElement(java.lang.String name,
XMLWriter writer,
org.xml.sax.helpers.AttributesImpl attributes)
Write Element and its attributes into xml file by xmlwriter |
void |
writeExternal(java.io.ObjectOutput out)
This method saves the state of the bean |
protected void |
writeGraphAttributes(XMLWriter xmlWriter)
|
protected void |
writeGraphData(XMLWriter xmlwriter)
|
protected void |
writeGraphDataAttributes(XMLWriter xmlwriter,
java.lang.String name,
GraphPanel object)
|
void |
writeToXML(java.io.File xmlfile)
|
void |
writeToXML(java.lang.String xmlFilePath)
|
protected void |
writeXAxisAttributes(XMLWriter xmlWriter,
GraphXAxisDetail axisDetail,
java.lang.String name)
|
protected void |
writeYAxisAttributes(XMLWriter xmlWriter,
GraphYAxisDetail axisDetail,
java.lang.String name)
|
protected void |
writeZAxisAttributes(XMLWriter xmlWriter,
GraphZAxisDetail axisDetail,
java.lang.String name)
|
void |
zoomRect()
ZoomIn such that selected Rectangle becomes view Rectangle |
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paintBorder, paintChildren, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
| Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public transient com.elegantj.editors.C11 c11
public static final transient java.util.ResourceBundle RESOURCE_BUNDLE
protected static final int INITIALIZE
protected static final int GRAPH_TYPE
protected static final int Y_AXIS_DIVISION_VALUE
protected static final int Y_AXIS_MAX_LABEL_VALUE
protected static final int Y_AXIS_MIN_LABEL_VALUE
protected static final int Y_AXIS_UNIT_LABEL
protected static final int Y_AXIS_COMMA_FORMAT
protected static final int EXPLAIN_NOTES_STR_LEN
protected static final int SERIAL_AXIS_LABEL
protected static final int NUMERICAL_AXIS_LABEL
protected static final int ITEM_AXIS_LABEL
protected static final int COMPUTATION_TYPE
protected static final int DRILL_DOWN_REFRESH
protected static final int TOOL_TIP_CHANGE
protected static final int GRAPH_PROPERTY_CHANGE
protected static final int GRAPH_DATA_SORT
protected static final int MOUSE_OVER_CHANGE
protected static final int EXPLAN_NOTES_STR_LEN_DEFAULT
protected java.awt.Dimension m_GraphSize
public int m_kGraph
protected java.lang.String m_SerialAxisLabel
protected java.lang.String m_NumericalAxisLabel
protected java.lang.String m_ItemAxisLabel
protected java.util.Vector m_GraphData
protected boolean m_bIsGraphDataPreserved
protected DataProvider m_DataProvider
protected java.sql.ResultSet m_ResultSet
protected java.lang.String m_Driver
protected java.lang.String m_URL
protected java.lang.String m_userName
protected java.lang.String m_Password
protected java.lang.String m_Query
protected int m_ComputationType
protected int m_YAxisDivisionValue
protected double m_YAxisMaxLabelValue
protected double m_YAxisMinLabelValue
protected java.lang.String m_YAxisUnitLabel
public int m_ExplainNotesStrLen
public GraphTitleDetail m_GraphTitleDetail
public GraphXAxisDetail m_GraphXAxisDetail
public GraphYAxisDetail m_GraphYAxisDetail
public GraphZAxisDetail m_GraphZAxisDetail
protected ToolTip m_GraphTooltip
protected GraphPopupMenu m_PopupMenu
protected boolean m_SortEnable
protected boolean m_drillDownEnable
protected boolean m_ZoomEnable
protected boolean m_3DEffectEnable
protected int m_3DHorizontalOffset
protected int m_3DVerticalOffset
protected boolean m_GraphAreaBackgroundVisible
protected java.awt.Color m_GraphAreaBackground
protected boolean m_GraphAreaGradientVisible
protected java.awt.Color m_GraphAreaGradientColor
protected int m_GraphAreaGradientMode
protected int m_GraphAreaGradientAngle
protected int m_GraphAreaGradientExtent
protected boolean m_TooltipEnable
protected java.lang.String m_DefaultTooltipText
protected long m_TooltipShowInterval
protected long m_TooltipVisibleInterval
protected java.awt.Font m_TooltipFont
protected java.awt.Color m_TooltipBackground
protected java.awt.Color m_TooltipForeground
protected int m_TooltipBorderStyle
protected int m_TooltipBorderWidth
protected java.awt.Color m_TooltipBorderColor
protected boolean m_MouseOverEffectEnable
protected boolean m_MouseOverTextEnable
protected boolean m_MouseOverStaticTextEnable
protected java.lang.String m_MouseOverText
protected int m_MouseOverTextMaxLen
protected java.awt.Font m_MouseOverTextFont
protected boolean m_MouseOverTextBackgroundVisible
protected java.awt.Color m_MouseOverTextBackground
protected java.awt.Color m_MouseOverTextForeground
protected int m_MouseOverTextBorderStyle
protected int m_MouseOverTextBorderWidth
protected java.awt.Color m_MouseOverTextBorderColor
protected int m_MouseOverTextShadowStyle
protected int m_MouseOverTextShadowWidth
protected java.awt.Color m_MouseOverTextShadowColor
protected int m_MouseOverTextAlign
protected boolean m_GraphNotesEnable
protected java.util.Vector m_GraphNotes
protected long m_GraphNotesShowInterval
protected long m_GraphNotesVisibleInterval
protected java.awt.Font m_GraphNotesFont
protected java.awt.Color m_GraphNotesBackground
protected java.awt.Color m_GraphNotesForeground
protected int m_GraphNotesBorderStyle
protected int m_GraphNotesBorderWidth
protected java.awt.Color m_GraphNotesBorderColor
protected int m_GraphNotesShadowStyle
protected int m_GraphNotesShadowWidth
protected java.awt.Color m_GraphNotesShadowColor
protected transient ZoomListener m_ZoomListener
public transient javax.swing.JScrollPane m_Parent
protected transient int m_iTopOffset
protected transient int m_iLeftOffset
protected transient int m_iBottomOffset
protected transient int m_iRightOffset
protected transient boolean m_reDraw
public transient GraphicsEx m_GraphicsEx
public transient java.awt.Graphics m_Graphics
protected boolean m_bFitToSize
protected transient boolean m_ZoomSelectionEnabled
protected DrillDownListener m_DrillDownListener
protected boolean m_IsHandCursor
protected boolean m_IsMouseOver
protected int m_oldPointSeriesIndex
protected int m_oldPointItemIndex
protected java.lang.Object m_GraphObj
protected java.lang.String m_TooltipText
protected int click_x
protected int click_y
protected java.util.Vector m_sum
| Constructor Detail |
public GraphPanel()
| Method Detail |
public final void setLicenseKey(java.lang.String licenseKey)
public final java.lang.String getLicenseKey()
public final void setInternalLicenseKey(java.lang.String licenseKey)
public boolean isLicenseKeyValid()
public void setZoomSelectionEnabled(boolean inValue)
public boolean isZoomSelectionEnabled()
public void setLightweight(boolean b)
b - true if this component has a lightweight peer; false if it has a native peer or no peer.public boolean isLightweight()
isLightweight in class java.awt.Componentpublic void setFont(java.awt.Font gFont)
setFont in class javax.swing.JComponentgFont - Graph Fontpublic void setBackground(java.awt.Color bgcolor)
setBackground in class javax.swing.JComponentbgcolor - Graph Background Colorpublic void setForeground(java.awt.Color fgcolor)
setForeground in class javax.swing.JComponentfgcolor - Graph Foreground Colorpublic void setGradientVisible(boolean gVisible)
gVisible - true - Gradient is visible false - otherwizepublic boolean getGradientVisible()
public void setGradientColor(java.awt.Color inGradientColor)
inGradientColor - Gradient Colorpublic java.awt.Color getGradientColor()
public void setGradientExtent(int inExtent)
inExtent - Gradient Default Extentpublic int getGradientExtent()
public void setGradientAngle(int angle)
angle - Gradient Painter anglepublic int getGradientAngle()
public void setGradientMode(int mode)
mode - Gradient Painter modepublic int getGradientMode()
public void setGraphBorderStyle(int style)
style - Graph Border stylepublic int getGraphBorderStyle()
public void setGraphBorderWidth(int width)
width - Graph Border widthpublic int getGraphBorderWidth()
public void setGraphBorderColor(java.awt.Color inColor)
inColor - Graph Border colorpublic java.awt.Color getGraphBorderColor()
public void setGraphSize(java.awt.Dimension size)
size - preferred sizepublic java.awt.Dimension getGraphSize()
public void setGraphType(int kGraph)
kGraph - one of the constants :
VBAR_GRAPH, HBAR_GRAPHpublic int getGraphType()
public void setSerialAxisLabel(java.lang.String label)
label - X-Axis Labelpublic java.lang.String getSerialAxisLabel()
public void setNumericalAxisLabel(java.lang.String label)
label - Y-Axis Labelpublic java.lang.String getNumericalAxisLabel()
public void setItemAxisLabel(java.lang.String label)
label - Z-Axis Labelpublic java.lang.String getItemAxisLabel()
public void setGraphData(java.util.Vector graphData)
graphData - the double dimensional vector containing the graph data,
first element of the vector should be column namespublic java.util.Vector getGraphData()
public void setGraphData(java.util.List graphData)
graphData - the double dimensional List containing the graph data,
first element of the List should be column namespublic void setGraphDataEmbeded(boolean flag)
flag - flag indicate wheather graph data serialize or notpublic boolean isGraphDataEmbeded()
public void setGraphDataProvider(DataProvider dataProvider)
public DataProvider getGraphDataProvider()
public void setGraphDataResultSet(java.sql.ResultSet resultSet)
public java.sql.ResultSet getGraphDataResultSet()
public void setGraphDataURL(java.lang.String driver,
java.lang.String url,
java.lang.String userName,
java.lang.String password,
java.lang.String query)
driver - name of driver of databaseurl - specify the url of databasepassword - passwordquery - query which is fire to databasepublic void setComputationType(int type)
type - one of the constants :
NONE_COMPUTATION, SUM_COMPUTATION,
COUNT_COMPUTATION, VALID_COUNT_COMPUTATION,
AVERAGE_COMPUTATION, VALID_AVERAGE_COMPUTATION,
MAXIMUM_COMPUTATION, MINIMUM_COMPUTATIONpublic int getComputationType()
public void setYAxisDivisionValue(int yAxisDivisionValue)
yAxisDivisionValue - division value at y axispublic int getYAxisDivisionValue()
public void setYAxisMaxLabelValue(double yAxisMaxLabelValue)
yAxisMaxLabelValue - maximum value at y axispublic double getYAxisMaxLabelValue()
public void setYAxisMinLabelValue(double yAxisMinLabelValue)
public double getYAxisMinLabelValue()
public void setYAxisUnitLabel(java.lang.String yAxisUnitLabel)
public java.lang.String getYAxisUnitLabel()
public void setExplainNotesStrLen(int explainNotesStrLen)
public int getExplainNotesStrLen()
public void setDrillDownEnable(boolean drillDownEnable)
drillDownEnable - Drill Down effect is Enable or Disablepublic boolean getDrillDownEnable()
public void setZoomEnable(boolean zoomEnable)
zoomEnable - zoom rectangle is display or hidepublic boolean getZoomEnable()
public void setSortDataEnable(boolean sortEnable)
sortEnable - Data is sort or not before generating Graphpublic boolean getSortDataEnable()
public void setGraph3DEffect(boolean enable)
enable - if true then Graph 3D Effect is drawn otherwise notpublic boolean getGraph3DEffect()
public void setGraph3DHorizontalOffset(int offset)
offset - Horizontal Offset of 3D Effectpublic int getGraph3DHorizontalOffset()
public void setGraph3DVerticalOffset(int offset)
offset - Vertical Offset of 3D Effectpublic int getGraph3DVerticalOffset()
public void setTitleProperties(GraphTitleDetail inGraphTitleDetail)
inGraphTitleDetail - Object specifying Title properties (text,color,font,boreder,etc...)public GraphTitleDetail getTitleProperties()
public void setXAxisProperties(GraphXAxisDetail inGraphXAxisDetail)
inGraphXAxisDetail - Object specifying X-Axis properties (text,color,font,boreder,etc...)public GraphXAxisDetail getXAxisProperties()
public void setYAxisProperties(GraphYAxisDetail inGraphYAxisDetail)
inGraphYAxisDetail - Object specifying Y-Axis properties (text,color,font,boreder,etc...)public GraphYAxisDetail getYAxisProperties()
public void setZAxisProperties(GraphZAxisDetail inGraphZAxisDetail)
inGraphZAxisDetail - Object specifying Z-Axis properties (text,color,font,boreder,etc...)public GraphZAxisDetail getZAxisProperties()
public void setGraphAreaBackgroundVisible(boolean visible)
visible - true - Background is visible false - otherwizepublic boolean getGraphAreaBackgroundVisible()
public void setGraphAreaBackground(java.awt.Color inColor)
inColor - Color to be setpublic java.awt.Color getGraphAreaBackground()
public void setGraphAreaGradientVisible(boolean gVisible)
gVisible - true - Gradient is visible false - otherwizepublic boolean getGraphAreaGradientVisible()
public void setGraphAreaGradientColor(java.awt.Color inGradientColor)
inGradientColor - Gradient Colorpublic java.awt.Color getGraphAreaGradientColor()
public void setGraphAreaGradientAngle(int angle)
angle - Graph Area Gradient Painter anglepublic int getGraphAreaGradientAngle()
public void setGraphAreaGradientExtent(int inExtent)
inExtent - Gradient Painter Extentspublic int getGraphAreaGradientExtent()
public void setGraphAreaGradientMode(int mode)
mode - Gradient Painter modepublic int getGraphAreaGradientMode()
public void setGraphNotesVisible(boolean visible)
visible - true - Graph GraphNotes text is Visible otherwise falsepublic boolean getGraphNotesVisible()
public void setGraphNotes(java.util.Vector notes)
notes - Vector of graph notespublic java.util.Vector getGraphNotes()
public void setGraphNotesShowInterval(long interval)
interval - show interval in millisecondpublic long getGraphNotesShowInterval()
public void setGraphNotesVisibleInterval(long interval)
interval - GraphNotes visible interval in millisecondpublic long getGraphNotesVisibleInterval()
public void setGraphNotesFont(java.awt.Font gFont)
gFont - GraphNotes Fontpublic java.awt.Font getGraphNotesFont()
public void setGraphNotesBackground(java.awt.Color bgcolor)
bgcolor - GraphNotes Background Colorpublic java.awt.Color getGraphNotesBackground()
public void setGraphNotesForeground(java.awt.Color fgcolor)
fgcolor - GraphNotes Foreground Colorpublic java.awt.Color getGraphNotesForeground()
public void setGraphNotesBorderStyle(int style)
style - GraphNotes Border stylepublic int getGraphNotesBorderStyle()
public void setGraphNotesBorderWidth(int width)
width - GraphNotes Border widthpublic int getGraphNotesBorderWidth()
public void setGraphNotesBorderColor(java.awt.Color inColor)
inColor - GraphNotes Border colorpublic java.awt.Color getGraphNotesBorderColor()
public void setGraphNotesShadowStyle(int style)
style - GraphNotes Shadow stylepublic int getGraphNotesShadowStyle()
public void setGraphNotesShadowWidth(int width)
width - GraphNotes Shadow widthpublic int getGraphNotesShadowWidth()
public void setGraphNotesShadowColor(java.awt.Color inColor)
inColor - GraphNotes Shadow colorpublic java.awt.Color getGraphNotesShadowColor()
public void setMouseOverEffectEnable(boolean visible)
visible - true - Graph Mouse Over Effect is Visible otherwise falsepublic boolean getMouseOverEffectEnable()
public void setMouseOverTextEnable(boolean visible)
visible - true - Graph Mouse Over text is Visible otherwise falsepublic boolean getMouseOverTextEnable()
public void setMouseOverTextFont(java.awt.Font newFont)
newFont - Graph Mouse Over text Fontpublic java.awt.Font getMouseOverTextFont()
public void setMouseOverTextBackgroundVisible(boolean visible)
visible - true - Graph Mouse Over text Background is Visible otherwise falsepublic boolean getMouseOverTextBackgroundVisible()
public void setMouseOverTextBackground(java.awt.Color newColor)
newColor - Graph Mouse Over text Background colorpublic java.awt.Color getMouseOverTextBackground()
public void setMouseOverTextForeground(java.awt.Color newColor)
newColor - Graph Mouse Over text Foreground colorpublic java.awt.Color getMouseOverTextForeground()
public void setMouseOverTextBorderStyle(int style)
style - Mouse Over Text Border stylepublic int getMouseOverTextBorderStyle()
public void setMouseOverTextBorderWidth(int width)
width - Mouse Over Text Border widthpublic int getMouseOverTextBorderWidth()
public void setMouseOverTextBorderColor(java.awt.Color inColor)
inColor - Mouse Over Text Border colorpublic java.awt.Color getMouseOverTextBorderColor()
public void setMouseOverTextShadowStyle(int style)
style - Mouse Over Text Shadow stylepublic int getMouseOverTextShadowStyle()
public void setMouseOverTextShadowWidth(int width)
width - Mouse Over Text Shadow widthpublic int getMouseOverTextShadowWidth()
public void setMouseOverTextShadowColor(java.awt.Color inColor)
inColor - Mouse Over Text Shadow colorpublic java.awt.Color getMouseOverTextShadowColor()
public void setMouseOverTextAlignment(int align)
align - Graph Mouse Over text Alignmentpublic int getMouseOverTextAlignment()
public void setMouseOverStaticTextEnable(boolean visible)
visible - true - Graph Mouse Over text is Static
otherwise Mouse over text is displayed on mouse overpublic boolean getMouseOverStaticTextEnable()
public void setMouseOverText(java.lang.String text)
text - Specifies the MouseOver textpublic java.lang.String getMouseOverText()
public void setMouseOverTextMaxLen(int max)
max - Specifies the MouseOver text maximum number of characterpublic int getMouseOverTextMaxLen()
public void setTooltipVisible(boolean visible)
visible - true - Graph Tooltip text is Visible otherwise falsepublic boolean getTooltipVisible()
public void setDefaultTooltipText(java.lang.String tooltip)
tooltip - Specifies the tooltip textpublic java.lang.String getDefaultTooltipText()
public void setTooltipShowInterval(long interval)
interval - show interval in millisecondpublic long getTooltipShowInterval()
public void setTooltipVisibleInterval(long interval)
interval - Tooltip visible interval in millisecondpublic long getTooltipVisibleInterval()
public void setTooltipFont(java.awt.Font gFont)
gFont - Tooltip Fontpublic java.awt.Font getTooltipFont()
public void setTooltipBackground(java.awt.Color bgcolor)
bgcolor - Tooltip Background Colorpublic java.awt.Color getTooltipBackground()
public void setTooltipForeground(java.awt.Color fgcolor)
fgcolor - Tooltip Foreground Colorpublic java.awt.Color getTooltipForeground()
public void setTooltipBorderStyle(int style)
style - tooltip Border stylepublic int getTooltipBorderStyle()
public void setTooltipBorderWidth(int width)
width - tooltip Border widthpublic int getTooltipBorderWidth()
public void setTooltipBorderColor(java.awt.Color inColor)
inColor - tooltip Border colorpublic java.awt.Color getTooltipBorderColor()
protected void addValues(java.util.Vector dataValues,
java.util.Vector dataMatrix)
dataValues - the column valuesdataMatrix - the graph data vector
public static double divide(double inValue1,
double inValue2)
public boolean populateGraph()
protected void refreshProperties(int nFor)
nFor - the changed property constantpublic void reDraw()
public java.awt.Polygon getGraphAreaPolygon()
public void paint(java.awt.Graphics g)
paint in class javax.swing.JComponentpublic void paintComponent(java.awt.Graphics g)
paintComponent in class javax.swing.JComponentpublic void drawBackgroundImage(java.awt.Graphics g)
public java.awt.Image getFlipedImage(java.awt.Image image)
public void repaintChildren()
public void setGraphics(java.awt.Graphics g)
public java.awt.Graphics getGraphics()
getGraphics in class javax.swing.JComponentpublic void setGraphFitToSize(boolean visible)
public boolean isGraphFitToSize()
public void drawGradient(java.awt.Graphics g,
java.awt.Rectangle rect)
g - Graphics objectrect - Graph bounding rect
public void drawGraphBorder(java.awt.Graphics g,
int x,
int y,
int width,
int height)
g - Graphics objectx - x positiony - y positionwidth - width of Graphheight - height of Graphprotected java.awt.Rectangle getVisibleGraphRect()
public void addGraphNote(DrillDownDetail inDDDetail,
java.lang.String inNote)
inDDDetail - DrillDownDetail objectpublic int getGraphNoteIndex(DrillDownDetail inDDDetail)
inDDDetail - DrillDownDetail object
public java.lang.String getGraphNote(DrillDownDetail inDDDetail)
inDDDetail - DrillDownDetail object
public void removeGraphNote(DrillDownDetail inDDDetail)
inDDDetail - DrillDownDetail object
public void showPopupMenu(DrillDownDetail inDDDetail,
int inX,
int inY)
inDDDetail - DrillDownDetail objectinX - x coordinateinY - y coordinate
public ZoomFactor updateZoomStepStack(ZoomFactor in_OldZoom,
ZoomFactor in_NewZoom,
boolean in_bIsZoomIn)
in_OldZoom - ZoomFactor object to push in Stack (old ZoomFactor)in_NewZoom - ZoomFactor object to varify Stack content (new ZoomFactor)in_bIsZoomIn - True for ZoomIn, False - for ZoomOut
public void clearZoomStepStack()
public int getZoomInCount()
public javax.swing.JScrollPane getScrollPane()
public void validateGraph()
public void setZoom(ZoomFactor in_ZoomFactor,
java.awt.Rectangle in_ZoomInRect,
boolean in_bIsZoomIn)
in_ZoomFactor - ZoomFactor objectin_ZoomInRect - Selected Rectangle to set viewin_bIsZoomIn - True for ZoomIn, False for ZoomOutpublic boolean checkZoomFactor(ZoomFactor in_ZoomFactor)
public void setMaxZoomFactor(ZoomFactor in_MaxZoom)
in_MaxZoom - Set maximum zoomFactorpublic ZoomFactor getMaxZoomFactor()
public ZoomFactor getCurZoomFactor()
public void setPrinting(boolean isPrinting)
isPrinting - state of printing flagpublic boolean isPrinting()
public boolean isPopulateFlag()
public void setPopulateFlag(boolean flag)
flag - boolean
public void fireZoomEvent(ZoomFactor in_zf,
boolean in_bIsZoomIn)
in_zf - Zoom Factorin_bIsZoomIn - True - ZoomIn, False - ZoomOutpublic void addZoomListener(ZoomListener zl)
zl - Zoom Listenerpublic void removeZoomListener()
public java.lang.String getStringFromMacro(java.lang.String inMacroString,
DrillDownDetail inDrillDownDetail)
inMacroString - String containing MacrosinDrillDownDetail - DrillDownDetail object
public void processComponentEvent(java.awt.event.ComponentEvent cevt)
processComponentEvent in class java.awt.Componentprotected void processMouseEvent(java.awt.event.MouseEvent mevt)
processMouseEvent in class java.awt.Componentprotected void processMouseMotionEvent(java.awt.event.MouseEvent mevt)
processMouseMotionEvent in class javax.swing.JComponentpublic void addDrillDownListener(DrillDownListener listener)
public void removeDrillDownListener(DrillDownListener listener)
public DrillDownDetail getDrillDownDetail(GraphicsEx gEx,
int clickX,
int clickY)
public java.lang.String getTooltipText()
protected void firePropertyChange(java.lang.String property,
java.lang.Object oldObject,
java.lang.Object newObject)
firePropertyChange in class javax.swing.JComponentproperty - The name of the propertyoldObject - The old valuenewObject - The new valuepublic void addPropertyChangeListener(java.beans.PropertyChangeListener l)
addPropertyChangeListener in class javax.swing.JComponentl - The property change listenerpublic void removePropertyChangeListener(java.beans.PropertyChangeListener l)
removePropertyChangeListener in class javax.swing.JComponentl - The property change listenerpublic java.awt.Rectangle getSelectedRect()
public void zoomRect()
public void doZoom()
public void resetSelectedZoomRect()
public void setBgImageSourcePath(java.lang.String inPath)
inPath - Background Image Source Pathpublic java.lang.String getBgImageSourcePath()
public void setBgImageEmbedded(boolean inValue)
inValue - true: Background image embedded with graph, otherwise falsepublic boolean getBgImageEmbedded()
public void setBgImageVisible(boolean inValue)
inValue - true: Background image visible, otherwise falsepublic boolean getBgImageVisible()
public void saveAsImageBMP(java.io.OutputStream out)
out - OutputStream to which graph is to be savedpublic void saveAsImageJPEG(java.io.OutputStream out)
out - OutputStream to which graph is to be savedpublic void setBgImageFromPath(java.lang.String newImagePath)
newImagePath - image to be drawn in backgroundpublic java.lang.String getBgImageFromPath()
public void setBackgroundImage(java.awt.Image bgImage)
bgImage - image to be drawn in backgroundpublic java.awt.Image getBackgroundImage()
public void setBgImageDisplay(int inBgImageDisplay)
inBgImageDisplay - the background image Display typepublic int getBgImageDisplay()
public void setBgImageFlipType(int inBgImageFlipType)
inBgImageFlipType - the background image Flip typepublic int getBgImageFlipType()
public void setGraphAreaDrillDownEnable(boolean drillDownEnable)
drillDownEnable - Graph Area Drill Down effect is Enable or Disablepublic boolean getGraphAreaDrillDownEnable()
protected java.awt.Dimension getZoomAffectedSize(java.awt.Dimension inSize)
inSize - the dimension
public java.awt.Insets getFixedArea()
public void readExternal(java.io.ObjectInput in)
throws java.lang.ClassNotFoundException,
java.io.IOException
readExternal in interface java.io.Externalizablejava.lang.ClassNotFoundException
java.io.IOException
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOExceptionpublic void initGraphTest()
public java.util.Vector getTestData()
public void setDefaultProperties()
protected java.lang.String parseValue(java.lang.String value)
protected static java.lang.String generateColorString(java.awt.Color inColor)
inColor - the color
protected static java.lang.String getExtension(java.io.File f)
public GraphPanel loadFromXML(java.io.File xmlFile)
public GraphPanel loadFromXML(java.lang.String xmlFile)
public void writeToXML(java.lang.String xmlFilePath)
public void writeToXML(java.io.File xmlfile)
protected void writeAttributes(XMLWriter xmlWriter)
throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected void writeElement(java.lang.String name,
XMLWriter writer,
org.xml.sax.helpers.AttributesImpl attributes)
throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected void writeGraphAttributes(XMLWriter xmlWriter)
throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected org.xml.sax.helpers.AttributesImpl getGraphTypeAttributes()
throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected org.xml.sax.helpers.AttributesImpl getCommonAttributes()
throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected org.xml.sax.helpers.AttributesImpl getBackgroundAttributes()
throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected org.xml.sax.helpers.AttributesImpl getGraphAreaAttributes()
throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected org.xml.sax.helpers.AttributesImpl getMouseOverAttributes()
throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected org.xml.sax.helpers.AttributesImpl getToolTipAttributes()
throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected org.xml.sax.helpers.AttributesImpl getTitleAttributes(GraphTitleDetail titleDetail)
throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected void writeXAxisAttributes(XMLWriter xmlWriter,
GraphXAxisDetail axisDetail,
java.lang.String name)
throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected void writeYAxisAttributes(XMLWriter xmlWriter,
GraphYAxisDetail axisDetail,
java.lang.String name)
throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected void writeZAxisAttributes(XMLWriter xmlWriter,
GraphZAxisDetail axisDetail,
java.lang.String name)
throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected org.xml.sax.helpers.AttributesImpl getAxisNameAttributes(AxisDetail axisDetail)
throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected org.xml.sax.helpers.AttributesImpl getAxisLabelAttributes(AxisDetail axisDetail)
throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected org.xml.sax.helpers.AttributesImpl getAxisLineAttributes(AxisDetail axisDetail)
throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected org.xml.sax.helpers.AttributesImpl getAxisGridAttributes(AxisDetail axisDetail)
throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected void writeGraphData(XMLWriter xmlwriter)
throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected org.xml.sax.helpers.AttributesImpl getColomnLabelsAttributes()
throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected void writeGraphDataAttributes(XMLWriter xmlwriter,
java.lang.String name,
GraphPanel object)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic void setXAxisNameVisible(boolean visible)
visible - if true then X-Axis name is display otherwise not drawnpublic boolean getXAxisNameVisible()
public void setXAxisName(java.lang.String name)
name - String representing X-Axis namepublic java.lang.String getXAxisName()
public void setXAxisNameMaxLine(int max)
max - Maximum number of X-Axis name linespublic int getXAxisNameMaxLine()
public void setXAxisNameFont(java.awt.Font namefont)
namefont - font style for X-Axis namepublic java.awt.Font getXAxisNameFont()
public void setXAxisNameForeground(java.awt.Color foreground)
foreground - Foregound Color for X-Axis namepublic java.awt.Color getXAxisNameForeground()
public void setXAxisNameBackgroundVisible(boolean visible)
visible - if true then X-Axis name Backgound is drawn otherwise notpublic boolean getXAxisNameBackgroundVisible()
public void setXAxisNameBackground(java.awt.Color bgColor)
bgColor - Background Color for X-Axis namepublic java.awt.Color getXAxisNameBackground()
public void setXAxisNameBorderStyle(int style)
style - X-Axis name Border stylepublic int getXAxisNameBorderStyle()
public void setXAxisNameBorderWidth(int width)
width - X-Axis name Border widthpublic int getXAxisNameBorderWidth()
public void setXAxisNameBorderColor(java.awt.Color inColor)
inColor - X-Axis name Border colorpublic java.awt.Color getXAxisNameBorderColor()
public void setXAxisNameShadowStyle(int style)
style - X-Axis name Shadow stylepublic int getXAxisNameShadowStyle()
public void setXAxisNameShadowWidth(int width)
width - X-Axis name Shadow widthpublic int getXAxisNameShadowWidth()
public void setXAxisNameShadowColor(java.awt.Color inColor)
inColor - X-Axis name Shadow colorpublic java.awt.Color getXAxisNameShadowColor()
public void setXAxisNameAlign(int align)
align - Alignment of X-Axis namepublic int getXAxisNameAlign()
public void setXAxisLabelVisible(boolean visible)
visible - if true then X-Axis labels are display otherwise not drawnpublic boolean getXAxisLabelVisible()
public void setXAxisLabelAlign(int align)
public int getXAxisLabelAlign()
public void setXAxisLabelGap(int gap)
public int getXAxisLabelGap()
public void setXAxisLabelFont(java.awt.Font labelfont)
public java.awt.Font getXAxisLabelFont()
public void setXAxisLabelForeground(java.awt.Color foreground)
foreground - Foreground Color for X-Axis labelpublic java.awt.Color getXAxisLabelForeground()
public void setXAxisLabelBackgroundVisible(boolean visible)
visible - if true then X-Axis label Backgound is drawn otherwise notpublic boolean getXAxisLabelBackgroundVisible()
public void setXAxisLabelBackground(java.awt.Color Backgroundcolor)
public java.awt.Color getXAxisLabelBackground()
public void setXAxisLabelAlignAngle(int angle)
public int getXAxisLabelAlignAngle()
public void setOverLapXAxisLabelEnable(boolean visible)
visible - if true then Over lap X-Axis label is drawn otherwise notpublic boolean getOverLapXAxisLabelEnable()
public void setXAxisLabelFormat(java.lang.String formatStr)
formatStr - String representing X-Axis Label Formatpublic java.lang.String getXAxisLabelFormat()
public void setXAxisLabelDrillDownEnable(boolean enable)
public boolean getXAxisLabelDrillDownEnable()
public void setXAxisLabelTooltipText(java.lang.String tooltip)
tooltip - String representing X-Axis Label tooltip textpublic java.lang.String getXAxisLabelTooltipText()
public void setXAxisLineColor(java.awt.Color linecolor)
linecolor - Color of Major X-Axis linepublic java.awt.Color getXAxisLineColor()
public void setXAxisLineWidth(int width)
public int getXAxisLineWidth()
public void setXAxisTickLineVisible(boolean visible)
visible - if true then X-Axis Tick line is drawn otherwise notpublic boolean getXAxisTickLineVisible()
public void setXAxisTickLineColor(java.awt.Color linecolor)
public java.awt.Color getXAxisTickLineColor()
public void setXAxisTickLineWidth(int width)
public int getXAxisTickLineWidth()
public void setXAxisTickLineHeight(int height)
height - Height of X-Axis Tick linepublic int getXAxisTickLineHeight()
public void setXAxisTickLinePosition(int position)
position - Position of X-Axis Tick linepublic int getXAxisTickLinePosition()
public void setXAxisGridLineVisible(boolean visible)
visible - if true then X-Axis Grid line is drawn otherwise notpublic boolean getXAxisGridLineVisible()
public void setXAxisGridLineColor(java.awt.Color linecolor)
public java.awt.Color getXAxisGridLineColor()
public void setXAxisGridLineWidth(int width)
public int getXAxisGridLineWidth()
public void setXAxisGridLineStyle(int style)
style - Style of X-Axis Grid linepublic int getXAxisGridLineStyle()
public void setXAxisGridStripVisible(boolean visible)
visible - if true then X-Axis Grid Strip is drawn otherwise notpublic boolean getXAxisGridStripVisible()
public void setXAxisGridStripColor(java.awt.Color linecolor)
public java.awt.Color getXAxisGridStripColor()
public void setXZeroGridLineColor(java.awt.Color linecolor)
public java.awt.Color getXZeroGridLineColor()
public void setXZeroGridLineWidth(int width)
public int getXZeroGridLineWidth()
public void setXZeroGridLineStyle(int style)
style - Style of X-Axis Zero Grid linepublic int getXZeroGridLineStyle()
public void setXAxisMaxLabelValue(double max)
max - Maximum value of Xaxispublic double getXAxisMaxLabelValue()
public void setXAxisMinLabelValue(double min)
public double getXAxisMinLabelValue()
public void setXDivisionValue(double div)
div - Division Valuepublic double getXDivisionValue()
public void setYDivisionValue(double value)
value - This value specifies the interval on which Y-axis label(values)are displayedpublic double getYDivisionValue()
public void setYAxisPosition(int position)
position - GraphConstants.LEFT or GraphConstants.RIGHTpublic int getYAxisPosition()
public void setYAxisNameVisible(boolean visible)
visible - if true then Y-Axis name is display otherwise not drawnpublic boolean getYAxisNameVisible()
public void setYAxisName(java.lang.String name)
name - String representing Y-Axis namepublic java.lang.String getYAxisName()
public void setYAxisNameMaxLine(int max)
max - Maximum number of Y-Axis name linespublic int getYAxisNameMaxLine()
public void setYAxisNameFont(java.awt.Font namefont)
namefont - font style for Y-Axis namepublic java.awt.Font getYAxisNameFont()
public void setYAxisNameForeground(java.awt.Color foreground)
foreground - Foregound Color for Y-Axis namepublic java.awt.Color getYAxisNameForeground()
public void setYAxisNameBackgroundVisible(boolean visible)
visible - if true then Y-Axis name Backgound is drawn otherwise notpublic boolean getYAxisNameBackgroundVisible()
public void setYAxisNameBackground(java.awt.Color bgColor)
bgColor - Background Color for Y-Axis namepublic java.awt.Color getYAxisNameBackground()
public void setYAxisNameBorderStyle(int style)
style - Y-Axis name Border stylepublic int getYAxisNameBorderStyle()
public void setYAxisNameBorderWidth(int width)
width - Y-Axis name Border widthpublic int getYAxisNameBorderWidth()
public void setYAxisNameBorderColor(java.awt.Color inColor)
inColor - Y-Axis name Border colorpublic java.awt.Color getYAxisNameBorderColor()
public void setYAxisNameShadowStyle(int style)
style - Axis name Shadow stylepublic int getYAxisNameShadowStyle()
public void setYAxisNameShadowWidth(int width)
width - Y-Axis name Shadow widthpublic int getYAxisNameShadowWidth()
public void setYAxisNameShadowColor(java.awt.Color inColor)
inColor - Y-Axis name Shadow colorpublic java.awt.Color getYAxisNameShadowColor()
public void setYAxisNameAlign(int align)
align - Alignment of Y-Axis namepublic int getYAxisNameAlign()
public void setYAxisLabelVisible(boolean visible)
visible - if true then Y-Axis labels are display otherwise not drawnpublic boolean getYAxisLabelVisible()
public void setYAxisLabelAlign(int align)
public int getYAxisLabelAlign()
public void setYAxisLabelFont(java.awt.Font labelfont)
public java.awt.Font getYAxisLabelFont()
public void setYAxisLabelForeground(java.awt.Color foreground)
foreground - Foreground Color for Y-Axis labelpublic java.awt.Color getYAxisLabelForeground()
public void setYAxisLabelBackgroundVisible(boolean visible)
visible - if true then Y-Axis label Backgound is drawn otherwise notpublic boolean getYAxisLabelBackgroundVisible()
public void setYAxisLabelBackground(java.awt.Color Backgroundcolor)
public java.awt.Color getYAxisLabelBackground()
public void setYAxisLabelAlignAngle(int angle)
public int getYAxisLabelAlignAngle()
public void setOverLapYAxisLabelEnable(boolean visible)
visible - if true then Over lap Y-Axis label is drawn otherwise notpublic boolean getOverLapYAxisLabelEnable()
public void setYAxisLabelFormat(java.lang.String formatStr)
formatStr - String representing Y-Axis Label Formatpublic java.lang.String getYAxisLabelFormat()
public void setYAxisLabelDrillDownEnable(boolean enable)
public boolean getYAxisLabelDrillDownEnable()
public void setYAxisLabelTooltipText(java.lang.String tooltip)
tooltip - String representing Y-Axis Label tooltip textpublic java.lang.String getYAxisLabelTooltipText()
public void setYAxisLineColor(java.awt.Color linecolor)
linecolor - Color of Major Y-Axis linepublic java.awt.Color getYAxisLineColor()
public void setYAxisLineWidth(int width)
public int getYAxisLineWidth()
public void setYAxisTickLineVisible(boolean visible)
visible - if true then Y-Axis Tick line is drawn otherwise notpublic boolean getYAxisTickLineVisible()
public void setYAxisTickLineColor(java.awt.Color linecolor)
public java.awt.Color getYAxisTickLineColor()
public void setYAxisTickLineWidth(int width)
public int getYAxisTickLineWidth()
public void setYAxisTickLineHeight(int height)
height - Height of Y-Axis Tick linepublic int getYAxisTickLineHeight()
public void setYAxisTickLinePosition(int position)
position - Position of Y-Axis Tick linepublic int getYAxisTickLinePosition()
public void setYAxisGridLineVisible(boolean visible)
visible - if true then Y-Axis Grid line is drawn otherwise notpublic boolean getYAxisGridLineVisible()
public void setYAxisGridLineColor(java.awt.Color linecolor)
public java.awt.Color getYAxisGridLineColor()
public void setYAxisGridLineWidth(int width)
public int getYAxisGridLineWidth()
public void setYAxisGridLineStyle(int style)
style - Style of Y-Axis Grid linepublic int getYAxisGridLineStyle()
public void setYAxisGridStripVisible(boolean visible)
visible - if true then Y-Axis Grid Strip is drawn otherwise notpublic boolean getYAxisGridStripVisible()
public void setYAxisGridStripColor(java.awt.Color linecolor)
public java.awt.Color getYAxisGridStripColor()
public void setYZeroGridLineColor(java.awt.Color linecolor)
public java.awt.Color getYZeroGridLineColor()
public void setYZeroGridLineWidth(int width)
public int getYZeroGridLineWidth()
public void setYZeroGridLineStyle(int style)
style - Style of Y-Axis Zero Grid linepublic int getYZeroGridLineStyle()
public void setZAxisVisible(boolean visible)
visible - true - legends are displayed otherwise notpublic boolean getZAxisVisible()
public void setZAxisBackgroundVisible(boolean visible)
visible - true - fill background with specified colorpublic boolean getZAxisBackgroundVisible()
public void setZAxisBackground(java.awt.Color bgColor)
bgColor - Background Colorpublic java.awt.Color getZAxisBackground()
public void setZAxisPosition(int pos)
public int getZAxisPosition()
public void setZAxisAlignment(int align)
align - Position of Z-Axispublic int getZAxisAlignment()
public void setZAxisLabelShowOrder(int align)
align - order of Z-Axis labelspublic int getZAxisLabelShowOrder()
public void setZAxisBorderStyle(int style)
style - Z-Axis Border stylepublic int getZAxisBorderStyle()
public void setZAxisBorderWidth(int width)
width - Z Axis Border widthpublic int getZAxisBorderWidth()
public void setZAxisBorderColor(java.awt.Color inColor)
inColor - Z Axis Border colorpublic java.awt.Color getZAxisBorderColor()
public void setZAxisShadowStyle(int style)
style - Z Axis Shadow stylepublic int getZAxisShadowStyle()
public void setZAxisShadowWidth(int width)
width - Z Axis Shadow widthpublic int getZAxisShadowWidth()
public void setZAxisShadowColor(java.awt.Color inColor)
inColor - Z Axis Shadow colorpublic java.awt.Color getZAxisShadowColor()
public void setZAxisNameVisible(boolean visible)
visible - if true then Z-Axis name is display otherwise not drawnpublic boolean getZAxisNameVisible()
public void setZAxisName(java.lang.String name)
name - String representing Z-Axis namepublic java.lang.String getZAxisName()
public void setZAxisNameMaxLine(int max)
max - Maximum number of Z-Axis name linespublic int getZAxisNameMaxLine()
public void setZAxisNameFont(java.awt.Font namefont)
namefont - font style for Z-Axis namepublic java.awt.Font getZAxisNameFont()
public void setZAxisNameForeground(java.awt.Color foreground)
foreground - Foregound Color for Z-Axis namepublic java.awt.Color getZAxisNameForeground()
public void setZAxisNameBackgroundVisible(boolean visible)
visible - if true then Z-Axis name Backgound is drawn otherwise notpublic boolean getZAxisNameBackgroundVisible()
public void setZAxisNameBackground(java.awt.Color bgColor)
bgColor - Background Color for Z-Axis namepublic java.awt.Color getZAxisNameBackground()
public void setZAxisNameBorderStyle(int style)
style - Z-Axis name Border stylepublic int getZAxisNameBorderStyle()
public void setZAxisNameBorderWidth(int width)
width - Z-Axis name Border widthpublic int getZAxisNameBorderWidth()
public void setZAxisNameBorderColor(java.awt.Color inColor)
inColor - Z-Axis name Border colorpublic java.awt.Color getZAxisNameBorderColor()
public void setZAxisNameShadowStyle(int style)
style - Axis name Shadow stylepublic int getZAxisNameShadowStyle()
public void setZAxisNameShadowWidth(int width)
width - Z-Axis name Shadow widthpublic int getZAxisNameShadowWidth()
public void setZAxisNameShadowColor(java.awt.Color inColor)
inColor - Z-Axis name Shadow colorpublic java.awt.Color getZAxisNameShadowColor()
public void setZAxisNameAlign(int align)
align - Alignment of Z-Axis namepublic int getZAxisNameAlign()
public void setZAxisLabelVisible(boolean visible)
visible - if true then Z-Axis labels are display otherwise not drawnpublic boolean getZAxisLabelVisible()
public void setZAxisLabelAlign(int align)
public int getZAxisLabelAlign()
public void setZAxisLabelFont(java.awt.Font labelfont)
public java.awt.Font getZAxisLabelFont()
public void setZAxisLabelForeground(java.awt.Color foreground)
foreground - Foreground Color for Z-Axis labelpublic java.awt.Color getZAxisLabelForeground()
public void setZAxisLabelBackgroundVisible(boolean visible)
visible - if true then Z-Axis label Backgound is drawn otherwise notpublic boolean getZAxisLabelBackgroundVisible()
public void setZAxisLabelBackground(java.awt.Color Backgroundcolor)
public java.awt.Color getZAxisLabelBackground()
public void setZAxisLabelFormat(java.lang.String formatStr)
formatStr - String representing Z-Axis Label Formatpublic java.lang.String getZAxisLabelFormat()
public void setZAxisLabelDrillDownEnable(boolean enable)
public boolean getZAxisLabelDrillDownEnable()
public void setZAxisLabelTooltipText(java.lang.String tooltip)
tooltip - String representing Z-Axis Label tooltip textpublic java.lang.String getZAxisLabelTooltipText()
public void setGraphTitleVisible(boolean visible)
visible - if true then Title is visible otherwize notpublic boolean getGraphTitleVisible()
public void setGraphTitle(java.lang.String label)
label - String representing Title namepublic java.lang.String getGraphTitle()
public void setGraphTitleMaxLine(int max)
max - Maximum number of Graph Title linespublic int getGraphTitleMaxLine()
public void setGraphTitleFont(java.awt.Font labelfont)
labelfont - font style for Title namepublic java.awt.Font getGraphTitleFont()
public void setGraphTitleForeground(java.awt.Color labelcolor)
labelcolor - Foregound Color for Titlepublic java.awt.Color getGraphTitleForeground()
public void setGraphTitleBackgroundVisible(boolean visible)
visible - if true then Title Backgound is drawn otherwise notpublic boolean getGraphTitleBackgroundVisible()
public void setGraphTitleBackground(java.awt.Color labelcolor)
labelcolor - Background Color for Titlepublic java.awt.Color getGraphTitleBackground()
public void setGraphTitleBorderStyle(int style)
style - Title Border stylepublic int getGraphTitleBorderStyle()
public void setGraphTitleBorderWidth(int width)
width - Title Border widthpublic int getGraphTitleBorderWidth()
public void setGraphTitleBorderColor(java.awt.Color inColor)
inColor - Title Border colorpublic java.awt.Color getGraphTitleBorderColor()
public void setGraphTitleShadowStyle(int style)
style - Title Shadow stylepublic int getGraphTitleShadowStyle()
public void setGraphTitleShadowWidth(int width)
width - Title Shadow widthpublic int getGraphTitleShadowWidth()
public void setGraphTitleShadowColor(java.awt.Color inColor)
inColor - Title Shadow colorpublic java.awt.Color getGraphTitleShadowColor()
public void setGraphTitleAlign(int align)
align - Alignment of Titlepublic int getGraphTitleAlign()
public int getXLabelType()
public GraphColor getGraphColors()
public void setGraphColors(GraphColor graphColors)
|
ElegantJCharts Java API Specification v2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||