]>
Commit | Line | Data |
---|---|---|
846914d1 VS |
1 | \section{\class{wxHtmlLinkInfo}}\label{wxhtmllinkinfo} |
2 | ||
2edb0bde | 3 | This class stores all necessary information about hypertext |
846914d1 | 4 | links (as represented by {\tt <A>} tag in HTML documents). In |
fa482912 | 5 | current implementation it stores URL and target frame name. |
846914d1 VS |
6 | {\it Note that frames are not currently supported by wxHTML!} |
7 | ||
8 | \wxheading{Derived from} | |
9 | ||
10 | \helpref{wxObject}{wxobject} | |
11 | ||
9704b250 VS |
12 | \wxheading{Include files} |
13 | ||
14 | <wx/html/htmlcell.h> | |
15 | ||
846914d1 VS |
16 | \latexignore{\rtfignore{\wxheading{Members}}} |
17 | ||
846914d1 VS |
18 | \membersection{wxHtmlLinkInfo::wxHtmlLinkInfo}\label{wxhtmllinkinfowxhtmllinkinfo} |
19 | ||
20 | \func{}{wxHtmlLinkInfo}{\void} | |
21 | ||
22 | Default ctor. | |
23 | ||
846914d1 VS |
24 | \func{}{wxHtmlLinkInfo}{\param{const wxString\& }{href}, \param{const wxString\& }{target = wxEmptyString}} |
25 | ||
26 | Construct hypertext link from HREF (aka URL) and TARGET (name of target | |
27 | frame). | |
28 | ||
9bc8fded VS |
29 | \membersection{wxHtmlLinkInfo::GetEvent}\label{wxhtmllinkinfogetevent} |
30 | ||
31 | \func{const wxMouseEvent *}{GetEvent}{\void} | |
32 | ||
33 | Return pointer to event that generated OnLinkClicked event. Valid | |
34 | only within \helpref{wxHtmlWindow::OnLinkClicked}{wxhtmlwindowonlinkclicked}, | |
35 | NULL otherwise. | |
36 | ||
37 | \membersection{wxHtmlLinkInfo::GetHtmlCell}\label{wxhtmllinkinfogethtmlcell} | |
38 | ||
39 | \func{const wxHtmlCell *}{GetHtmlCell}{\void} | |
40 | ||
41 | Return pointer to the cell that was clicked. Valid | |
42 | only within \helpref{wxHtmlWindow::OnLinkClicked}{wxhtmlwindowonlinkclicked}, | |
43 | NULL otherwise. | |
44 | ||
45 | ||
846914d1 VS |
46 | \membersection{wxHtmlLinkInfo::GetHref}\label{wxhtmllinkinfogethref} |
47 | ||
48 | \func{wxString}{GetHref}{\void} | |
49 | ||
9bc8fded | 50 | Return {\it HREF} value of the {\tt <A>} tag. |
846914d1 VS |
51 | |
52 | \membersection{wxHtmlLinkInfo::GetTarget}\label{wxhtmllinkinfogettarget} | |
53 | ||
54 | \func{wxString}{GetTarget}{\void} | |
55 | ||
9bc8fded | 56 | Return {\it TARGET} value of the {\tt <A>} tag (this value |
846914d1 | 57 | is used to specify in which frame should be the page pointed |
8771a323 | 58 | by \helpref{Href}{wxhtmllinkinfogethref} opened). |
e12be2f7 | 59 |