Public Types | Public Member Functions

Swift::WhiteboardTextElement Class Reference

Inheritance diagram for Swift::WhiteboardTextElement:
Collaboration diagram for Swift::WhiteboardTextElement:

List of all members.

Public Types

typedef boost::shared_ptr
< WhiteboardTextElement
ref

Public Member Functions

 WhiteboardTextElement (int x, int y)
void setText (const std::string text)
const std::string & getText () const
int getX () const
int getY () const
const WhiteboardColorgetColor () const
void setColor (const WhiteboardColor &color)
int getSize () const
void setSize (const int size)
void accept (WhiteboardElementVisitor &visitor)
const std::string & getID () const
void setID (const std::string &id)

Detailed Description

Definition at line 13 of file WhiteboardTextElement.h.


Member Typedef Documentation

Reimplemented from Swift::WhiteboardElement.

Definition at line 15 of file WhiteboardTextElement.h.


Constructor & Destructor Documentation

Swift::WhiteboardTextElement::WhiteboardTextElement ( int  x,
int  y 
) [inline]

Definition at line 17 of file WhiteboardTextElement.h.


Member Function Documentation

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

Definition at line 38 of file WhiteboardTextElement.h.

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

Definition at line 21 of file WhiteboardElement.h.

int Swift::WhiteboardTextElement::getSize (  )  const [inline]

Definition at line 46 of file WhiteboardTextElement.h.

const std::string& Swift::WhiteboardTextElement::getText (  )  const [inline]

Definition at line 26 of file WhiteboardTextElement.h.

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

Definition at line 30 of file WhiteboardTextElement.h.

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

Definition at line 34 of file WhiteboardTextElement.h.

void Swift::WhiteboardTextElement::setColor ( const WhiteboardColor color  )  [inline]

Definition at line 42 of file WhiteboardTextElement.h.

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

Definition at line 25 of file WhiteboardElement.h.

void Swift::WhiteboardTextElement::setSize ( const int  size  )  [inline]

Definition at line 50 of file WhiteboardTextElement.h.

void Swift::WhiteboardTextElement::setText ( const std::string  text  )  [inline]

Definition at line 22 of file WhiteboardTextElement.h.