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

oofRepGraphBand Class Reference
[OOFILE Report writer]

#include <oofrep.h>

Inheritance diagram for oofRepGraphBand:

Inheritance graph
[legend]
Collaboration diagram for oofRepGraphBand:

Collaboration graph
[legend]
List of all members.

Detailed Description

Specify a fixed height band containing an oofGraph with additional height & width.


multi-method dispatch to factories for rendering report objects.

one for each environment

Note:
don't use pure virtuals as some subclasses may not implement


virtual void makeRender (const oofRepEditingEnv &)
 Just make a renderer for the GUI environment as if not editing because by default most drawables are not editable!


Public Member Functions

 oofRepGraphBand (oofGraph *, unsigned long height, unsigned long grHgt=400, unsigned long grWid=400, const char *inGraphTitle=0)
 oofRepGraphBand (const oofRepGraphBand &rhs)
virtual ~oofRepGraphBand ()
virtual void finishConstruction ()
 null base method occasionally overriden

virtual oofRepBandclone () const
virtual void drawSquished (long &balanceToSave)
virtual void draw ()
 central default call for drawing, but still able to be overriden in extreme cases.

virtual dbViewview (unsigned short whichView=0) const
 Request a dbView which may be the source of data for the item.

virtual unsigned long fixedHeight ()
virtual unsigned long minHeight ()
oofGraphgraph () const
unsigned long graphWidth () const
unsigned long graphHeight () const
unsigned long originalGraphWidth () const
unsigned long originalGraphHeight () const
unsigned long drawingHeight () const
unsigned long numOverlaid () const
void fixedHeight (unsigned long height)
void graphWidth (unsigned long grWidth)
void graphHeight (unsigned long grHeight)
virtual void makeRender (const oofRepMacEnv &)
virtual void makeRender (const oofRepWinEnv &env)
virtual void makeRender (const oofRepTextEnv &env)
virtual void makeRender (const oofRepRTFEnv &env)
virtual void makeRender (const oofRepHTMLEnv &env)
virtual void makeRender (const oofRepCSVEnv &env)
virtual void makeRender (const oofRepTSVEnv &env)
virtual void makeRender (const oofRepXMLEnv &env)
virtual bool isViewBand () const
virtual bool isLayoutBand () const
virtual void describeLayout ()
 central default call like draw() but still able to be overriden in extreme cases.

virtual unsigned long width ()
virtual oofRepEditLinkmakeEditLink (const oofRepEditingEnv &)
 Make an editor for this drawable - by default return a null link.

oofString ID () const
void ID (const oofString &)
void clearID ()
oofRepTextStylelocalTextStyle () const
 Get style owned by this object.

oofRepTextStyleuniqueTextStyle ()
 Get a style unique to this object, cloning the one we'd normally use if necessary.

void textStyle (oofRepTextStyle *adoptedStyle)
 Set style owned by this object.

void textStyle (const char *fontName, unsigned short fontSize, unsigned char styleNum=0, short leading=0, oofColor color=oofColor::Black)
 Set style owned by this object, creating from the font parameters.

virtual oofRepTextStyletextStyle () const
 Get the text style owned by this object or a default.

oofAdornerListadorners ()
bool hasAdorners () const

Protected Attributes

oofRepRendermRender
oofString mID
oofRepTextStylemStyle


Constructor & Destructor Documentation

oofRepGraphBand::oofRepGraphBand oofGraph ,
unsigned long  height,
unsigned long  grHgt = 400,
unsigned long  grWid = 400,
const char *  inGraphTitle = 0
 

oofRepGraphBand::oofRepGraphBand const oofRepGraphBand rhs  ) 
 

oofRepGraphBand::~oofRepGraphBand  )  [virtual]
 


Member Function Documentation

oofAdornerList & OOF_mixAdornable::adorners  )  [inline, inherited]
 

void oofRepDrawable::clearID  )  [inline, inherited]
 

oofRepBand * oofRepGraphBand::clone  )  const [virtual]
 

Implements oofRepBand.

void oofRepDrawable::describeLayout  )  [virtual, inherited]
 

central default call like draw() but still able to be overriden in extreme cases.

Provides a second virtual function for renderers used by backends such as XML which have distinct drawing time and declarative time operations

void oofRepGraphBand::draw  )  [virtual]
 

central default call for drawing, but still able to be overriden in extreme cases.

Now that all is factored out to the render objects (Strategy pattern) we shouldn't need to do anything.regarding actual output

Reimplemented from oofRepDrawable.

unsigned long oofRepGraphBand::drawingHeight  )  const [inline]
 

void oofRepGraphBand::drawSquished long &  balanceToSave  )  [virtual]
 

Reimplemented from oofRepBand.

void oofRepGraphBand::finishConstruction  )  [virtual]
 

null base method occasionally overriden

Reimplemented from oofRepDrawable.

void oofRepGraphBand::fixedHeight unsigned long  height  )  [inline]
 

