1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30 package org.otvl.sbxbsamp.simple;
31
32
33
34
35 /***
36 * A page containing frames.
37 * @author
38 * @version
39 */
40
41
42 public class Page
43 {
44
45
46
47 /***
48 *
49 */
50 private String url;
51
52
53
54
55
56 /***
57 * The collection of frames, indexed by their name.
58 */
59 private java.util.Map theFrames = new java.util.HashMap() ;
60
61
62
63
64
65
66
67
68
69
70
71
72
73 /***
74 * Returns the url.<br/>
75 *
76 * @return String
77 */
78 public String getUrl() {
79 String vUrl = url;
80 return vUrl;
81 }
82
83 /***
84 * Sets the url.<br/>
85 *
86 * @param url The url to set
87 */
88 public void setUrl(String url) {
89 this.url = url;
90 }
91
92
93
94
95
96
97
98
99
100 /***
101 * Returns a target in link theFrames.<br/>
102 * The collection of frames, indexed by their name.
103 * @param key offset in the array
104 * @return Frame
105 */
106 public Frame getTheFrames(Object key) {
107 Frame vTheFrames = (Frame)theFrames.get(key);
108 return vTheFrames;
109 }
110 /***
111 * Returns a Collection for targets in link theFrames
112 * @return java.util.Collection
113 */
114 public java.util.Collection valuesTheFrames() {
115 java.util.Collection vValues = theFrames.values();
116 return vValues;
117 }
118 /***
119 * Returns a Set for keys of targets in link theFrames
120 * @return java.util.Set
121 */
122 public java.util.Set keySetTheFrames() {
123 java.util.Set vKeySet = theFrames.keySet();
124 return vKeySet;
125 }
126 /***
127 * Returns the size of the collection theFrames
128 * @return int
129 */
130 public int sizeTheFrames() {
131 int vSize = theFrames.size();
132 return vSize;
133 }
134
135 /***
136 * Inserts a target in link theFrames.<br/>
137 * The collection of frames, indexed by their name.
138 * @param key key in the associative array
139 * @param aFrame The Frame to insert
140 */
141 public void putTheFrames(Object key, Frame aFrame) {
142 this.theFrames.put(key, aFrame);
143 }
144
145 /***
146 * Removes a target in link theFrames
147 * @param key key in the associative array
148 */
149 public void removeTheFrames(Object key) {
150 this.theFrames.remove(key);
151 }
152
153 /***
154 * Clears all targets in link theFrames
155 */
156 public void clearTheFrames() {
157 this.theFrames.clear();
158 }
159
160
161
162
163 }