OOFILE  1.9
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
oofAdorner Class Referenceabstract

Base object to derive adorners from. More...

#include <oofadorn.h>

Inheritance diagram for oofAdorner:
Inheritance graph
[legend]
Collaboration diagram for oofAdorner:
Collaboration graph
[legend]

Public Types

enum  AdornerCellCode { startStop, startContinue, continueStop, continueContinue }
 
enum  AdornerContextCode { drawBefore, drawAfter, drawDuring }
 

Public Member Functions

virtual oofAdornerclone () const =0
 
virtual void draw (oofRepDrawable *drawable, unsigned long height, unsigned long width)
 
virtual void drawcell (int x, int y, OOF_mixColumnarBand *drawable, unsigned long height, unsigned long width, AdornerCellCode overrunCode=startStop)
 
AdornerContextCode drawWhen ()
 
virtual void makeRender (const oofRepMacEnv &)
 
virtual void makeRender (const oofRepWinEnv &)
 
virtual void makeRender (const oofRepTextEnv &)
 
virtual void makeRender (const oofRepRTFEnv &)
 
virtual void makeRender (const oofRepHTMLEnv &)
 
virtual void makeRender (const oofRepCSVEnv &)
 
virtual void makeRender (const oofRepTSVEnv &)
 
virtual void makeRender (const oofRepXMLEnv &)
 
 oofAdorner ()
 
 oofAdorner (const oofAdorner &)
 
virtual oofString serialize () const
 
virtual oofString signature () const =0
 
virtual ~oofAdorner ()
 

Static Public Member Functions

static oofString makeSerializableElement (oofSerializable *, const char *tag, oofIDfactory *idFactory, bool writeID=false, const char *otherAttributes=0)
 

Protected Attributes

oofAdornerRendermRender
 
enum AdornerContextCode mWhenCode
 

Detailed Description

Base object to derive adorners from.

Note
AD disclaimer 990528 the entire adorner structure was added with far less design input than I would have like and written by a junior programmer with scant regard for our programming conventions (no I'm NOT going to explain the circumstances). Whilst I dislike changing API's and breaking user code, it is likely that methods, enums etc. in here will be renamed in future and possibly the entire mechanism change.

Definition at line 32 of file oofadorn.h.

Constructor & Destructor Documentation

oofAdorner::oofAdorner ( )

Definition at line 127 of file oofadorn.cpp.

oofAdorner::oofAdorner ( const oofAdorner rhs)

Definition at line 132 of file oofadorn.cpp.

References oofAdornerRender::clone(), and mRender.

oofAdorner::~oofAdorner ( )
virtual

Definition at line 141 of file oofadorn.cpp.

References mRender.

Member Function Documentation

virtual oofAdorner* oofAdorner::clone ( ) const
pure virtual
void oofAdorner::draw ( oofRepDrawable drawable,
unsigned long  height,
unsigned long  width 
)
virtual

Definition at line 147 of file oofadorn.cpp.

References oofAdornerRender::draw(), and mRender.

Referenced by oofRepDrawable::draw().

void oofAdorner::drawcell ( int  x,
int  y,
OOF_mixColumnarBand drawable,
unsigned long  height,
unsigned long  width,
AdornerCellCode  overrunCode = startStop 
)
virtual
AdornerContextCode oofAdorner::drawWhen ( )
inline
void oofAdorner::makeRender ( const oofRepMacEnv )
virtual
void oofAdorner::makeRender ( const oofRepWinEnv )
virtual

Reimplemented in oofBandShadingAdorner, oofShadingAdorner, and oofBorderAdorner.

Definition at line 174 of file oofadorn.cpp.

References mRender.

void oofAdorner::makeRender ( const oofRepTextEnv )
virtual

Reimplemented in oofBandShadingAdorner, oofShadingAdorner, and oofBorderAdorner.

Definition at line 209 of file oofadorn.cpp.

References mRender.

void oofAdorner::makeRender ( const oofRepRTFEnv )
virtual

Reimplemented in oofBandShadingAdorner, oofShadingAdorner, and oofBorderAdorner.

Definition at line 181 of file oofadorn.cpp.

References mRender.

void oofAdorner::makeRender ( const oofRepHTMLEnv )
virtual

Reimplemented in oofBandShadingAdorner, oofShadingAdorner, and oofBorderAdorner.

Definition at line 188 of file oofadorn.cpp.

References mRender.

void oofAdorner::makeRender ( const oofRepCSVEnv )
virtual

Reimplemented in oofBandShadingAdorner, oofShadingAdorner, and oofBorderAdorner.

Definition at line 195 of file oofadorn.cpp.

References mRender.

void oofAdorner::makeRender ( const oofRepTSVEnv )
virtual

Reimplemented in oofBandShadingAdorner, oofShadingAdorner, and oofBorderAdorner.

Definition at line 202 of file oofadorn.cpp.

References mRender.

void oofAdorner::makeRender ( const oofRepXMLEnv )
virtual

Reimplemented in oofBandShadingAdorner, oofShadingAdorner, and oofBorderAdorner.

Definition at line 216 of file oofadorn.cpp.

References mRender.

oofString oofSerializable::makeSerializableElement ( oofSerializable inSer,
const char *  tag,
oofIDfactory idFactory,
bool  writeID = false,
const char *  otherAttributes = 0 
)
staticinherited
oofString oofSerializable::serialize ( ) const
virtualinherited
virtual oofString oofSerializable::signature ( ) const
pure virtualinherited

Member Data Documentation

oofAdornerRender* oofAdorner::mRender
protected
enum AdornerContextCode oofAdorner::mWhenCode
protected

The documentation for this class was generated from the following files: