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.
te::xl::SimpleLink::~SimpleLink | ( | ) |
Destructor.
Definition at line 36 of file SimpleLink.cpp.
te::xl::SimpleLink * te::xl::SimpleLink::clone | ( | ) | const |
te::xl::ActuateType te::xl::SimpleLink::getActuate | ( | ) | const |
Definition at line 100 of file SimpleLink.cpp.
const std::string & te::xl::SimpleLink::getArcRole | ( | ) | const |
Definition at line 70 of file SimpleLink.cpp.
const std::string & te::xl::SimpleLink::getHref | ( | ) | const |
Definition at line 50 of file SimpleLink.cpp.
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 60 of file SimpleLink.cpp.
te::xl::ShowType te::xl::SimpleLink::getShow | ( | ) | const |
Definition at line 90 of file SimpleLink.cpp.
const std::string & te::xl::SimpleLink::getTitle | ( | ) | const |
Definition at line 80 of file SimpleLink.cpp.
const std::string & te::xl::SimpleLink::getType | ( | ) |
Definition at line 40 of file SimpleLink.cpp.
References te::xl::Globals::sm_xlinkType.
void te::xl::SimpleLink::setActuate | ( | ActuateType | actuate | ) |
Definition at line 95 of file SimpleLink.cpp.
void te::xl::SimpleLink::setArcRole | ( | const std::string & | arcrole | ) |
Definition at line 65 of file SimpleLink.cpp.
void te::xl::SimpleLink::setHref | ( | const std::string & | href | ) |
Definition at line 45 of file SimpleLink.cpp.
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 55 of file SimpleLink.cpp.
void te::xl::SimpleLink::setShow | ( | ShowType | show | ) |
Definition at line 85 of file SimpleLink.cpp.
void te::xl::SimpleLink::setTitle | ( | const std::string & | title | ) |
Definition at line 75 of file SimpleLink.cpp.
|
private |
Behavior attributes. Default: none. (Optional)
Definition at line 108 of file SimpleLink.h.
Referenced by clone().
|
private |
|
private |
|
private |
|
private |
Behavior attributes. Default: none. (Optional)
Definition at line 107 of file SimpleLink.h.
Referenced by clone().
|
private |