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

oofGeoYLabel Class Reference
[OOFILE Graphing engine.]

#include <oofGeos.h>

Inheritance diagram for oofGeoYLabel:

Inheritance graph
[legend]
Collaboration diagram for oofGeoYLabel:

Collaboration graph
[legend]
List of all members.

Detailed Description

Label of graph Y axis, generated from data series first item.


Public Types

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

Public Member Functions

 oofGeoYLabel (int XIdeal, int YIdeal, int Width, const char *inString, oofSeries *SeriesPtr=0, PositionState=posLeft)
 oofGeoYLabel (const char *inString)
virtual void Transform (oofTransformationManager *inTransformationManagerPtr)
void setTextSize (int PointSize)
bool setFontSize (int textSize=-1)
int calcCharHeight (int textSize=-1)
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 bool ShouldDraw () const
virtual oofString geoType () const
virtual oofRect BoundingRect (oofTransformationManager *)
virtual void describe (std::ostream &) const
virtual void DrawSelf (const oofDrawStyle *)

Protected Attributes

oofString mText
unsigned int mIdealTextSize
unsigned int mWidthIdeal
int mDrawTextSize
int mDrawWidth
int mDrawHeight
oofTextSizer mSizer
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

oofGeoYLabel::oofGeoYLabel int  XIdeal,
int  YIdeal,
int  Width,
const char *  inString,
oofSeries SeriesPtr = 0,
PositionState  = posLeft
 

oofGeoYLabel::oofGeoYLabel const char *  inString  ) 
 


Member Function Documentation

oofRect oofGeoSuppressibleText::BoundingRect oofTransformationManager  )  [protected, virtual, inherited]
 

Reimplemented from oofGeoText.

int oofGeoText::calcCharHeight int  textSize = -1  )  [inline, inherited]
 

void oofGeoSuppressibleText::describe std::ostream &   )  const [protected, virtual, inherited]
 

Reimplemented from oofGeoText.

void oofGeo::draw  )  [inherited]
 

void oofGeoSuppressibleText::DrawSelf const oofDrawStyle  )  [protected, virtual, inherited]
 

Reimplemented from oofGeoText.

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

oofString oofGeoYLabel::geoType  )  const [protected, virtual]
 

Reimplemented from oofGeoSuppressibleText.

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]
 

bool oofGeoText::setFontSize int  textSize = -1  )  [inline, inherited]
 

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

void oofGeoText::setTextSize int  PointSize  )  [inline, inherited]
 

bool oofGeoYLabel::ShouldDraw  )  const [protected, virtual]
 

Implements oofGeoSuppressibleText.

void oofGeoYLabel::Transform oofTransformationManager inTransformationManagerPtr  )  [virtual]
 

Reimplemented from oofGeoText.


Member Data Documentation

int oofGeoText::mDrawHeight [protected, inherited]
 

oofDrawStyle* oofColorable::mDrawStyle [protected, inherited]
 

int oofGeoText::mDrawTextSize [protected, inherited]
 

int oofGeoText::mDrawWidth [protected, inherited]
 

unsigned int oofGeoText::mIdealTextSize [protected, inherited]
 

PositionState oofGeo::mPosition [protected, inherited]
 

oofSeries* oofGeo::mSeriesPtr [protected, inherited]
 

oofTextSizer oofGeoText::mSizer [protected, inherited]
 

oofString oofGeoText::mText [protected, inherited]
 

unsigned int oofGeoText::mWidthIdeal [protected, inherited]
 

int oofGeo::mXDraw [protected, inherited]
 

int oofGeo::mXIdeal [protected, inherited]
 

int oofGeo::mYDraw [protected, inherited]
 

int oofGeo::mYIdeal [protected, inherited]
 


The documentation for this class was generated from the following files:
Generated on Fri Jan 2 00:59:20 2004 for OOFILE by doxygen 1.3.5