OOFILE  1.9
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
oofBandShadingAdorner Class Reference

Base for adorners specifying background shading for simple bands. More...

#include <oofadorn.h>

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

Public Types

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

Public Member Functions

virtual oofAdornerclone () const
 
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 &)
 
 oofBandShadingAdorner (unsigned short percentage, oofAdorner::AdornerContextCode whenCode=oofAdorner::drawBefore)
 
 oofBandShadingAdorner (const oofBandShadingAdorner &rhs)
 
unsigned short percentage () const
 
virtual oofString serialize () const
 
virtual oofString signature () const
 
virtual ~oofBandShadingAdorner ()
 

Static Public Member Functions

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

Protected Attributes

oofAdornerRendermRender
 
enum AdornerContextCode mWhenCode
 

Detailed Description

Base for adorners specifying background shading for simple bands.

See also
oofRepBand

Definition at line 275 of file oofadorn.h.

Constructor & Destructor Documentation

oofBandShadingAdorner::oofBandShadingAdorner ( unsigned short  percentage,
oofAdorner::AdornerContextCode  whenCode = oofAdorner::drawBefore 
)

Definition at line 366 of file oofadorn.cpp.

References oofAdorner::mWhenCode.

Referenced by clone(), and makeAdorner().

oofBandShadingAdorner::oofBandShadingAdorner ( const oofBandShadingAdorner rhs)

Definition at line 372 of file oofadorn.cpp.

References oofAdorner::mWhenCode.

virtual oofBandShadingAdorner::~oofBandShadingAdorner ( )
inlinevirtual

Definition at line 280 of file oofadorn.h.

Member Function Documentation

oofAdorner * oofBandShadingAdorner::clone ( ) const
virtual

Implements oofAdorner.

Definition at line 380 of file oofadorn.cpp.

References oofBandShadingAdorner().

void oofAdorner::draw ( oofRepDrawable drawable,
unsigned long  height,
unsigned long  width 
)
virtualinherited

Definition at line 147 of file oofadorn.cpp.

References oofAdornerRender::draw(), and oofAdorner::mRender.

Referenced by oofRepDrawable::draw().

void oofAdorner::drawcell ( int  x,
int  y,
OOF_mixColumnarBand drawable,
unsigned long  height,
unsigned long  width,
AdornerCellCode  overrunCode = startStop 
)
virtualinherited
AdornerContextCode oofAdorner::drawWhen ( )
inlineinherited
oofSerializable * oofBandShadingAdorner::makeAdorner ( const oofString inData)
static
void oofBandShadingAdorner::makeRender ( const oofRepMacEnv )
virtual

Reimplemented from oofAdorner.

Definition at line 120 of file oofadCon.cpp.

void oofBandShadingAdorner::makeRender ( const oofRepWinEnv )
virtual

Reimplemented from oofAdorner.

Definition at line 44 of file oofadCon.cpp.

void oofBandShadingAdorner::makeRender ( const oofRepTextEnv )
virtual

Reimplemented from oofAdorner.

Definition at line 82 of file oofadTxt.cpp.

void oofBandShadingAdorner::makeRender ( const oofRepRTFEnv )
virtual

Reimplemented from oofAdorner.

Definition at line 83 of file oofadRTF.cpp.

void oofBandShadingAdorner::makeRender ( const oofRepHTMLEnv )
virtual

Reimplemented from oofAdorner.

Definition at line 80 of file oofadHTM.cpp.

void oofBandShadingAdorner::makeRender ( const oofRepCSVEnv )
virtual

Reimplemented from oofAdorner.

Definition at line 73 of file oofadCSV.cpp.

References oofAdorner::mRender.

void oofBandShadingAdorner::makeRender ( const oofRepTSVEnv )
virtual

Reimplemented from oofAdorner.

Definition at line 83 of file oofadTSV.cpp.

void oofBandShadingAdorner::makeRender ( const oofRepXMLEnv )
virtual

Reimplemented from oofAdorner.

Definition at line 83 of file oofadXML.cpp.

oofString oofSerializable::makeSerializableElement ( oofSerializable inSer,
const char *  tag,
oofIDfactory idFactory,
bool  writeID = false,
const char *  otherAttributes = 0 
)
staticinherited
unsigned short oofBandShadingAdorner::percentage ( ) const
inline

Definition at line 283 of file oofadorn.h.

Referenced by makeAdorner().

void oofBandShadingAdorner::registerSerializable ( )
static
oofString oofBandShadingAdorner::serialize ( ) const
virtual

Reimplemented from oofSerializable.

Definition at line 416 of file oofadorn.cpp.

References kBandShadingAdorner_serializationMask, and oofAdorner::mWhenCode.

oofString oofBandShadingAdorner::signature ( ) const
virtual

Implements oofSerializable.

Definition at line 387 of file oofadorn.cpp.

Member Data Documentation

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

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