public interface IChartComponent
Ontimize
provides two different implementations for component Chart:
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkXYDataset(String colX,
String[] colY)
Checks data for each column of horizontal axis.
|
Object |
createChart()
Creates and returns the chart created.
|
void |
deleteData() |
Object |
getAttribute() |
Paint |
getBackgroundPaint()
Gets the paint of background of charts.
|
Paint |
getBackgroundPlotPaint()
Gets the paint of background in plot of charts.
|
Object |
getCategoryDataset(String colX,
String[] colsY,
String[] seriesNames)
Returns the CategoryDataset.
|
Object |
getCategoryDataset(String colX,
String[] colsY,
String[] seriesNames,
int[] operations)
Returns the CategoryDataset.
|
Object |
getCategoryDataset(String colX,
String colY,
int operation)
Returns the CategoryDataset.
|
JPanel |
getChartComponentPanel()
Gets the component with chart panel is placed.
|
Object |
getChartPanel()
Defines method that returns where chart panel is drawed
|
Object |
getConstraints(LayoutManager parentLayout) |
String |
getLabelComponentText()
Gets the label component text.
|
Object |
getPieDataset(String colX,
String colY)
Returns the PieDataset.
|
Object |
getPieDataset(String colX,
String colY,
int operation)
Returns the PieDataset.
|
JScrollPane |
getScrollPane()
Gets the scroll pane where is placed.
|
int |
getSQLDataType() |
Vector |
getTextsToTranslate() |
Object |
getValue()
Gets value.
|
Object |
getXYDataset(String colX,
String[] colY,
String[] series)
Returns the XYDataset.
|
void |
initPermissions() |
boolean |
isEmpty() |
boolean |
isHidden() |
boolean |
isModifiable() |
boolean |
isModified() |
boolean |
isRequired() |
boolean |
isRestricted() |
void |
setBackgroundPaint(Paint backgroundPaint)
Sets the paint of background of charts.
|
void |
setBackgroundPlotPaint(Paint backgroundPlotPaint)
Sets the paint of background in plot of charts.
|
void |
setChartPreferredSize(int w,
int h)
Sets the preferred size for chart.
|
void |
setComponentLocale(Locale l) |
void |
setModifiable(boolean modifiable) |
void |
setRequired(boolean required) |
void |
setResourceBundle(ResourceBundle resources) |
void |
setSerieVisible(String s,
boolean visible)
Sets the serie visible
|
void |
setType(int type)
Sets the type of chart.
|
void |
setValue(Object value)
Sets value.
|
void |
setYAxis(String[] yAxis)
Set YAxis.
|
void |
updateChart()
Method called to update data of chart.
|
Object getChartPanel()
Object createChart()
void updateChart()
Object getCategoryDataset(String colX, String[] colsY, String[] seriesNames)
Object getCategoryDataset(String colX, String[] colsY, String[] seriesNames, int[] operations)
Object getCategoryDataset(String colX, String colY, int operation)
Object getXYDataset(String colX, String[] colY, String[] series)
boolean checkXYDataset(String colX, String[] colY)
colX - the X colcolY - Array with names of Y colsPaint getBackgroundPaint()
void setBackgroundPaint(Paint backgroundPaint)
backgroundPaint - the background paint to setPaint getBackgroundPlotPaint()
void setBackgroundPlotPaint(Paint backgroundPlotPaint)
backgroundPaint - the background paint to setvoid setChartPreferredSize(int w,
int h)
w - widthh - heightvoid setSerieVisible(String s, boolean visible)
s - the serie to set visiblevisible - condition of visibilityvoid setYAxis(String[] yAxis)
yAxis - Array with YAxisObject getValue()
JPanel getChartComponentPanel()
JScrollPane getScrollPane()
void setValue(Object value)
value - the value to setString getLabelComponentText()
void setType(int type)
type - the type of chartvoid setResourceBundle(ResourceBundle resources)
Object getAttribute()
Object getConstraints(LayoutManager parentLayout)
boolean isModified()
boolean isRequired()
boolean isEmpty()
void deleteData()
void setRequired(boolean required)
int getSQLDataType()
boolean isHidden()
void setModifiable(boolean modifiable)
boolean isModifiable()
boolean isRestricted()
void initPermissions()
Vector getTextsToTranslate()
void setComponentLocale(Locale l)
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.