unsigned long oofRepGraphBand::fixedHeight  )  [virtual]
 

Reimplemented from oofRepBand.

oofGraph * oofRepGraphBand::graph  )  const [inline]
 

void oofRepGraphBand::graphHeight unsigned long  grHeight  ) 
 

unsigned long oofRepGraphBand::graphHeight  )  const [inline]
 

void oofRepGraphBand::graphWidth unsigned long  grWidth  ) 
 

unsigned long oofRepGraphBand::graphWidth  )  const [inline]
 

bool OOF_mixAdornable::hasAdorners  )  const [inline, inherited]
 

void oofRepDrawable::ID const oofString  )  [inline, inherited]
 

oofString oofRepDrawable::ID  )  const [inline, inherited]
 

bool oofRepBand::isLayoutBand  )  const [virtual, inherited]
 

Reimplemented in oofRepLayoutBand.

bool oofRepBand::isViewBand  )  const [virtual, inherited]
 

Reimplemented in oofRepViewBand.

oofRepTextStyle * oofRepTextStylable::localTextStyle  )  const [inline, inherited]
 

Get style owned by this object.

Returns:
may be null indicating use container's style.

oofRepEditLink * oofRepDrawable::makeEditLink const oofRepEditingEnv inEnv  )  [virtual, inherited]
 

Make an editor for this drawable - by default return a null link.

Note that this is separated from the making of render wrappers as editing may have its own complexities - a given drawable may therefore provide a subclassed edit link but use standard wrapping.

Reimplemented in oofRepViewBand.

void oofRepDrawable::makeRender const oofRepEditingEnv inEnv  )  [virtual, inherited]
 

Just make a renderer for the GUI environment as if not editing because by default most drawables are not editable!

Reimplemented in oofRepLayoutBand, oofRepViewBand, oofRepTextBlock, and oofRepPictBlock.

void oofRepGraphBand::makeRender const oofRepXMLEnv env  )  [virtual]
 

Reimplemented from oofRepDrawable.

void oofRepGraphBand::makeRender const oofRepTSVEnv env  )  [virtual]
 

Reimplemented from oofRepDrawable.

void oofRepGraphBand::makeRender const oofRepCSVEnv env  )  [virtual]
 

Reimplemented from oofRepDrawable.

void oofRepGraphBand::makeRender const oofRepHTMLEnv env  )  [virtual]
 

Reimplemented from oofRepDrawable.

void oofRepGraphBand::makeRender const oofRepRTFEnv env  )  [virtual]
 

Reimplemented from oofRepDrawable.

void oofRepGraphBand::makeRender const oofRepTextEnv env  )  [virtual]
 

Reimplemented from oofRepDrawable.

void oofRepGraphBand::makeRender const oofRepWinEnv env  )  [virtual]
 

Reimplemented from oofRepDrawable.

void oofRepGraphBand::makeRender const oofRepMacEnv  )  [virtual]
 

Reimplemented from oofRepDrawable.

unsigned long oofRepGraphBand::minHeight  )  [virtual]
 

Reimplemented from oofRepBand.

unsigned long oofRepGraphBand::numOverlaid  )  const
 

unsigned long oofRepGraphBand::originalGraphHeight  )  const [inline]
 

unsigned long oofRepGraphBand::originalGraphWidth  )  const [inline]
 

oofRepTextStyle * oofRepTextStylable::textStyle  )  const [virtual, inherited]
 

Get the text style owned by this object or a default.

Returns:
never null, may be from default in report settings.

Reimplemented in oofRepBlock.

void oofRepTextStylable::textStyle const char *  fontName,
unsigned short  fontSize,
unsigned char  styleNum = 0,
short  leading = 0,
oofColor  color = oofColor::Black
[inherited]
 

Set style owned by this object, creating from the font parameters.

void oofRepTextStylable::textStyle oofRepTextStyle adoptedStyle  )  [inherited]
 

Set style owned by this object.

oofRepTextStyle * oofRepTextStylable::uniqueTextStyle  )  [inherited]
 

Get a style unique to this object, cloning the one we'd normally use if necessary.

Return values:
Always returns a style.

dbView * oofRepGraphBand::view unsigned short  whichView = 0  )  const [virtual]
 

Request a dbView which may be the source of data for the item.

Parameters:
whichView is zero-based index of views. eg: oofRepGraphBand has more than one view for some graph types.
Returns:
null by default if no band matching index

Reimplemented from oofRepDrawable.

unsigned long oofRepDrawable::width  )  [virtual, inherited]
 

Reimplemented in oofRepPictBlock.


Member Data Documentation

oofString oofRepDrawable::mID [protected, inherited]
 

oofRepRender* oofRepDrawable::mRender [protected, inherited]
 

oofRepTextStyle* oofRepTextStylable::mStyle [protected, inherited]
 


The documentation for this class was generated from the following files:
Generated on Fri Jan 2 01:12:15 2004 for OOFILE by doxygen 1.3.5