#include <Element.h>
Public Member Functions | |
| Element * | clone () const | 
| It clones the Element.  More... | |
| Element () | |
| Text Element constructor.  More... | |
| Element (const std::string &value, te::gm::Geometry *location=0, te::gm::Geometry *leaderLine=0) | |
| Text Element constructor.  More... | |
| const Attributes * | getAttributes () const | 
| it returns the text attributes.  More... | |
| const te::gm::Geometry * | getLeaderLine () const | 
| it returns the text leader line.  More... | |
| const te::gm::Geometry * | getLocation () const | 
| it returns the text location.  More... | |
| const std::string & | getValue () const | 
| it returns the text string.  More... | |
| void | setAttributes (Attributes *attribute) | 
| it sets the text attributes.  More... | |
| void | setLeaderLine (te::gm::Geometry *leaderLine) | 
| it sets the text leader line.  More... | |
| void | setLocation (te::gm::Geometry *location) | 
| it sets the text location.  More... | |
| void | setValue (const std::string &value) | 
| it sets the text string.  More... | |
| ~Element () | |
| Text Element destructor.  More... | |
Not Allowed Methods | |
| std::string | m_value | 
| text value  More... | |
| te::gm::Geometry * | m_location | 
| location  More... | |
| te::gm::Geometry * | m_leaderLine | 
| leader line  More... | |
| Attributes * | m_attribute | 
| attributes  More... | |
| Element (const Element &rhs) | |
| No copy constructor allowed.  More... | |
| Element & | operator= (const Element &rhs) | 
| No assignment operator allowed.  More... | |
| te::at::Element::Element | ( | ) | 
Definition at line 31 of file Element.cpp.
References m_attribute, m_leaderLine, m_location, and m_value.
| te::at::Element::Element | ( | const std::string & | value, | 
| te::gm::Geometry * | location = 0,  | 
        ||
| te::gm::Geometry * | leaderLine = 0  | 
        ||
| ) | 
| te::at::Element::~Element | ( | ) | 
Definition at line 47 of file Element.cpp.
      
  | 
  private | 
No copy constructor allowed.
| rhs | The other element. | 
| te::at::Element * te::at::Element::clone | ( | ) | const | 
It clones the Element.
Definition at line 54 of file Element.cpp.
References setAttributes(), setLeaderLine(), setLocation(), and setValue().
| const te::at::Attributes * te::at::Element::getAttributes | ( | ) | const | 
it returns the text attributes.
The text attributes.
Definition at line 102 of file Element.cpp.
Referenced by te::qt::widgets::Canvas::draw(), and te::ag::Canvas::draw().
| const te::gm::Geometry * te::at::Element::getLeaderLine | ( | ) | const | 
it returns the text leader line.
Definition at line 91 of file Element.cpp.
Referenced by te::qt::widgets::Canvas::draw(), and te::ag::Canvas::draw().
| const te::gm::Geometry * te::at::Element::getLocation | ( | ) | const | 
it returns the text location.
Definition at line 80 of file Element.cpp.
Referenced by te::qt::widgets::Canvas::draw(), and te::ag::Canvas::draw().
| const std::string & te::at::Element::getValue | ( | ) | const | 
it returns the text string.
Definition at line 69 of file Element.cpp.
Referenced by te::qt::widgets::Canvas::draw(), and te::ag::Canvas::draw().
No assignment operator allowed.
| rhs | The other element. | 
| void te::at::Element::setAttributes | ( | Attributes * | attribute | ) | 
it sets the text attributes.
| att | The text attributes. | 
Definition at line 96 of file Element.cpp.
Referenced by clone().
| void te::at::Element::setLeaderLine | ( | te::gm::Geometry * | leaderLine | ) | 
it sets the text leader line.
| leaderLine | The text leader line. | 
Definition at line 85 of file Element.cpp.
Referenced by clone().
| void te::at::Element::setLocation | ( | te::gm::Geometry * | location | ) | 
it sets the text location.
| location | The text location. | 
Definition at line 74 of file Element.cpp.
Referenced by clone().
| void te::at::Element::setValue | ( | const std::string & | value | ) | 
it sets the text string.
| value | The text string. | 
Definition at line 64 of file Element.cpp.
Referenced by clone().
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private |