]>
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 | ||
a7af285d VZ |
16 | \wxheading{Library} |
17 | ||
18 | \helpref{wxHtml}{librarieslist} | |
19 | ||
846914d1 VS |
20 | \latexignore{\rtfignore{\wxheading{Members}}} |
21 | ||
846914d1 VS |
22 | \membersection{wxHtmlLinkInfo::wxHtmlLinkInfo}\label{wxhtmllinkinfowxhtmllinkinfo} |
23 | ||
24 | \func{}{wxHtmlLinkInfo}{\void} | |
25 | ||
26 | Default ctor. | |
27 | ||
846914d1 VS |
28 | \func{}{wxHtmlLinkInfo}{\param{const wxString\& }{href}, \param{const wxString\& }{target = wxEmptyString}} |
29 | ||
30 | Construct hypertext link from HREF (aka URL) and TARGET (name of target | |
31 | frame). | |
32 | ||
9bc8fded VS |
33 | \membersection{wxHtmlLinkInfo::GetEvent}\label{wxhtmllinkinfogetevent} |
34 | ||
35 | \func{const wxMouseEvent *}{GetEvent}{\void} | |
36 | ||
37 | Return pointer to event that generated OnLinkClicked event. Valid | |
38 | only within \helpref{wxHtmlWindow::OnLinkClicked}{wxhtmlwindowonlinkclicked}, | |
39 | NULL otherwise. | |
40 | ||
41 | \membersection{wxHtmlLinkInfo::GetHtmlCell}\label{wxhtmllinkinfogethtmlcell} | |
42 | ||
43 | \func{const wxHtmlCell *}{GetHtmlCell}{\void} | |
44 | ||
45 | Return pointer to the cell that was clicked. Valid | |
46 | only within \helpref{wxHtmlWindow::OnLinkClicked}{wxhtmlwindowonlinkclicked}, | |
47 | NULL otherwise. | |
48 | ||
49 | ||
846914d1 VS |
50 | \membersection{wxHtmlLinkInfo::GetHref}\label{wxhtmllinkinfogethref} |
51 | ||
52 | \func{wxString}{GetHref}{\void} | |
53 | ||
9bc8fded | 54 | Return {\it HREF} value of the {\tt <A>} tag. |
846914d1 VS |
55 | |
56 | \membersection{wxHtmlLinkInfo::GetTarget}\label{wxhtmllinkinfogettarget} | |
57 | ||
58 | \func{wxString}{GetTarget}{\void} | |
59 | ||
9bc8fded | 60 | Return {\it TARGET} value of the {\tt <A>} tag (this value |
846914d1 | 61 | is used to specify in which frame should be the page pointed |
8771a323 | 62 | by \helpref{Href}{wxhtmllinkinfogethref} opened). |
e12be2f7 | 63 |