|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.WebBrowser.SpeedDial.Page</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>eric7.WebBrowser.SpeedDial.Page</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing a structure to hold the data for a speed dial page. |
|
13 </p> |
|
14 <h3>Global Attributes</h3> |
|
15 |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 |
|
21 <table> |
|
22 |
|
23 <tr> |
|
24 <td><a href="#Page">Page</a></td> |
|
25 <td>Class to hold the data for a speed dial page.</td> |
|
26 </tr> |
|
27 </table> |
|
28 <h3>Functions</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <hr /> |
|
34 <hr /> |
|
35 <a NAME="Page" ID="Page"></a> |
|
36 <h2>Page</h2> |
|
37 |
|
38 <p> |
|
39 Class to hold the data for a speed dial page. |
|
40 </p> |
|
41 <h3>Derived from</h3> |
|
42 None |
|
43 <h3>Class Attributes</h3> |
|
44 |
|
45 <table> |
|
46 <tr><td>None</td></tr> |
|
47 </table> |
|
48 <h3>Class Methods</h3> |
|
49 |
|
50 <table> |
|
51 <tr><td>None</td></tr> |
|
52 </table> |
|
53 <h3>Methods</h3> |
|
54 |
|
55 <table> |
|
56 |
|
57 <tr> |
|
58 <td><a href="#Page.__init__">Page</a></td> |
|
59 <td>Constructor</td> |
|
60 </tr> |
|
61 <tr> |
|
62 <td><a href="#Page.__eq__">__eq__</a></td> |
|
63 <td>Special method implementing the equality operator.</td> |
|
64 </tr> |
|
65 <tr> |
|
66 <td><a href="#Page.isValid">isValid</a></td> |
|
67 <td>Public method to check the validity.</td> |
|
68 </tr> |
|
69 </table> |
|
70 <h3>Static Methods</h3> |
|
71 |
|
72 <table> |
|
73 <tr><td>None</td></tr> |
|
74 </table> |
|
75 |
|
76 <a NAME="Page.__init__" ID="Page.__init__"></a> |
|
77 <h4>Page (Constructor)</h4> |
|
78 <b>Page</b>(<i>url="", title="", broken=False</i>) |
|
79 |
|
80 <p> |
|
81 Constructor |
|
82 </p> |
|
83 <dl> |
|
84 |
|
85 <dt><i>url</i></dt> |
|
86 <dd> |
|
87 URL of the page (string) |
|
88 </dd> |
|
89 <dt><i>title</i></dt> |
|
90 <dd> |
|
91 title of the page (string) |
|
92 </dd> |
|
93 <dt><i>broken</i></dt> |
|
94 <dd> |
|
95 flag indicating a broken connection (boolean) |
|
96 </dd> |
|
97 </dl> |
|
98 <a NAME="Page.__eq__" ID="Page.__eq__"></a> |
|
99 <h4>Page.__eq__</h4> |
|
100 <b>__eq__</b>(<i>other</i>) |
|
101 |
|
102 <p> |
|
103 Special method implementing the equality operator. |
|
104 </p> |
|
105 <dl> |
|
106 |
|
107 <dt><i>other</i></dt> |
|
108 <dd> |
|
109 reference to the other page object (Page) |
|
110 </dd> |
|
111 </dl> |
|
112 <dl> |
|
113 <dt>Return:</dt> |
|
114 <dd> |
|
115 flag indicating equality (boolean) |
|
116 </dd> |
|
117 </dl> |
|
118 <a NAME="Page.isValid" ID="Page.isValid"></a> |
|
119 <h4>Page.isValid</h4> |
|
120 <b>isValid</b>(<i></i>) |
|
121 |
|
122 <p> |
|
123 Public method to check the validity. |
|
124 </p> |
|
125 <dl> |
|
126 <dt>Return:</dt> |
|
127 <dd> |
|
128 flag indicating a valid object |
|
129 </dd> |
|
130 </dl> |
|
131 <dl> |
|
132 <dt>Return Type:</dt> |
|
133 <dd> |
|
134 bool |
|
135 </dd> |
|
136 </dl> |
|
137 <div align="right"><a href="#top">Up</a></div> |
|
138 <hr /> |
|
139 </body></html> |