Public Types | Public Member Functions

Swift::WhiteboardLineElement Class Reference

Inheritance diagram for Swift::WhiteboardLineElement:
Collaboration diagram for Swift::WhiteboardLineElement:

List of all members.

Public Types

typedef boost::shared_ptr
< WhiteboardLineElement

Public Member Functions

 WhiteboardLineElement (int x1, int y1, int x2, int y2)
int x1 () const
int y1 () const
int x2 () const
int y2 () const
const WhiteboardColorgetColor () const
void setColor (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 WhiteboardLineElement.h.

Member Typedef Documentation

Reimplemented from Swift::WhiteboardElement.

Definition at line 15 of file WhiteboardLineElement.h.

Constructor & Destructor Documentation

Swift::WhiteboardLineElement::WhiteboardLineElement ( int  x1,
int  y1,
int  x2,
int  y2 
) [inline]

Definition at line 17 of file WhiteboardLineElement.h.

Member Function Documentation

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

Definition at line 40 of file WhiteboardLineElement.h.

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

Definition at line 21 of file WhiteboardElement.h.

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

Definition at line 48 of file WhiteboardLineElement.h.

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

Definition at line 44 of file WhiteboardLineElement.h.

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

Definition at line 25 of file WhiteboardElement.h.

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

Definition at line 52 of file WhiteboardLineElement.h.

int Swift::WhiteboardLineElement::x1 (  )  const [inline]

Definition at line 24 of file WhiteboardLineElement.h.

int Swift::WhiteboardLineElement::x2 (  )  const [inline]

Definition at line 32 of file WhiteboardLineElement.h.

int Swift::WhiteboardLineElement::y1 (  )  const [inline]

Definition at line 28 of file WhiteboardLineElement.h.

int Swift::WhiteboardLineElement::y2 (  )  const [inline]

Definition at line 36 of file WhiteboardLineElement.h.