|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
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 | +--com.klg.jclass.chart.JCChart | +--com.klg.jclass.chart.beans.BaseChart | +--com.klg.jclass.chart.db.DataChart
This is a data-aware subclass of BaseChart
.
It displays data from the data source.
This component displays the result set of a data bean and can insert and delete
records, cancel, save and requery data in the data source.
The class is not a bean, but a common ancestor of all data-aware chart beans.
Nested Class Summary |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
Fields inherited from class com.klg.jclass.chart.beans.BaseChart |
AUTOMATIC, axesOrientationStrings, axesOrientationValues, dataSource, DAYS, EAST, HORIZONTAL, HOURS, MAX, MIN, MINUTES, MONTHS, NORTH, NORTHEAST, NORTHWEST, ORIENT_INVERTED_X_NORMAL_Y_NORMAL, ORIENT_INVERTED_X_NORMAL_Y_REVERSED, ORIENT_INVERTED_X_REVERSED_Y_NORMAL, ORIENT_INVERTED_X_REVERSED_Y_REVERSED, ORIENT_X_NORMAL_Y_NORMAL, ORIENT_X_NORMAL_Y_REVERSED, ORIENT_X_REVERSED_Y_NORMAL, ORIENT_X_REVERSED_Y_REVERSED, ORIGIN, POINT_LABELS, ROTATE_270, ROTATE_90, ROTATE_NONE, SECONDS, SOUTH, SOUTHEAST, SOUTHWEST, tableModel, TIME_LABELS, VALUE, VALUE_ANCHORED, VALUE_LABELS, VERTICAL, WEEKS, WEST, YEARS |
Fields inherited from class com.klg.jclass.chart.JCChart |
antiAliasing, AREA, AREA_RADAR, BAR, cancelKey, CANDLE, chartApplet, chartArea, chartAreaLayoutHints, chartLabelManager, customizer, customizerName, data, ERRMSG_INVALID_TRIGGER_INDEX, fillColorIndex, footer, footerImageMapInfo, footerLayoutHints, header, headerImageMapInfo, headerLayoutHints, HILO, HILO_OPEN_CLOSE, imageMapInfo, LAST_PREDEFINED_CHART_TYPE, layoutDone, legend, legendLayoutHints, legendManager, lineColorIndex, listeners, locale, NONE, pickListeners, PIE, PLOT, POLAR, prevSetGraphics, queryGraphics, RADAR, resetKey, SCATTER_PLOT, STACKING_AREA, STACKING_BAR, symbolColorIndex, symbolShapeIndex, triggers, userObject, usingDoublePixels |
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 com.klg.jclass.chart.Changeable |
BASIC_CHANGE_MASK, NOTIFY_AXES_RECALC, NOTIFY_AXES_REDRAW, NOTIFY_CA_RECALC, NOTIFY_CA_REDRAW, NOTIFY_LEGEND_RECALC, NOTIFY_LEGEND_REDRAW |
Fields inherited from interface com.klg.jclass.util.Changeable |
LAYOUT, NO_CHANGE, NOTIFY_PARENT_LAYOUT, RECALC, REDRAW |
Fields inherited from interface com.klg.jclass.util.RenderProperties |
ANTI_ALIASING_DEFAULT, ANTI_ALIASING_OFF, ANTI_ALIASING_ON |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
protected |
DataChart()
Protected DataChart constructor. |
Method Summary | |
protected boolean |
beforeCurrentRowChange()
Saves the value from the current editor to the data source before the current row has been changed. |
com.klg.jclass.chart.db.DataBindingConfigWrapper |
getDataBindingConfig()
Gets the dataBindingConfig
property used to build a DataBoundSource . |
protected String |
getDataBindingString()
Returns the chart's value of the DataBinding object property. |
protected com.klg.jclass.chart.db.DataBoundSource |
getDataBoundSource()
Returns DataBoundSource for the chart. |
protected Object |
getNativeMetaData()
Returns the IDE specific metadata object bound to the chart. |
protected void |
initDataBinding(com.klg.jclass.chart.db.DataBoundSource dataSource)
Verifies that a new data source is valid and binds the chart. |
protected boolean |
setDataBinding(com.klg.jclass.datasource.DataModel dataModel,
com.klg.jclass.datasource.MetaDataModel metaDataModel)
Sets up parameters to bind the DataBoundSource
to a MetaDataModel in the
given DataModel . |
void |
setDataBindingConfig(com.klg.jclass.chart.db.DataBindingConfigWrapper wrapper)
Sets the meta property used to build a DataBoundSource . |
void |
setDataColumns(String[] seriesColumns)
Sets the value of the SeriesColumns indexed property. |
void |
setDataSource(com.klg.jclass.datasource.BindingModel binding)
Bind using a Binding . |
void |
setDataSource(com.klg.jclass.chart.ChartDataModel dataSource)
Sets a chart datasource. |
void |
setDataSource(com.klg.jclass.datasource.DataModel dataModel)
Binds the chart to the given DataModel and to the root MetaDataModel . |
void |
setDataSource(com.klg.jclass.datasource.DataModel dataModel,
com.klg.jclass.datasource.MetaDataModel metaDataModel)
Binds the chart to the given DataModel and MetaDataModel DataModel. |
protected void |
setDataSource(com.klg.jclass.datasource.DataModel dataModel,
String metaDescription)
Sets the data source to a DataModel
and binds the MetaData to
the MetaDataModel
represented by a "path" of MetaDataModel
descriptions separated by '|' (e.g. |
protected void |
setDataSource(String dataBinding)
Sets the DataBinding property value to the chart. |
void |
setName(String s)
Sets the value of the name property. |
void |
setPointLabelsColumn(String pointLabelsColumn)
Sets the value of the PointLabelsColumn property. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.klg.jclass.util.legend.LegendComponentLayoutUser |
getPreferredSize |
Methods inherited from interface com.klg.jclass.util.JCName |
getName |
Constructor Detail |
protected DataChart()
DataChart
constructor. The constructor must not be called
directly, but only from it's subclasses.
Method Detail |
public void setDataSource(com.klg.jclass.chart.ChartDataModel dataSource)
public void setDataSource(com.klg.jclass.datasource.DataModel dataModel)
MetaDataModel
.
public void setDataSource(com.klg.jclass.datasource.DataModel dataModel, com.klg.jclass.datasource.MetaDataModel metaDataModel)
DataModel
and MetaDataModel
DataModel.
public void setDataSource(com.klg.jclass.datasource.BindingModel binding)
Binding
.
protected void setDataSource(String dataBinding)
DataBinding
property value to the chart.
Sets a chart datasource for the data binding hierarchy string,
starting from a JCTreeData
instance name and containing full sequence of
MetaDataModel
levels starting from the root
to the level the chart is bound with.
DSdbChart.getDataBinding()
protected void setDataSource(com.klg.jclass.datasource.DataModel dataModel, String metaDescription)
DataModel
and binds the MetaData
to
the MetaDataModel
represented by a "path" of MetaDataModel
descriptions separated by '|' (e.g. Orders|Customers).
protected void initDataBinding(com.klg.jclass.chart.db.DataBoundSource dataSource)
protected String getDataBindingString()
DataBinding
object property.
Returns the data binding hierarchy string,
starting from a JCTreeData
instance name
and containing full sequence of MetaDataModel
levels starting from the root to the level
at which the chart is bound.
The DataBinding
property specifies a string
describing a JCTreeData
instance and
metadata level at which the instance this chart is bound.
The format of the property is as follows:
setDataBinding(com.klg.jclass.datasource.DataModel, com.klg.jclass.datasource.MetaDataModel)
protected boolean setDataBinding(com.klg.jclass.datasource.DataModel dataModel, com.klg.jclass.datasource.MetaDataModel metaDataModel)
DataBoundSource
to a MetaDataModel
in the
given DataModel
.
public void setDataBindingConfig(com.klg.jclass.chart.db.DataBindingConfigWrapper wrapper)
DataBoundSource
.
wrapper
- the instance of DataBindingConfigWrapper
public com.klg.jclass.chart.db.DataBindingConfigWrapper getDataBindingConfig()
dataBindingConfig
property used to build a DataBoundSource
.
dataBindingConfig
propertyprotected boolean beforeCurrentRowChange()
protected com.klg.jclass.chart.db.DataBoundSource getDataBoundSource()
DataBoundSource
for the chart.
protected Object getNativeMetaData()
public void setDataColumns(String[] seriesColumns)
SeriesColumns
indexed property.
Only columns that have
a numeric type can be potential series columns.
DataBindingConfigEditor.isNumerical(int)
public void setPointLabelsColumn(String pointLabelsColumn)
PointLabelsColumn
property.
public void setName(String s)
name
property.
The name
property defines
the name of the data object.
setName
in interface com.klg.jclass.util.JCName
setName
in class Component
s
- the name string
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |