#include </home/zeitlin/src/wx/github/interface/wx/html/htmlcell.h>
This class stores all necessary information about hypertext links (as represented by <A> tag in HTML documents).
In current implementation it stores URL and target frame name.
Public Member Functions | |
wxHtmlLinkInfo () | |
Default ctor. | |
wxHtmlLinkInfo (const wxString &href, const wxString &target=wxEmptyString) | |
Construct hypertext link from HREF (aka URL) and TARGET (name of target frame). | |
const wxMouseEvent * | GetEvent () const |
Return pointer to event that generated OnLinkClicked() event. | |
wxString | GetHref () const |
Return HREF value of the <A> tag. | |
const wxHtmlCell * | GetHtmlCell () const |
Return pointer to the cell that was clicked. | |
wxString | GetTarget () const |
Return TARGET value of the <A> tag (this value is used to specify in which frame should be the page pointed by GetHref() Href opened). |
wxHtmlLinkInfo::wxHtmlLinkInfo | ( | ) |
Default ctor.
wxHtmlLinkInfo::wxHtmlLinkInfo | ( | const wxString & | href, |
const wxString & | target = wxEmptyString |
||
) |
Construct hypertext link from HREF (aka URL) and TARGET (name of target frame).
const wxMouseEvent* wxHtmlLinkInfo::GetEvent | ( | ) | const |
Return pointer to event that generated OnLinkClicked() event.
Valid only within wxHtmlWindow::OnLinkClicked, NULL otherwise.
wxString wxHtmlLinkInfo::GetHref | ( | ) | const |
Return HREF value of the <A> tag.
const wxHtmlCell* wxHtmlLinkInfo::GetHtmlCell | ( | ) | const |
Return pointer to the cell that was clicked.
Valid only within wxHtmlWindow::OnLinkClicked, NULL otherwise.