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 WhiteboardColor & | getColor () 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) |
Definition at line 13 of file WhiteboardTextElement.h.
typedef boost::shared_ptr<WhiteboardTextElement> Swift::WhiteboardTextElement::ref |
Reimplemented from Swift::WhiteboardElement.
Definition at line 15 of file WhiteboardTextElement.h.
Swift::WhiteboardTextElement::WhiteboardTextElement | ( | int | x, | |
int | y | |||
) | [inline] |
Definition at line 17 of file WhiteboardTextElement.h.
void Swift::WhiteboardTextElement::accept | ( | WhiteboardElementVisitor & | visitor | ) | [inline, virtual] |
Implements Swift::WhiteboardElement.
Definition at line 54 of file WhiteboardTextElement.h.
References Swift::WhiteboardElementVisitor::visit().
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.