wxHtmlLinkInfo

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. Note that frames are not currently supported by wxHTML!

Derived from

wxObject

Include files

<wx/html/htmlcell.h>



wxHtmlLinkInfo::wxHtmlLinkInfo



wxHtmlLinkInfo(void)

Default ctor.



wxHtmlLinkInfo(const wxString& href, const wxString& target = wxEmptyString)

Construct hypertext link from HREF (aka URL) and TARGET (name of target frame).



wxHtmlLinkInfo::GetEvent



const wxMouseEvent * GetEvent(void)

Return pointer to event that generated OnLinkClicked event. Valid only within wxHtmlWindow::OnLinkClicked, NULL otherwise.



wxHtmlLinkInfo::GetHtmlCell



const wxHtmlCell * GetHtmlCell(void)

Return pointer to the cell that was clicked. Valid only within wxHtmlWindow::OnLinkClicked, NULL otherwise.



wxHtmlLinkInfo::GetHref



wxString GetHref(void)

Return HREF value of the <A> tag.



wxHtmlLinkInfo::GetTarget



wxString GetTarget(void)

Return TARGET value of the <A> tag (this value is used to specify in which frame should be the page pointed by Href opened).

ymasuda 平成17年11月19日