Public Types | Public Member Functions

Swift::WhiteboardRectElement Class Reference

Inheritance diagram for Swift::WhiteboardRectElement:
Collaboration diagram for Swift::WhiteboardRectElement:

List of all members.

Public Types

typedef boost::shared_ptr
< WhiteboardRectElement

Public Member Functions

 WhiteboardRectElement (int x, int y, int width, int height)
int getX () const
int getY () const
int getWidth () const
int getHeight () const
const WhiteboardColorgetPenColor () const
void setPenColor (const WhiteboardColor &color)
const WhiteboardColorgetBrushColor () const
void setBrushColor (const WhiteboardColor &color)
int getPenWidth () const
void setPenWidth (const int penWidth)
void accept (WhiteboardElementVisitor &visitor)
const std::string & getID () const
void setID (const std::string &id)

Detailed Description

Definition at line 13 of file WhiteboardRectElement.h.

Member Typedef Documentation

Reimplemented from Swift::WhiteboardElement.

Definition at line 15 of file WhiteboardRectElement.h.

Constructor & Destructor Documentation

Swift::WhiteboardRectElement::WhiteboardRectElement ( int  x,
int  y,
int  width,
int  height 
) [inline]

Definition at line 17 of file WhiteboardRectElement.h.

Member Function Documentation

void Swift::WhiteboardRectElement::accept ( WhiteboardElementVisitor visitor  )  [inline, virtual]
const WhiteboardColor& Swift::WhiteboardRectElement::getBrushColor (  )  const [inline]

Definition at line 48 of file WhiteboardRectElement.h.

int Swift::WhiteboardRectElement::getHeight (  )  const [inline]

Definition at line 36 of file WhiteboardRectElement.h.

const std::string& Swift::WhiteboardElement::getID (  )  const [inline, inherited]

Definition at line 21 of file WhiteboardElement.h.

const WhiteboardColor& Swift::WhiteboardRectElement::getPenColor (  )  const [inline]

Definition at line 40 of file WhiteboardRectElement.h.

int Swift::WhiteboardRectElement::getPenWidth (  )  const [inline]

Definition at line 56 of file WhiteboardRectElement.h.

int Swift::WhiteboardRectElement::getWidth (  )  const [inline]

Definition at line 32 of file WhiteboardRectElement.h.

int Swift::WhiteboardRectElement::getX (  )  const [inline]

Definition at line 24 of file WhiteboardRectElement.h.

int Swift::WhiteboardRectElement::getY (  )  const [inline]

Definition at line 28 of file WhiteboardRectElement.h.

void Swift::WhiteboardRectElement::setBrushColor ( const WhiteboardColor color  )  [inline]

Definition at line 52 of file WhiteboardRectElement.h.

void Swift::WhiteboardElement::setID ( const std::string &  id  )  [inline, inherited]

Definition at line 25 of file WhiteboardElement.h.

void Swift::WhiteboardRectElement::setPenColor ( const WhiteboardColor color  )  [inline]

Definition at line 44 of file WhiteboardRectElement.h.

void Swift::WhiteboardRectElement::setPenWidth ( const int  penWidth  )  [inline]

Definition at line 60 of file WhiteboardRectElement.h.