Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

com::cosylab::gui::components::r2::chart::DefaultChartArea Class Reference

Inheritance diagram for com::cosylab::gui::components::r2::chart::DefaultChartArea:

Inheritance graph
[legend]
Collaboration diagram for com::cosylab::gui::components::r2::chart::DefaultChartArea:

Collaboration graph
[legend]
List of all members.

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()

Detailed Description

Insert the type's description here. Creation date: (11/26/00 17:50:44)
Author:
:


Constructor & Destructor Documentation

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.


Member Function Documentation

void com::cosylab::gui::components::r2::chart::DefaultChartArea::addDataModel ChartDataModel  model  )  [inline]
 

Chart user can add chart model to this chart area.

Parameters:
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.

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)

Parameters:
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.

java.awt.Rectangle com::cosylab::gui::components::r2::chart::DefaultChartArea::getChartRectangle  )  [inline]
 

Rectangle bounded with horizontal and vertical scale, inside size.

Returns:
java.awt.Dimension

Implements com::cosylab::gui::components::r2::chart::ChartArea.

ChartService com::cosylab::gui::components::r2::chart::DefaultChartArea::getChartService  )  [inline]
 

Insert the method's description here. Creation date: (11/26/00 18:04:36)

Returns:
si.ijs.anka.databush.utilities.ChartService

Implements com::cosylab::gui::components::r2::chart::ChartArea.

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)

Returns:
si.ijs.anka.databush.utilities.ChartDataModel
Parameters:
index int

Implements com::cosylab::gui::components::r2::chart::ChartArea.

int com::cosylab::gui::components::r2::chart::DefaultChartArea::getDataModelCount  )  [inline]
 

Returns number of contained data models in this chart area.

Returns:
int

Implements com::cosylab::gui::components::r2::chart::ChartArea.

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)

Returns:
com.cosylab.gui.chart.ChartDataModel[]

Implements com::cosylab::gui::components::r2::chart::ChartArea.

Point com::cosylab::gui::components::r2::chart::DefaultChartArea::getMaxValue  )  [inline]
 

Insert the method's description here. Creation date: (11/27/00 15:29:08)

Returns:
si.ijs.anka.databush.utilities.Point

Implements com::cosylab::gui::components::r2::chart::ChartArea.

Point com::cosylab::gui::components::r2::chart::DefaultChartArea::getMinValue  )  [inline]
 

Insert the method's description here. Creation date: (11/27/00 15:29:08)

Returns:
si.ijs.anka.databush.utilities.Point

Implements com::cosylab::gui::components::r2::chart::ChartArea.

java.awt.Dimension com::cosylab::gui::components::r2::chart::DefaultChartArea::getSize  )  [inline]
 

Outer dimension of chart= ChartRectangle + margins.

Returns:
java.awt.Dimension

Implements com::cosylab::gui::components::r2::chart::ChartArea.

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)

Parameters:
model si.ijs.anka.databush.utilities.ChartDataModel

Implements com::cosylab::gui::components::r2::chart::ChartArea.

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)

Parameters:
newChartService si.ijs.anka.databush.utilities.ChartService

Implements com::cosylab::gui::components::r2::chart::ChartArea.

Reimplemented in com::cosylab::gui::components::r2::chart::HistoryTrendChartArea.

void com::cosylab::gui::components::r2::chart::DefaultChartArea::setRectangle java.awt.Rectangle  rec  )  [inline, protected]
 

Sets the size of area, which chart can use.

Parameters:
newDrawSize java.awt.Dimension

void com::cosylab::gui::components::r2::chart::DefaultChartArea::setSize java.awt.Dimension  newDrawSize  )  [inline]
 

Sets the size of area, which chart can use.

Parameters:
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.


Member Data Documentation

java.awt.Rectangle com::cosylab::gui::components::r2::chart::DefaultChartArea::chartRectangle = new java.awt.Rectangle() [protected]
 

ChartService com::cosylab::gui::components::r2::chart::DefaultChartArea::chartService [protected]
 

java.util.HashMap com::cosylab::gui::components::r2::chart::DefaultChartArea::model2service = new java.util.HashMap() [package]
 

java.util.ArrayList com::cosylab::gui::components::r2::chart::DefaultChartArea::models = new java.util.ArrayList(1) [protected]
 

java.awt.Dimension com::cosylab::gui::components::r2::chart::DefaultChartArea::size = new java.awt.Dimension(10,10) [protected]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:12:40 2009 for ACS Java API by doxygen 1.3.8