

Public Member Functions | |
| DefaultChartArea () | |
| DefaultChartArea (ChartService service) | |
| void | addDataModel (ChartDataModel model) |
| void | drawData (Chartics chartics, ChartUpdateRequest request) |
| java.awt.Rectangle | getChartRectangle () |
| ChartService | getChartService () |
| ChartDataModel | getDataModel (int index) |
| int | getDataModelCount () |
| com.cosylab.gui.components.r2.chart.ChartDataModel[] | getDataModels () |
| Point | getMaxValue () |
| Point | getMinValue () |
| java.awt.Dimension | getSize () |
| void | removeDataModel (ChartDataModel model) |
| void | setChartService (ChartService newChartService) |
| void | setSize (java.awt.Dimension newDrawSize) |
Protected Member Functions | |
| void | setRectangle (java.awt.Rectangle rec) |
Protected Attributes | |
| java.util.ArrayList | models = new java.util.ArrayList(1) |
| ChartService | chartService |
| java.awt.Rectangle | chartRectangle = new java.awt.Rectangle() |
| java.awt.Dimension | size = new java.awt.Dimension(10,10) |
Package Attributes | |
| java.util.HashMap | model2service = new java.util.HashMap() |
Insert the type's description here. Creation date: (11/26/00 17:50:44)
| com::cosylab::gui::components::r2::chart::DefaultChartArea::DefaultChartArea | ( | ) | [inline] |
ChartArea constructor comment.
| com::cosylab::gui::components::r2::chart::DefaultChartArea::DefaultChartArea | ( | ChartService | service | ) | [inline] |
ChartArea constructor comment.
References setChartService().
| void com::cosylab::gui::components::r2::chart::DefaultChartArea::addDataModel | ( | ChartDataModel | model | ) | [inline] |
Chart user can add chart model to this chart area.
| model | si.ijs.anka.databush.utilities.ChartDataModel model tobe added. |
Implements com::cosylab::gui::components::r2::chart::ChartArea.
Reimplemented in com::cosylab::gui::components::r2::chart::FancyChartArea, com::cosylab::gui::components::r2::chart::HistoryTrendChartArea, and com::cosylab::gui::components::r2::chart::TrendChartArea.
References chartRectangle, chartService, model2service, models, and com::cosylab::gui::components::r2::chart::DefaultPointTransformer::setChartRectangle().
| void com::cosylab::gui::components::r2::chart::DefaultChartArea::drawData | ( | Chartics | chartics, | |
| ChartUpdateRequest | request | |||
| ) | [inline] |
Insert the method's description here. Creation date: (11/27/00 11:50:10)
| g | java.awt.Graphics |
Implements com::cosylab::gui::components::r2::chart::ChartArea.
Reimplemented in com::cosylab::gui::components::r2::chart::FancyChartArea, and com::cosylab::gui::components::r2::chart::TrendChartArea.
References com::cosylab::gui::components::r2::chart::Chartics::drawGraph(), com::cosylab::gui::components::r2::chart::ChartDataModel::getChartStyle(), com::cosylab::gui::components::r2::chart::ChartDataService::getDataModel(), com::cosylab::gui::components::r2::chart::ChartDataService::getPointTransformer(), models, com::cosylab::gui::components::r2::chart::PointTransformerModel::pointIterator(), and com::cosylab::gui::components::r2::chart::ChartDataService::transform().
| java.awt.Rectangle com::cosylab::gui::components::r2::chart::DefaultChartArea::getChartRectangle | ( | ) | [inline] |
Rectangle bounded with horizontal and vertical scale, inside size.
Implements com::cosylab::gui::components::r2::chart::ChartArea.
References chartRectangle.
| ChartService com::cosylab::gui::components::r2::chart::DefaultChartArea::getChartService | ( | ) | [inline] |
Insert the method's description here. Creation date: (11/26/00 18:04:36)
Implements com::cosylab::gui::components::r2::chart::ChartArea.
References chartService.
| ChartDataModel com::cosylab::gui::components::r2::chart::DefaultChartArea::getDataModel | ( | int | index | ) | [inline] |
Insert the method's description here. Creation date: (11/27/00 15:34:11)
| index | int |
Implements com::cosylab::gui::components::r2::chart::ChartArea.
References models.
| int com::cosylab::gui::components::r2::chart::DefaultChartArea::getDataModelCount | ( | ) | [inline] |
Returns number of contained data models in this chart area.
Implements com::cosylab::gui::components::r2::chart::ChartArea.
References models.
| com.cosylab.gui.components.r2.chart.ChartDataModel [] com::cosylab::gui::components::r2::chart::DefaultChartArea::getDataModels | ( | ) | [inline] |
Insert the method's description here. Creation date: (28.1.2002 15:56:59)
Implements com::cosylab::gui::components::r2::chart::ChartArea.
References models.
| Point com::cosylab::gui::components::r2::chart::DefaultChartArea::getMaxValue | ( | ) | [inline] |
Insert the method's description here. Creation date: (11/27/00 15:29:08)
Implements com::cosylab::gui::components::r2::chart::ChartArea.
References models, and com::cosylab::gui::components::r2::chart::Point::y.
| Point com::cosylab::gui::components::r2::chart::DefaultChartArea::getMinValue | ( | ) | [inline] |
Insert the method's description here. Creation date: (11/27/00 15:29:08)
Implements com::cosylab::gui::components::r2::chart::ChartArea.
References models, and com::cosylab::gui::components::r2::chart::Point::y.
| java.awt.Dimension com::cosylab::gui::components::r2::chart::DefaultChartArea::getSize | ( | ) | [inline] |
Outer dimension of chart= ChartRectangle + margins.
Implements com::cosylab::gui::components::r2::chart::ChartArea.
References size.
| void com::cosylab::gui::components::r2::chart::DefaultChartArea::removeDataModel | ( | ChartDataModel | model | ) | [inline] |
Insert the method's description here. Creation date: (11/26/00 17:56:54)
| model | si.ijs.anka.databush.utilities.ChartDataModel |
Implements com::cosylab::gui::components::r2::chart::ChartArea.
References chartService, com::cosylab::gui::components::r2::chart::ChartService::getChartStyleManager(), com::cosylab::gui::components::r2::chart::ChartDataModel::getPreferedXScale(), com::cosylab::gui::components::r2::chart::ChartDataModel::getPreferedYScale(), com::cosylab::gui::components::r2::chart::ChartService::getViewManager(), model2service, models, com::cosylab::gui::components::r2::chart::ChartViewManager::removeUserXScale(), com::cosylab::gui::components::r2::chart::ChartViewManager::removeUserYScale(), and com::cosylab::gui::components::r2::chart::ChartStyleManager::returnStyle().
| void com::cosylab::gui::components::r2::chart::DefaultChartArea::setChartService | ( | ChartService | newChartService | ) | [inline] |
Insert the method's description here. Creation date: (11/26/00 18:04:36)
| newChartService | si.ijs.anka.databush.utilities.ChartService |
Implements com::cosylab::gui::components::r2::chart::ChartArea.
Reimplemented in com::cosylab::gui::components::r2::chart::HistoryTrendChartArea.
References chartService, models, and com::cosylab::gui::components::r2::chart::ChartDataService::setChartService().
Referenced by DefaultChartArea().
| void com::cosylab::gui::components::r2::chart::DefaultChartArea::setRectangle | ( | java.awt.Rectangle | rec | ) | [inline, protected] |
Sets the size of area, which chart can use.
| newDrawSize | java.awt.Dimension |
References chartRectangle, and models.
Referenced by com::cosylab::gui::components::r2::chart::TrendChartArea::setSize(), and setSize().
| void com::cosylab::gui::components::r2::chart::DefaultChartArea::setSize | ( | java.awt.Dimension | newDrawSize | ) | [inline] |
Sets the size of area, which chart can use.
| newDrawSize | java.awt.Dimension |
Implements com::cosylab::gui::components::r2::chart::ChartArea.
Reimplemented in com::cosylab::gui::components::r2::chart::HistoryTrendChartArea, and com::cosylab::gui::components::r2::chart::TrendChartArea.
References chartRectangle, setRectangle(), and size.
java.awt.Rectangle com::cosylab::gui::components::r2::chart::DefaultChartArea::chartRectangle = new java.awt.Rectangle() [protected] |
Referenced by com::cosylab::gui::components::r2::chart::TrendChartArea::addDataModel(), com::cosylab::gui::components::r2::chart::HistoryTrendChartArea::addDataModel(), com::cosylab::gui::components::r2::chart::FancyChartArea::addDataModel(), addDataModel(), com::cosylab::gui::components::r2::chart::TrendChartArea::drawData(), getChartRectangle(), setRectangle(), and setSize().
Referenced by com::cosylab::gui::components::r2::chart::TrendChartArea::addDataModel(), com::cosylab::gui::components::r2::chart::HistoryTrendChartArea::addDataModel(), com::cosylab::gui::components::r2::chart::FancyChartArea::addDataModel(), addDataModel(), getChartService(), removeDataModel(), com::cosylab::gui::components::r2::chart::HistoryTrendChartArea::setChartService(), and setChartService().
java.util.HashMap com::cosylab::gui::components::r2::chart::DefaultChartArea::model2service = new java.util.HashMap() [package] |
Referenced by com::cosylab::gui::components::r2::chart::TrendChartArea::addDataModel(), com::cosylab::gui::components::r2::chart::HistoryTrendChartArea::addDataModel(), com::cosylab::gui::components::r2::chart::FancyChartArea::addDataModel(), addDataModel(), com::cosylab::gui::components::r2::chart::DebugChartArea::model2service(), and removeDataModel().
java.util.ArrayList com::cosylab::gui::components::r2::chart::DefaultChartArea::models = new java.util.ArrayList(1) [protected] |
Referenced by com::cosylab::gui::components::r2::chart::TrendChartArea::addDataModel(), com::cosylab::gui::components::r2::chart::HistoryTrendChartArea::addDataModel(), com::cosylab::gui::components::r2::chart::FancyChartArea::addDataModel(), addDataModel(), com::cosylab::gui::components::r2::chart::TrendChartArea::drawData(), com::cosylab::gui::components::r2::chart::FancyChartArea::drawData(), drawData(), getDataModel(), getDataModelCount(), getDataModels(), getMaxValue(), getMinValue(), com::cosylab::gui::components::r2::chart::HistoryTrendChartArea::YListener::intervalChange(), com::cosylab::gui::components::r2::chart::HistoryTrendChartArea::XListener::intervalChange(), removeDataModel(), setChartService(), setRectangle(), and com::cosylab::gui::components::r2::chart::HistoryTrendChartArea::setSize().
java.awt.Dimension com::cosylab::gui::components::r2::chart::DefaultChartArea::size = new java.awt.Dimension(10,10) [protected] |
1.6.2