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

oofGeoBar Class Reference
[OOFILE Graphing engine.]

#include <oofGeos.h>

Inheritance diagram for oofGeoBar:

Inheritance graph
[legend]
Collaboration diagram for oofGeoBar:

Collaboration graph
[legend]
List of all members.

Detailed Description

Drawing primitive for horizontal bars on graphs.

See also:
oofBarGraph::finishConstruction


Public Types

enum  PositionState {
  posNone, posTop, posLeft, posRight,
  posBottom, posBelow, posToLeft, posCentre
}

Public Member Functions

 oofGeoBar (int XIdeal, int YIdeal, int width, int height, oofSeries *SeriesPtr=0, PositionState=posNone)
 oofGeoBar (int YIdeal,int width, int height, oofSeries *SeriesPtr)
virtual oofRect BoundingRect (oofTransformationManager *)
virtual void Transform (oofTransformationManager *inTransformationManagerPtr)
virtual void describe (std::ostream &) const
virtual oofString geoType () const
oofSeriesSeriesPtr ()
PositionState Position ()
virtual void setLocation (long inXIdeal, long inYIdeal)
int locationX ()
int locationY ()
void draw ()
void setDrawStyle (const oofColor &fg=oofColor::Black, const oofPattern &pat=oofPattern::gray, const oofPattern &mono=oofPattern::gray, const oofColor &bg=oofColor::White)
void setDrawStyle (const oofDrawStyle &)
const oofDrawStyledrawStyle () const

Protected Member Functions

virtual void DrawSelf (const oofDrawStyle *)
void setLabel (bool required, int value, int x, int y, int width)

Protected Attributes

int mIdealWidth
int mIdealHeight
int mDrawWidth
int mDrawHeight
oofGeoTextmValueLabel
bool mRequired
int mValue
int mXTextPos
int mYTextPos
int mTextWidth
int mXIdeal
int mYIdeal
int mXDraw
int mYDraw
oofSeriesmSeriesPtr
PositionState mPosition
oofDrawStylemDrawStyle


Member Enumeration Documentation

enum oofGeo::PositionState [inherited]
 

Enumeration values:
posNone 
posTop 
posLeft 
posRight 
posBottom 
posBelow 
posToLeft 
posCentre 


Constructor & Destructor Documentation

oofGeoBar::oofGeoBar int  XIdeal,
int  YIdeal,
int  width,
int  height,
oofSeries SeriesPtr = 0,
PositionState  = posNone
 

oofGeoBar::oofGeoBar int  YIdeal,
int  width,
int  height,
oofSeries SeriesPtr
 


Member Function Documentation

oofRect oofGeoBar::BoundingRect oofTransformationManager  )  [virtual]
 

Reimplemented from oofGeo.

void oofGeoBar::describe std::ostream &   )  const [virtual]
 

Reimplemented from oofLabelledGeo.

void oofGeo::draw  )  [inherited]
 

void oofGeoBar::DrawSelf const oofDrawStyle  )  [protected, virtual]
 

Reimplemented from oofLabelledGeo.

const oofDrawStyle * oofColorable::drawStyle  )  const [inline, inherited]
 

oofString oofGeoBar::geoType  )  const [virtual]
 

Reimplemented from oofLabelledGeo.

int oofGeo::locationX  )  [inline, inherited]
 

int oofGeo::locationY  )  [inline, inherited]
 

PositionState oofGeo::Position  )  [inline, inherited]
 

oofSeries * oofGeo::SeriesPtr  )  [inherited]
 

void oofColorable::setDrawStyle const oofDrawStyle  )  [inline, inherited]
 

void oofColorable::setDrawStyle const oofColor fg = oofColor::Black,
const oofPattern pat = oofPattern::gray,
const oofPattern mono = oofPattern::gray,
const oofColor bg = oofColor::White
[inline, inherited]
 

void oofLabelledGeo::setLabel bool  required,
int  value,
int  x,
int  y,
int  width
[protected, inherited]
 

void oofGeo::setLocation long  inXIdeal,
long  inYIdeal
[virtual, inherited]
 

void oofGeoBar::Transform oofTransformationManager inTransformationManagerPtr  )  [virtual]
 

Reimplemented from oofLabelledGeo.


Member Data Documentation

int oofGeoBar::mDrawHeight [protected]
 

oofDrawStyle* oofColorable::mDrawStyle [protected, inherited]
 

int oofGeoBar::mDrawWidth [protected]
 

int oofGeoBar::mIdealHeight [protected]
 

int oofGeoBar::mIdealWidth [protected]
 

PositionState oofGeo::mPosition [protected, inherited]
 

bool oofLabelledGeo::mRequired [protected, inherited]
 

oofSeries* oofGeo::mSeriesPtr [protected, inherited]
 

int oofLabelledGeo::mTextWidth [protected, inherited]
 

int oofLabelledGeo::mValue [protected, inherited]
 

oofGeoText* oofLabelledGeo::mValueLabel [protected, inherited]
 

int oofGeo::mXDraw [protected, inherited]
 

int oofGeo::mXIdeal [protected, inherited]
 

int oofLabelledGeo::mXTextPos [protected, inherited]
 

int oofGeo::mYDraw [protected, inherited]
 

int oofGeo::mYIdeal [protected, inherited]
 

int oofLabelledGeo::mYTextPos [protected, inherited]
 


The documentation for this class was generated from the following files:
Generated on Thu Jan 1 21:36:43 2004 for OOFILE by doxygen 1.3.5