IGLib 1.4
The IGLib base library for development of numerical, technical and business applications.

IG::Plot2d::GraphBase Class Reference

Graph data & control class. More...

Inheritance diagram for IG::Plot2d::GraphBase:
Collaboration diagram for IG::Plot2d::GraphBase:

List of all members.

Public Member Functions

 GraphBase (string title, string description)
 Creates a GraphBase object with the specified title and description.
void DetachGraphWindow ()
 Opens a new modal window containing the graph control that renders the current graph.

Static Public Member Functions

static void Example ()

Protected Attributes

string _title
string _description
Thread _windowThread

Properties

object Lock [get]
 Object used for thread locking of the current object.
virtual string Title [get, set]
 Graph title.
virtual string Description [get, set]
 Graph description.
List< GraphPlotItemPlotItems [get]
 Gets a list of axes maintained in the graph.
Form ContainingForm [get, set]
Control ContainingControl [get, set]
Thread WindowThread [get, set]
 Thread in which new window is opened.

Private Member Functions

void Init (string title, string description)
 Takes care of initialization.

Private Attributes

object _lock = new object()
List< GraphPlotItem_plotItems = new List<GraphPlotItem>()
Form _containingForm = null
Control _containingControl

Detailed Description

Graph data & control class.

$A Igor Jun09;


Constructor & Destructor Documentation

IG::Plot2d::GraphBase::GraphBase ( string  title,
string  description 
) [inline]

Creates a GraphBase object with the specified title and description.

Parameters:
titleName (title) of the current plotter.
descriptionDescription of the graph object.

Member Function Documentation

void IG::Plot2d::GraphBase::Init ( string  title,
string  description 
) [inline, private]

Takes care of initialization.

Parameters:
titleTitle of the current graph class.
description
void IG::Plot2d::GraphBase::DetachGraphWindow ( ) [inline]

Opens a new modal window containing the graph control that renders the current graph.

Removes the top-level graph window.

static void IG::Plot2d::GraphBase::Example ( ) [inline, static]

Member Data Documentation

string IG::Plot2d::GraphBase::_title [protected]
object IG::Plot2d::GraphBase::_lock = new object() [private]

Property Documentation

object IG::Plot2d::GraphBase::Lock [get]

Object used for thread locking of the current object.

Implements IG::Lib::ILockable.

virtual string IG::Plot2d::GraphBase::Title [get, set]

Graph title.

virtual string IG::Plot2d::GraphBase::Description [get, set]

Graph description.

List<GraphPlotItem> IG::Plot2d::GraphBase::PlotItems [get]

Gets a list of axes maintained in the graph.

Gets a list of plot items (such as lines or bar charts) contained in the graph.

Form IG::Plot2d::GraphBase::ContainingForm [get, set]
Control IG::Plot2d::GraphBase::ContainingControl [get, set]
Thread IG::Plot2d::GraphBase::WindowThread [get, set]

Thread in which new window is opened.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties Events