Simple link. More...
#include <SimpleLink.h>
Public Member Functions | |
| SimpleLink * | clone () const |
| It creates a new copy of this object. More... | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
| SimpleLink () | |
| It initializes a new SimpleLink. More... | |
| ~SimpleLink () | |
| Destructor. More... | |
Accessor methods | |
Methods used to get or set properties. | |
| const std::string & | getType () |
| void | setHref (const std::string &href) |
| const std::string & | getHref () const |
| void | setRole (const std::string &role) |
| const std::string & | getRole () const |
| void | setArcRole (const std::string &arcrole) |
| const std::string & | getArcRole () const |
| void | setTitle (const std::string &title) |
| const std::string & | getTitle () const |
| void | setShow (ShowType show) |
| ShowType | getShow () const |
| void | setActuate (ActuateType actuate) |
| ActuateType | getActuate () const |
Private Attributes | |
| ActuateType | m_actuate |
| Behavior attributes. Default: none. (Optional) More... | |
| std::string | m_arcrole |
| Semantic attribute. (Optional) More... | |
| std::string | m_href |
| Locator attribute. (Optional) More... | |
| std::string | m_role |
| Semantic attribute. (Optional) More... | |
| ShowType | m_show |
| Behavior attributes. Default: none. (Optional) More... | |
| std::string | m_title |
| Semantic attribute. (Optional) More... | |
Simple link.
Attributes grouped by XLink type, as specified in the W3C Proposed Recommendation (dated 2000-12-20).
Definition at line 48 of file SimpleLink.h.
| te::xl::SimpleLink::SimpleLink | ( | ) |
It initializes a new SimpleLink.
Definition at line 30 of file SimpleLink.cpp.
References ~SimpleLink().
Referenced by clone().
|
default |
Destructor.
Referenced by SimpleLink().
| te::xl::SimpleLink * te::xl::SimpleLink::clone | ( | ) | const |
It creates a new copy of this object.
Definition at line 103 of file SimpleLink.cpp.
References m_actuate, m_arcrole, m_href, m_role, m_show, m_title, and SimpleLink().
| te::xl::ActuateType te::xl::SimpleLink::getActuate | ( | ) | const |
Definition at line 98 of file SimpleLink.cpp.
References m_actuate.
| const std::string & te::xl::SimpleLink::getArcRole | ( | ) | const |
Definition at line 68 of file SimpleLink.cpp.
References m_arcrole.
| const std::string & te::xl::SimpleLink::getHref | ( | ) | const |
Definition at line 48 of file SimpleLink.cpp.
References m_href.
Referenced by te::qt::widgets::LocalGraphicWidget::getGraphicIcon(), te::qt::widgets::ExternalGraphicRenderer::render(), te::qt::widgets::LocalGraphicWidget::setGraphic(), te::qt::widgets::GraphicProperty::setGraphic(), te::qt::widgets::LocalImagePropertyItem::updateUi(), and te::qt::widgets::LocalImageWidget::updateUi().
| const std::string & te::xl::SimpleLink::getRole | ( | ) | const |
Definition at line 58 of file SimpleLink.cpp.
References m_role.
| te::xl::ShowType te::xl::SimpleLink::getShow | ( | ) | const |
Definition at line 88 of file SimpleLink.cpp.
References m_show.
| const std::string & te::xl::SimpleLink::getTitle | ( | ) | const |
Definition at line 78 of file SimpleLink.cpp.
References m_title.
| const std::string & te::xl::SimpleLink::getType | ( | ) |
Definition at line 38 of file SimpleLink.cpp.
References te::xl::Globals::sm_xlinkType.
| void te::xl::SimpleLink::setActuate | ( | ActuateType | actuate | ) |
Definition at line 93 of file SimpleLink.cpp.
References m_actuate.
| void te::xl::SimpleLink::setArcRole | ( | const std::string & | arcrole | ) |
Definition at line 63 of file SimpleLink.cpp.
References m_arcrole.
| void te::xl::SimpleLink::setHref | ( | const std::string & | href | ) |
Definition at line 43 of file SimpleLink.cpp.
References m_href.
Referenced by te::qt::widgets::LocalImageWidget::onBrowsePushButtonPressed(), and te::qt::widgets::LocalImagePropertyItem::showImgDlg().
| void te::xl::SimpleLink::setRole | ( | const std::string & | role | ) |
Definition at line 53 of file SimpleLink.cpp.
References m_role.
| void te::xl::SimpleLink::setShow | ( | ShowType | show | ) |
Definition at line 83 of file SimpleLink.cpp.
References m_show.
| void te::xl::SimpleLink::setTitle | ( | const std::string & | title | ) |
Definition at line 73 of file SimpleLink.cpp.
References m_title.
|
private |
Behavior attributes. Default: none. (Optional)
Definition at line 108 of file SimpleLink.h.
Referenced by clone(), getActuate(), and setActuate().
|
private |
Semantic attribute. (Optional)
Definition at line 105 of file SimpleLink.h.
Referenced by clone(), getArcRole(), and setArcRole().
|
private |
Locator attribute. (Optional)
Definition at line 103 of file SimpleLink.h.
|
private |
Semantic attribute. (Optional)
Definition at line 104 of file SimpleLink.h.
|
private |
Behavior attributes. Default: none. (Optional)
Definition at line 107 of file SimpleLink.h.
|
private |
Semantic attribute. (Optional)
Definition at line 106 of file SimpleLink.h.
Referenced by clone(), getTitle(), and setTitle().