Project

General

Profile

1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<TITLE>
6
Context
7
</TITLE>
8
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
9
</HEAD>
10
<SCRIPT>
11
function asd()
12
{
13
parent.document.title="Context";
14
}
15
</SCRIPT>
16
<BODY BGCOLOR="white" onload="asd();">
17

    
18
<!-- ========== START OF NAVBAR ========== -->
19
<A NAME="navbar_bottom"><!-- --></A>
20
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
21
<TR>
22
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
23
<A NAME="navbar_bottom_firstrow"><!-- --></A>
24
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
25
  <TR ALIGN="center" VALIGN="top">
26
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
27
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <A HREF="overview-summary-Context.js.html"><FONT CLASS="NavBarFont1"><B>File</B></FONT></A>&nbsp;</TD>
28
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">&nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
29
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
30
  <!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"-->    <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</FONT--><!--/A--><!--&nbsp;</TD-->
31
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"--><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
32
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
33
  </TR>
34
</TABLE>
35
</TD>
36
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
37
<B><a href='http://mapbuilder.sourceforge.net'>Community Map Builder</a> 27 Apr 2008</B>
38
</EM>
39
</TD
40
</TR>
41

    
42
<TR>
43
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
44
&nbsp;<A HREF="Config.html"><B>PREV CLASS</B></A><!-- 
45
   NEXT CLASS 
46
-->
47
&nbsp;<A HREF="CursorTrack.html"><B>NEXT CLASS</B></A></FONT></TD>
48
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
49
  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
50
&nbsp;<A HREF="Context.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
51
&nbsp;
52
<SCRIPT>
53
  <!--
54
  if(window==top) {
55
    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
56
  }
57
  //-->
58
</SCRIPT>
59
<NOSCRIPT>
60
<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
61
</NOSCRIPT>
62
</FONT></TD>
63
</TR>
64
<TR>
65
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
66
  SUMMARY:&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
67
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
68
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
69
</TR>
70
</TABLE>
71
<!-- =========== END OF NAVBAR =========== -->
72
<HR>
73

    
74
<!-- ======== START OF CLASS DATA ======== -->
75
<H2>Class Context</H2>
76
<PRE>Object
77
   |
78
   +--<a href='Listener.html'>Listener</a>
79
         |
80
         +--<a href='ModelBase.html'>ModelBase</a>
81
               |
82
               +--<b>Context</b>
83
</PRE>
84

    
85

    
86
<HR>
87
<DL>
88
   <!-- Class definition -->
89
   <DT>class 
90
   <B>Context</B>
91
   
92
      <DT>extends <a href='ModelBase.html'>ModelBase</a> 
93
   
94

    
95
</DL>
96
   
97
   <P>
98
   <I>Defined in <a href='overview-summary-Context.js.html'>Context.js</a></I><BR/><BR/><B>Author:</B> Cameron Shorter  <BR/>
99
   </P>
100
   
101
   <HR>
102

    
103
<!-- ======== NESTED CLASS SUMMARY ======== -->
104

    
105
<!-- ======== END NESTED CLASS SUMMARY ======== -->
106

    
107

    
108
<!-- =========== FIELD SUMMARY =========== -->
109

    
110
   <A NAME="field_summary"><!-- --></A>
111
      <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
112
         <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
113
            <TD COLSPAN=2><FONT SIZE="+2">
114
               <B>Field Summary</B></FONT></TD>
115
         </TR>
116

    
117
   <!-- This is one instance field summary -->
118
   
119
   <TR BGCOLOR="white" CLASS="TableRowColor">
120
   <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
121
   <CODE>&nbsp;Object</CODE></FONT></TD>
122
   <TD><CODE><B><A HREF="#namespace">namespace</A></B></CODE>
123
   <BR>
124
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
125
   </TR>
126
   
127

    
128
   </TABLE>
129
   &nbsp;
130
   
131

    
132
   
133
   
134
   &nbsp;<A NAME=""><!-- --></A>
135
   <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
136
   <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
137
   <TD><B>Fields inherited from class <A HREF="ModelBase.html">ModelBase</A></B></TD>
138
   </TR>
139
   <TR BGCOLOR="white" CLASS="TableRowColor">
140
   <TD><CODE>
141
   <a href="ModelBase.html#async">async</a>, <a href="ModelBase.html#contentType">contentType</a>, <a href="ModelBase.html#modelNode">modelNode</a>, <a href="ModelBase.html#id">id</a>, <a href="ModelBase.html#title">title</a>, <a href="ModelBase.html#debug">debug</a>, <a href="ModelBase.html#url">url</a>, <a href="ModelBase.html#method">method</a>, <a href="ModelBase.html#namespace">namespace</a>, <a href="ModelBase.html#template">template</a>, <a href="ModelBase.html#nodeSelectXpath">nodeSelectXpath</a>, <a href="ModelBase.html#config">config</a>, <a href="ModelBase.html#parentModel">parentModel</a>
142
   </CODE></TD>
143
   </TR>
144
</TABLE>
145
&nbsp;
146

    
147

    
148
   
149
   &nbsp;<A NAME=""><!-- --></A>
150
   <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
151
   <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
152
   <TD><B>Fields inherited from class <A HREF="Listener.html">Listener</A></B></TD>
153
   </TR>
154
   <TR BGCOLOR="white" CLASS="TableRowColor">
155
   <TD><CODE>
156
   <a href="Listener.html#listeners">listeners</a>, <a href="Listener.html#values">values</a>
157
   </CODE></TD>
158
   </TR>
159
</TABLE>
160
&nbsp;
161

    
162

    
163

    
164
<!-- =========== END FIELD SUMMARY =========== -->
165

    
166

    
167
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
168

    
169
<A NAME="constructor_summary"><!-- --></A>
170
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
171
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
172
<TD COLSPAN=2><FONT SIZE="+2">
173
<B>Constructor Summary</B></FONT></TD>
174
</TR>
175
<TR BGCOLOR="white" CLASS="TableRowColor">
176
   <TD>
177
      <CODE>
178
	 <B>
179
	    <A HREF="Context.html#Context()">Context</A> 
180
	 </B>
181
	 (modelNode, parent)
182
      </CODE>
183
      <BR>
184
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
185
      Stores a Web Map Context (WMC) document as defined by the Open Geospatial Consortium
186
 (http://www.opengeospatial.org/) and extensions the the WMC.
187
      </TD>
188
</TR>
189
</TABLE>
190

    
191
<!-- ======== END CONSTRUCTOR SUMMARY ======== -->
192

    
193
&nbsp;
194

    
195
<!-- ========== METHOD SUMMARY =========== -->
196

    
197
<A NAME="method_summary"><!-- --></A>
198
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
199
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
200
<TD COLSPAN=2><FONT SIZE="+2">
201
<B>Method Summary</B></FONT></TD>
202
</TR>
203

    
204

    
205
   <TR BGCOLOR="white" CLASS="TableRowColor">
206
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
207
	 <FONT SIZE="-1">
208
	    <CODE>&nbsp;void</CODE>
209
	 </FONT>
210
      </TD>
211
      <TD>
212
	 <CODE>
213
	    <B>
214
	       <A HREF="#addLayer">addLayer</A></B>(objRef, layerNode)
215
	 </CODE>
216
	 <BR>
217
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
218
	 Method to add a Layer to the LayerList
219
      </TD>
220
   </TR>
221

    
222
   <TR BGCOLOR="white" CLASS="TableRowColor">
223
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
224
	 <FONT SIZE="-1">
225
	    <CODE>&nbsp;void</CODE>
226
	 </FONT>
227
      </TD>
228
      <TD>
229
	 <CODE>
230
	    <B>
231
	       <A HREF="#addSLD">addSLD</A></B>(objRef,sldNode)
232
	 </CODE>
233
	 <BR>
234
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
235
	 Method to add a Sld tag to the StyleList
236
      </TD>
237
   </TR>
238

    
239
   <TR BGCOLOR="white" CLASS="TableRowColor">
240
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
241
	 <FONT SIZE="-1">
242
	    <CODE>&nbsp;void</CODE>
243
	 </FONT>
244
      </TD>
245
      <TD>
246
	 <CODE>
247
	    <B>
248
	       <A HREF="#clearTimeExtent">clearTimeExtent</A></B>( objRef )
249
	 </CODE>
250
	 <BR>
251
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
252
	 clear the time extent created by initTimeExtent
253
      </TD>
254
   </TR>
255

    
256
   <TR BGCOLOR="white" CLASS="TableRowColor">
257
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
258
	 <FONT SIZE="-1">
259
	    <CODE>&nbsp;void</CODE>
260
	 </FONT>
261
      </TD>
262
      <TD>
263
	 <CODE>
264
	    <B>
265
	       <A HREF="#deleteLayer">deleteLayer</A></B>(objRef, layerId)
266
	 </CODE>
267
	 <BR>
268
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
269
	 Method to remove a Layer from the LayerList
270
      </TD>
271
   </TR>
272

    
273
   <TR BGCOLOR="white" CLASS="TableRowColor">
274
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
275
	 <FONT SIZE="-1">
276
	    <CODE>&nbsp;Object</CODE>
277
	 </FONT>
278
      </TD>
279
      <TD>
280
	 <CODE>
281
	    <B>
282
	       <A HREF="#getAllLayers">getAllLayers</A></B>()
283
	 </CODE>
284
	 <BR>
285
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
286
	 Method to get a list of all layers in the context doc
287
 TBD: merge this with above, passing queryable as an optional boolean param?
288
      </TD>
289
   </TR>
290

    
291
   <TR BGCOLOR="white" CLASS="TableRowColor">
292
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
293
	 <FONT SIZE="-1">
294
	    <CODE>&nbsp;Object</CODE>
295
	 </FONT>
296
      </TD>
297
      <TD>
298
	 <CODE>
299
	    <B>
300
	       <A HREF="#getBoundingBox">getBoundingBox</A></B>()
301
	 </CODE>
302
	 <BR>
303
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
304
	 Get the BoundingBox value from the Context document.
305
      </TD>
306
   </TR>
307

    
308
   <TR BGCOLOR="white" CLASS="TableRowColor">
309
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
310
	 <FONT SIZE="-1">
311
	    <CODE>&nbsp;Object</CODE>
312
	 </FONT>
313
      </TD>
314
      <TD>
315
	 <CODE>
316
	    <B>
317
	       <A HREF="#getCurrentTimestamp">getCurrentTimestamp</A></B>( layerId )
318
	 </CODE>
319
	 <BR>
320
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
321
	 Returns the current timestamp value.
322
      </TD>
323
   </TR>
324

    
325
   <TR BGCOLOR="white" CLASS="TableRowColor">
326
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
327
	 <FONT SIZE="-1">
328
	    <CODE>&nbsp;Object</CODE>
329
	 </FONT>
330
      </TD>
331
      <TD>
332
	 <CODE>
333
	    <B>
334
	       <A HREF="#getExtension">getExtension</A></B>()
335
	 </CODE>
336
	 <BR>
337
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
338
	 Returns the contents of the extension element
339
      </TD>
340
   </TR>
341

    
342
   <TR BGCOLOR="white" CLASS="TableRowColor">
343
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
344
	 <FONT SIZE="-1">
345
	    <CODE>&nbsp;Object</CODE>
346
	 </FONT>
347
      </TD>
348
      <TD>
349
	 <CODE>
350
	    <B>
351
	       <A HREF="#getFeatureNode">getFeatureNode</A></B>(featureName)
352
	 </CODE>
353
	 <BR>
354
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
355
	 Returns the Layer node with the specified name from the list of nodes
356
 selected by the nodeSelectXpath from the capabilities doc.
357
      </TD>
358
   </TR>
359

    
360
   <TR BGCOLOR="white" CLASS="TableRowColor">
361
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
362
	 <FONT SIZE="-1">
363
	    <CODE>&nbsp;Object</CODE>
364
	 </FONT>
365
      </TD>
366
      <TD>
367
	 <CODE>
368
	    <B>
369
	       <A HREF="#getHidden">getHidden</A></B>(layerId)
370
	 </CODE>
371
	 <BR>
372
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
373
	 Get the layer's visiblity attribute value.
374
      </TD>
375
   </TR>
376

    
377
   <TR BGCOLOR="white" CLASS="TableRowColor">
378
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
379
	 <FONT SIZE="-1">
380
	    <CODE>&nbsp;Object</CODE>
381
	 </FONT>
382
      </TD>
383
      <TD>
384
	 <CODE>
385
	    <B>
386
	       <A HREF="#getLayer">getLayer</A></B>(layerId)
387
	 </CODE>
388
	 <BR>
389
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
390
	 Method to get a layer with the specified name in the context doc
391
      </TD>
392
   </TR>
393

    
394
   <TR BGCOLOR="white" CLASS="TableRowColor">
395
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
396
	 <FONT SIZE="-1">
397
	    <CODE>&nbsp;Object</CODE>
398
	 </FONT>
399
      </TD>
400
      <TD>
401
	 <CODE>
402
	    <B>
403
	       <A HREF="#getLayerIdByName">getLayerIdByName</A></B>(layerName)
404
	 </CODE>
405
	 <BR>
406
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
407
	 Method to get a layer id with the specified id/name in the context doc
408
      </TD>
409
   </TR>
410

    
411
   <TR BGCOLOR="white" CLASS="TableRowColor">
412
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
413
	 <FONT SIZE="-1">
414
	    <CODE>&nbsp;Object</CODE>
415
	 </FONT>
416
      </TD>
417
      <TD>
418
	 <CODE>
419
	    <B>
420
	       <A HREF="#getMethod">getMethod</A></B>(feature)
421
	 </CODE>
422
	 <BR>
423
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
424
	 Get HTTP method for the specified feature
425
      </TD>
426
   </TR>
427

    
428
   <TR BGCOLOR="white" CLASS="TableRowColor">
429
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
430
	 <FONT SIZE="-1">
431
	    <CODE>&nbsp;Object</CODE>
432
	 </FONT>
433
      </TD>
434
      <TD>
435
	 <CODE>
436
	    <B>
437
	       <A HREF="#getOpacity">getOpacity</A></B>(layerId)
438
	 </CODE>
439
	 <BR>
440
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
441
	 Get the layer's opacity attribute value.
442
      </TD>
443
   </TR>
444

    
445
   <TR BGCOLOR="white" CLASS="TableRowColor">
446
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
447
	 <FONT SIZE="-1">
448
	    <CODE>&nbsp;Object</CODE>
449
	 </FONT>
450
      </TD>
451
      <TD>
452
	 <CODE>
453
	    <B>
454
	       <A HREF="#getQueryableLayers">getQueryableLayers</A></B>()
455
	 </CODE>
456
	 <BR>
457
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
458
	 Method to get a list of queryable layers
459
      </TD>
460
   </TR>
461

    
462
   <TR BGCOLOR="white" CLASS="TableRowColor">
463
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
464
	 <FONT SIZE="-1">
465
	    <CODE>&nbsp;Object</CODE>
466
	 </FONT>
467
      </TD>
468
      <TD>
469
	 <CODE>
470
	    <B>
471
	       <A HREF="#getServerUrl">getServerUrl</A></B>(requestName, method, feature)
472
	 </CODE>
473
	 <BR>
474
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
475
	 Returns the serverUrl for the layer passed in as the feature argument.
476
      </TD>
477
   </TR>
478

    
479
   <TR BGCOLOR="white" CLASS="TableRowColor">
480
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
481
	 <FONT SIZE="-1">
482
	    <CODE>&nbsp;Object</CODE>
483
	 </FONT>
484
      </TD>
485
      <TD>
486
	 <CODE>
487
	    <B>
488
	       <A HREF="#getSRS">getSRS</A></B>()
489
	 </CODE>
490
	 <BR>
491
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
492
	 Get the Spatial Reference System from the context document.
493
      </TD>
494
   </TR>
495

    
496
   <TR BGCOLOR="white" CLASS="TableRowColor">
497
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
498
	 <FONT SIZE="-1">
499
	    <CODE>&nbsp;Object</CODE>
500
	 </FONT>
501
      </TD>
502
      <TD>
503
	 <CODE>
504
	    <B>
505
	       <A HREF="#getVersion">getVersion</A></B>(feature)
506
	 </CODE>
507
	 <BR>
508
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
509
	 Returns the WMS version for the layer passed in as the feature argument
510
      </TD>
511
   </TR>
512

    
513
   <TR BGCOLOR="white" CLASS="TableRowColor">
514
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
515
	 <FONT SIZE="-1">
516
	    <CODE>&nbsp;Object</CODE>
517
	 </FONT>
518
      </TD>
519
      <TD>
520
	 <CODE>
521
	    <B>
522
	       <A HREF="#getWindowHeight">getWindowHeight</A></B>()
523
	 </CODE>
524
	 <BR>
525
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
526
	 Get the Window height.
527
      </TD>
528
   </TR>
529

    
530
   <TR BGCOLOR="white" CLASS="TableRowColor">
531
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
532
	 <FONT SIZE="-1">
533
	    <CODE>&nbsp;Object</CODE>
534
	 </FONT>
535
      </TD>
536
      <TD>
537
	 <CODE>
538
	    <B>
539
	       <A HREF="#getWindowSize">getWindowSize</A></B>()
540
	 </CODE>
541
	 <BR>
542
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
543
	 Returns the width/height of the map window as an array
544
      </TD>
545
   </TR>
546

    
547
   <TR BGCOLOR="white" CLASS="TableRowColor">
548
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
549
	 <FONT SIZE="-1">
550
	    <CODE>&nbsp;Object</CODE>
551
	 </FONT>
552
      </TD>
553
      <TD>
554
	 <CODE>
555
	    <B>
556
	       <A HREF="#getWindowWidth">getWindowWidth</A></B>()
557
	 </CODE>
558
	 <BR>
559
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
560
	 Get the Window width.
561
      </TD>
562
   </TR>
563

    
564
   <TR BGCOLOR="white" CLASS="TableRowColor">
565
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
566
	 <FONT SIZE="-1">
567
	    <CODE>&nbsp;void</CODE>
568
	 </FONT>
569
      </TD>
570
      <TD>
571
	 <CODE>
572
	    <B>
573
	       <A HREF="#initAoi">initAoi</A></B>(objRef)
574
	 </CODE>
575
	 <BR>
576
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
577
	 Set the aoi param and call the refresh listeners
578
      </TD>
579
   </TR>
580

    
581
   <TR BGCOLOR="white" CLASS="TableRowColor">
582
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
583
	 <FONT SIZE="-1">
584
	    <CODE>&nbsp;void</CODE>
585
	 </FONT>
586
      </TD>
587
      <TD>
588
	 <CODE>
589
	    <B>
590
	       <A HREF="#initBbox">initBbox</A></B>(objRef)
591
	 </CODE>
592
	 <BR>
593
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
594
	 Set the BoundingBox element and call the refresh listeners
595
      </TD>
596
   </TR>
597

    
598
   <TR BGCOLOR="white" CLASS="TableRowColor">
599
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
600
	 <FONT SIZE="-1">
601
	    <CODE>&nbsp;Object</CODE>
602
	 </FONT>
603
      </TD>
604
      <TD>
605
	 <CODE>
606
	    <B>
607
	       <A HREF="#initProj">initProj</A></B>(objRef)
608
	 </CODE>
609
	 <BR>
610
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
611
	 Get the Projection object from the context document.
612
      </TD>
613
   </TR>
614

    
615
   <TR BGCOLOR="white" CLASS="TableRowColor">
616
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
617
	 <FONT SIZE="-1">
618
	    <CODE>&nbsp;void</CODE>
619
	 </FONT>
620
      </TD>
621
      <TD>
622
	 <CODE>
623
	    <B>
624
	       <A HREF="#initTimeExtent">initTimeExtent</A></B>( objRef )
625
	 </CODE>
626
	 <BR>
627
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
628
	 Parses a Dimension element from the Context document as a loadModel listener.
629
      </TD>
630
   </TR>
631

    
632
   <TR BGCOLOR="white" CLASS="TableRowColor">
633
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
634
	 <FONT SIZE="-1">
635
	    <CODE>&nbsp;void</CODE>
636
	 </FONT>
637
      </TD>
638
      <TD>
639
	 <CODE>
640
	    <B>
641
	       <A HREF="#moveLayerDown">moveLayerDown</A></B>(objRef, layerId)
642
	 </CODE>
643
	 <BR>
644
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
645
	 Method to move a Layer in the LayerList down
646
      </TD>
647
   </TR>
648

    
649
   <TR BGCOLOR="white" CLASS="TableRowColor">
650
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
651
	 <FONT SIZE="-1">
652
	    <CODE>&nbsp;void</CODE>
653
	 </FONT>
654
      </TD>
655
      <TD>
656
	 <CODE>
657
	    <B>
658
	       <A HREF="#moveLayerUp">moveLayerUp</A></B>(objRef, layerId)
659
	 </CODE>
660
	 <BR>
661
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
662
	 Method to move a Layer in the LayerList up
663
      </TD>
664
   </TR>
665

    
666
   <TR BGCOLOR="white" CLASS="TableRowColor">
667
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
668
	 <FONT SIZE="-1">
669
	    <CODE>&nbsp;void</CODE>
670
	 </FONT>
671
      </TD>
672
      <TD>
673
	 <CODE>
674
	    <B>
675
	       <A HREF="#setBoundingBox">setBoundingBox</A></B>(boundingBox)
676
	 </CODE>
677
	 <BR>
678
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
679
	 Set the BoundingBox element and call the refresh listeners
680
      </TD>
681
   </TR>
682

    
683
   <TR BGCOLOR="white" CLASS="TableRowColor">
684
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
685
	 <FONT SIZE="-1">
686
	    <CODE>&nbsp;Object</CODE>
687
	 </FONT>
688
      </TD>
689
      <TD>
690
	 <CODE>
691
	    <B>
692
	       <A HREF="#setExtension">setExtension</A></B>(extensionNode)
693
	 </CODE>
694
	 <BR>
695
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
696
	 Adds a node to the Context document extension element.
697
      </TD>
698
   </TR>
699

    
700
   <TR BGCOLOR="white" CLASS="TableRowColor">
701
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
702
	 <FONT SIZE="-1">
703
	    <CODE>&nbsp;void</CODE>
704
	 </FONT>
705
      </TD>
706
      <TD>
707
	 <CODE>
708
	    <B>
709
	       <A HREF="#setHidden">setHidden</A></B>(layerId, hidden)
710
	 </CODE>
711
	 <BR>
712
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
713
	 Change a Layer's visibility.
714
      </TD>
715
   </TR>
716

    
717
   <TR BGCOLOR="white" CLASS="TableRowColor">
718
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
719
	 <FONT SIZE="-1">
720
	    <CODE>&nbsp;void</CODE>
721
	 </FONT>
722
      </TD>
723
      <TD>
724
	 <CODE>
725
	    <B>
726
	       <A HREF="#setOpacity">setOpacity</A></B>(layerId, Opacity)
727
	 </CODE>
728
	 <BR>
729
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
730
	 Change a Layer's opacity
731
      </TD>
732
   </TR>
733

    
734
   <TR BGCOLOR="white" CLASS="TableRowColor">
735
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
736
	 <FONT SIZE="-1">
737
	    <CODE>&nbsp;void</CODE>
738
	 </FONT>
739
      </TD>
740
      <TD>
741
	 <CODE>
742
	    <B>
743
	       <A HREF="#setSRS">setSRS</A></B>(srs)
744
	 </CODE>
745
	 <BR>
746
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
747
	 Set the Spatial Reference System for the context document.
748
      </TD>
749
   </TR>
750

    
751
   <TR BGCOLOR="white" CLASS="TableRowColor">
752
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
753
	 <FONT SIZE="-1">
754
	    <CODE>&nbsp;void</CODE>
755
	 </FONT>
756
      </TD>
757
      <TD>
758
	 <CODE>
759
	    <B>
760
	       <A HREF="#setWindowHeight">setWindowHeight</A></B>(height)
761
	 </CODE>
762
	 <BR>
763
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
764
	 Set the Window height.
765
      </TD>
766
   </TR>
767

    
768
   <TR BGCOLOR="white" CLASS="TableRowColor">
769
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
770
	 <FONT SIZE="-1">
771
	    <CODE>&nbsp;void</CODE>
772
	 </FONT>
773
      </TD>
774
      <TD>
775
	 <CODE>
776
	    <B>
777
	       <A HREF="#setWindowSize">setWindowSize</A></B>(size)
778
	 </CODE>
779
	 <BR>
780
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
781
	 Set the Window width and height in one function call to avoid a resize event in between
782
 setting width and height, because that causes checkBbox to be triggered, which adjusts the
783
 bbox then when it should not yet be adjusted.
784
      </TD>
785
   </TR>
786

    
787
   <TR BGCOLOR="white" CLASS="TableRowColor">
788
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
789
	 <FONT SIZE="-1">
790
	    <CODE>&nbsp;void</CODE>
791
	 </FONT>
792
      </TD>
793
      <TD>
794
	 <CODE>
795
	    <B>
796
	       <A HREF="#setWindowWidth">setWindowWidth</A></B>(width)
797
	 </CODE>
798
	 <BR>
799
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
800
	 Set the Window width.
801
      </TD>
802
   </TR>
803

    
804

    
805
</TABLE>
806

    
807

    
808

    
809
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
810
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
811
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
812
<TD><B>Methods inherited from class <a href="ModelBase.html">ModelBase</a></B></TD>
813
</TR>
814
<TR BGCOLOR="white" CLASS="TableRowColor">
815
<TD><CODE>
816
<!-- Inherited methods -->
817
<a href="ModelBase.html#getProperty">getProperty</a>, <a href="ModelBase.html#getXpathValue">getXpathValue</a>, <a href="ModelBase.html#setXpathValue">setXpathValue</a>, <a href="ModelBase.html#loadModelDoc">loadModelDoc</a>, <a href="ModelBase.html#setModel">setModel</a>, <a href="ModelBase.html#finishLoading">finishLoading</a>, <a href="ModelBase.html#newRequest">newRequest</a>, <a href="ModelBase.html#deleteTemplates">deleteTemplates</a>, <a href="ModelBase.html#saveModel">saveModel</a>, <a href="ModelBase.html#createObject">createObject</a>, <a href="ModelBase.html#loadObjects">loadObjects</a>, <a href="ModelBase.html#parseConfig">parseConfig</a>, <a href="ModelBase.html#refresh">refresh</a>, <a href="ModelBase.html#init">init</a>, <a href="ModelBase.html#clearModel">clearModel</a>
818
</CODE></TD>
819
</TR>
820
</TABLE>
821
&nbsp;
822

    
823
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
824
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
825
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
826
<TD><B>Methods inherited from class <a href="Listener.html">Listener</a></B></TD>
827
</TR>
828
<TR BGCOLOR="white" CLASS="TableRowColor">
829
<TD><CODE>
830
<!-- Inherited methods -->
831
<a href="Listener.html#addListener">addListener</a>, <a href="Listener.html#addFirstListener">addFirstListener</a>, <a href="Listener.html#removeListener">removeListener</a>, <a href="Listener.html#callListeners">callListeners</a>, <a href="Listener.html#setParam">setParam</a>, <a href="Listener.html#getParam">getParam</a>
832
</CODE></TD>
833
</TR>
834
</TABLE>
835
&nbsp;
836

    
837
<P>
838
<!-- ========== END METHOD SUMMARY =========== -->
839

    
840

    
841
<!-- ============ FIELD DETAIL START =========== -->
842

    
843
   <A NAME="field_detail"><!-- --></A>
844
   <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
845
      <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
846
         <TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD>
847
      </TR>
848
   </TABLE>
849

    
850
   
851
   <A NAME="namespace"><!-- --></A>
852
   <H3>namespace</H3>
853
   <PRE>Object&nbsp;<B>namespace</B></PRE>
854
   <UL>
855
   
856
   
857
   </UL>
858
   <HR>
859
   
860

    
861

    
862
<!-- ============ FIELD DETAIL END =========== -->
863

    
864
    <!-- ========= CONSTRUCTOR DETAIL START ======== -->
865

    
866
<A NAME="constructor_detail"><!-- --></A>
867
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
868
   <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
869
      <TD COLSPAN=1>
870
      <FONT SIZE="+2"><B>Constructor Detail</B></FONT>
871
      </TD>
872
   </TR>
873
</TABLE>
874

    
875
<A NAME="Context()"><!-- --></A><H3>
876
Context</H3>
877
<PRE><B>Context</B>(modelNode, parent)</PRE>
878

    
879

    
880
<UL>
881
   Stores a Web Map Context (WMC) document as defined by the Open Geospatial Consortium
882
 (http://www.opengeospatial.org/) and extensions the the WMC.
883

    
884
 Listeners supported by this model:
885
 "refresh" called when window parameters (width/height, bbox) are changed
886
 "hidden" called when visibilty of a layer is changed
887
</UL>
888

    
889

    
890

    
891
   <UL>
892
   <B>Parameters:</B>
893
   
894
     <UL><CODE>modelNode</CODE> -  Pointer to the xml node for this model from the config file.  
895
     </UL>
896
   
897
     <UL><CODE>parent</CODE> -     The parent model for the object.
898
     </UL>
899
   
900
   
901
   </UL>
902

    
903

    
904
<!-- Constructor return value(s) -->
905

    
906
<!-- End constructor return value(s) -->
907

    
908
<!-- ADDITIONAL ATTRIBUTES -->
909

    
910
<UL>   
911
<B>Author:</B> Cameron Shorter  <BR/>
912
</UL>
913

    
914
<HR/>
915
<!-- END ADDITIONAL ATTRIBUTES  -->
916

    
917
<!-- ========= CONSTRUCTOR DETAIL END ======== -->
918

    
919

    
920
<!-- ============ METHOD DETAIL START ========== -->
921

    
922
<A NAME="method_detail"><!-- --></A>
923
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
924
   <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
925
      <TD COLSPAN=1><FONT SIZE="+2">
926
         <B>Method Detail</B></FONT>
927
      </TD>
928
   </TR>
929
</TABLE>
930

    
931
<!-- One single method detail entry -->
932

    
933
   <A NAME="addLayer"><!-- --></A>
934
   <H3>addLayer</H3>
935
   <PRE>void <B>addLayer</B>(objRef, layerNode)</PRE>
936
   
937
      <UL>Method to add a Layer to the LayerList</UL>
938
   
939

    
940
   <!-- METHOD PARAMETERS START -->
941
   
942
   <UL>
943
   <B>Parameters:</B>
944
   
945
     <UL><CODE>layerNode</CODE> -  the Layer node from another context doc or capabiltiies doc      
946
      </UL> 
947
   
948
   </UL>
949
   
950
   <!-- METHOD PARAMETERS END -->
951

    
952
   
953

    
954
   <!-- ADDITIONAL ATTRIBUTES START -->
955
   
956
   <!-- ADDITIONAL ATTRIBUTES  END -->
957
<HR>
958

    
959
   <A NAME="addSLD"><!-- --></A>
960
   <H3>addSLD</H3>
961
   <PRE>void <B>addSLD</B>(objRef,sldNode)</PRE>
962
   
963
      <UL>Method to add a Sld tag to the StyleList</UL>
964
   
965

    
966
   <!-- METHOD PARAMETERS START -->
967
   
968
   <UL>
969
   <B>Parameters:</B>
970
   
971
     <UL><CODE>layerName</CODE> -  the Layer name from another context doc or capabiltiies doc      
972
      </UL> 
973
   
974
   </UL>
975
   
976
   <!-- METHOD PARAMETERS END -->
977

    
978
   
979

    
980
   <!-- ADDITIONAL ATTRIBUTES START -->
981
   
982
   <!-- ADDITIONAL ATTRIBUTES  END -->
983
<HR>
984

    
985
   <A NAME="clearTimeExtent"><!-- --></A>
986
   <H3>clearTimeExtent</H3>
987
   <PRE>void <B>clearTimeExtent</B>( objRef )</PRE>
988
   
989
      <UL>clear the time extent created by initTimeExtent</UL>
990
   
991

    
992
   <!-- METHOD PARAMETERS START -->
993
   
994
   <UL>
995
   <B>Parameters:</B>
996
   
997
     <UL><CODE>objRef</CODE> -  reference to this model      
998
      </UL> 
999
   
1000
   </UL>
1001
   
1002
   <!-- METHOD PARAMETERS END -->
1003

    
1004
   
1005

    
1006
   <!-- ADDITIONAL ATTRIBUTES START -->
1007
   
1008
   <!-- ADDITIONAL ATTRIBUTES  END -->
1009
<HR>
1010

    
1011
   <A NAME="deleteLayer"><!-- --></A>
1012
   <H3>deleteLayer</H3>
1013
   <PRE>void <B>deleteLayer</B>(objRef, layerId)</PRE>
1014
   
1015
      <UL>Method to remove a Layer from the LayerList</UL>
1016
   
1017

    
1018
   <!-- METHOD PARAMETERS START -->
1019
   
1020
   <UL>
1021
   <B>Parameters:</B>
1022
   
1023
     <UL><CODE>layerId</CODE> -  the Layer to be deleted      
1024
      </UL> 
1025
   
1026
   </UL>
1027
   
1028
   <!-- METHOD PARAMETERS END -->
1029

    
1030
   
1031

    
1032
   <!-- ADDITIONAL ATTRIBUTES START -->
1033
   
1034
   <!-- ADDITIONAL ATTRIBUTES  END -->
1035
<HR>
1036

    
1037
   <A NAME="getAllLayers"><!-- --></A>
1038
   <H3>getAllLayers</H3>
1039
   <PRE>Object <B>getAllLayers</B>()</PRE>
1040
   
1041
      <UL>Method to get a list of all layers in the context doc
1042
 TBD: merge this with above, passing queryable as an optional boolean param?</UL>
1043
   
1044

    
1045
   <!-- METHOD PARAMETERS START -->
1046
   
1047
   <!-- METHOD PARAMETERS END -->
1048

    
1049
   
1050
   <UL>
1051
   <B>Returns:</B>
1052
        <UL>
1053
        the list with all layers 
1054
        </UL>
1055
   </UL>
1056
   
1057

    
1058
   <!-- ADDITIONAL ATTRIBUTES START -->
1059
   
1060
   <!-- ADDITIONAL ATTRIBUTES  END -->
1061
<HR>
1062

    
1063
   <A NAME="getBoundingBox"><!-- --></A>
1064
   <H3>getBoundingBox</H3>
1065
   <PRE>Object <B>getBoundingBox</B>()</PRE>
1066
   
1067
      <UL>Get the BoundingBox value from the Context document.</UL>
1068
   
1069

    
1070
   <!-- METHOD PARAMETERS START -->
1071
   
1072
   <!-- METHOD PARAMETERS END -->
1073

    
1074
   
1075
   <UL>
1076
   <B>Returns:</B>
1077
        <UL>
1078
        BoundingBox array with the sequence (xmin,ymin,xmax,ymax). 
1079
        </UL>
1080
   </UL>
1081
   
1082

    
1083
   <!-- ADDITIONAL ATTRIBUTES START -->
1084
   
1085
   <!-- ADDITIONAL ATTRIBUTES  END -->
1086
<HR>
1087

    
1088
   <A NAME="getCurrentTimestamp"><!-- --></A>
1089
   <H3>getCurrentTimestamp</H3>
1090
   <PRE>Object <B>getCurrentTimestamp</B>( layerId )</PRE>
1091
   
1092
      <UL>Returns the current timestamp value.</UL>
1093
   
1094

    
1095
   <!-- METHOD PARAMETERS START -->
1096
   
1097
   <UL>
1098
   <B>Parameters:</B>
1099
   
1100
     <UL><CODE>layerId</CODE> -  the name of the Layer from which the timestamp list was generated  
1101
      </UL> 
1102
   
1103
   </UL>
1104
   
1105
   <!-- METHOD PARAMETERS END -->
1106

    
1107
   
1108
   <UL>
1109
   <B>Returns:</B>
1110
        <UL>
1111
        the current timestamp value. 
1112
        </UL>
1113
   </UL>
1114
   
1115

    
1116
   <!-- ADDITIONAL ATTRIBUTES START -->
1117
   
1118
   <!-- ADDITIONAL ATTRIBUTES  END -->
1119
<HR>
1120

    
1121
   <A NAME="getExtension"><!-- --></A>
1122
   <H3>getExtension</H3>
1123
   <PRE>Object <B>getExtension</B>()</PRE>
1124
   
1125
      <UL>Returns the contents of the extension element</UL>
1126
   
1127

    
1128
   <!-- METHOD PARAMETERS START -->
1129
   
1130
   <!-- METHOD PARAMETERS END -->
1131

    
1132
   
1133
   <UL>
1134
   <B>Returns:</B>
1135
        <UL>
1136
        the contents of the extension element 
1137
        </UL>
1138
   </UL>
1139
   
1140

    
1141
   <!-- ADDITIONAL ATTRIBUTES START -->
1142
   
1143
   <!-- ADDITIONAL ATTRIBUTES  END -->
1144
<HR>
1145

    
1146
   <A NAME="getFeatureNode"><!-- --></A>
1147
   <H3>getFeatureNode</H3>
1148
   <PRE>Object <B>getFeatureNode</B>(featureName)</PRE>
1149
   
1150
      <UL>Returns the Layer node with the specified name from the list of nodes
1151
 selected by the nodeSelectXpath from the capabilities doc.</UL>
1152
   
1153

    
1154
   <!-- METHOD PARAMETERS START -->
1155
   
1156
   <UL>
1157
   <B>Parameters:</B>
1158
   
1159
     <UL><CODE>featureName</CODE> -  name of the featureType to look up  
1160
      </UL> 
1161
   
1162
   </UL>
1163
   
1164
   <!-- METHOD PARAMETERS END -->
1165

    
1166
   
1167
   <UL>
1168
   <B>Returns:</B>
1169
        <UL>
1170
        the Layer node with the specified name. 
1171
        </UL>
1172
   </UL>
1173
   
1174

    
1175
   <!-- ADDITIONAL ATTRIBUTES START -->
1176
   
1177
   <!-- ADDITIONAL ATTRIBUTES  END -->
1178
<HR>
1179

    
1180
   <A NAME="getHidden"><!-- --></A>
1181
   <H3>getHidden</H3>
1182
   <PRE>Object <B>getHidden</B>(layerId)</PRE>
1183
   
1184
      <UL>Get the layer's visiblity attribute value.</UL>
1185
   
1186

    
1187
   <!-- METHOD PARAMETERS START -->
1188
   
1189
   <UL>
1190
   <B>Parameters:</B>
1191
   
1192
     <UL><CODE>layerId</CODE> -   The name of the layer that is to be changed  
1193
      </UL> 
1194
   
1195
   </UL>
1196
   
1197
   <!-- METHOD PARAMETERS END -->
1198

    
1199
   
1200
   <UL>
1201
   <B>Returns:</B>
1202
        <UL>
1203
        hidden  String with the value; 1=hidden, 0=visible. 
1204
        </UL>
1205
   </UL>
1206
   
1207

    
1208
   <!-- ADDITIONAL ATTRIBUTES START -->
1209
   
1210
   <!-- ADDITIONAL ATTRIBUTES  END -->
1211
<HR>
1212

    
1213
   <A NAME="getLayer"><!-- --></A>
1214
   <H3>getLayer</H3>
1215
   <PRE>Object <B>getLayer</B>(layerId)</PRE>
1216
   
1217
      <UL>Method to get a layer with the specified name in the context doc</UL>
1218
   
1219

    
1220
   <!-- METHOD PARAMETERS START -->
1221
   
1222
   <UL>
1223
   <B>Parameters:</B>
1224
   
1225
     <UL><CODE>layerId</CODE> -  the id of the layer to be returned  
1226
      </UL> 
1227
   
1228
   </UL>
1229
   
1230
   <!-- METHOD PARAMETERS END -->
1231

    
1232
   
1233
   <UL>
1234
   <B>Returns:</B>
1235
        <UL>
1236
        the list with all layers 
1237
        </UL>
1238
   </UL>
1239
   
1240

    
1241
   <!-- ADDITIONAL ATTRIBUTES START -->
1242
   
1243
   <!-- ADDITIONAL ATTRIBUTES  END -->
1244
<HR>
1245

    
1246
   <A NAME="getLayerIdByName"><!-- --></A>
1247
   <H3>getLayerIdByName</H3>
1248
   <PRE>Object <B>getLayerIdByName</B>(layerName)</PRE>
1249
   
1250
      <UL>Method to get a layer id with the specified id/name in the context doc</UL>
1251
   
1252

    
1253
   <!-- METHOD PARAMETERS START -->
1254
   
1255
   <UL>
1256
   <B>Parameters:</B>
1257
   
1258
     <UL><CODE>layerName</CODE> -  the name of the layer of which the id is to be returned  
1259
      </UL> 
1260
   
1261
   </UL>
1262
   
1263
   <!-- METHOD PARAMETERS END -->
1264

    
1265
   
1266
   <UL>
1267
   <B>Returns:</B>
1268
        <UL>
1269
        the id of the layer || false 
1270
        </UL>
1271
   </UL>
1272
   
1273

    
1274
   <!-- ADDITIONAL ATTRIBUTES START -->
1275
   
1276
   <!-- ADDITIONAL ATTRIBUTES  END -->
1277
<HR>
1278

    
1279
   <A NAME="getMethod"><!-- --></A>
1280
   <H3>getMethod</H3>
1281
   <PRE>Object <B>getMethod</B>(feature)</PRE>
1282
   
1283
      <UL>Get HTTP method for the specified feature</UL>
1284
   
1285

    
1286
   <!-- METHOD PARAMETERS START -->
1287
   
1288
   <UL>
1289
   <B>Parameters:</B>
1290
   
1291
     <UL><CODE>feature</CODE> -  the Layer node from the context doc  
1292
      </UL> 
1293
   
1294
   </UL>
1295
   
1296
   <!-- METHOD PARAMETERS END -->
1297

    
1298
   
1299
   <UL>
1300
   <B>Returns:</B>
1301
        <UL>
1302
        the HTTP method to get the feature with 
1303
        </UL>
1304
   </UL>
1305
   
1306

    
1307
   <!-- ADDITIONAL ATTRIBUTES START -->
1308
   
1309
   <!-- ADDITIONAL ATTRIBUTES  END -->
1310
<HR>
1311

    
1312
   <A NAME="getOpacity"><!-- --></A>
1313
   <H3>getOpacity</H3>
1314
   <PRE>Object <B>getOpacity</B>(layerId)</PRE>
1315
   
1316
      <UL>Get the layer's opacity attribute value.</UL>
1317
   
1318

    
1319
   <!-- METHOD PARAMETERS START -->
1320
   
1321
   <UL>
1322
   <B>Parameters:</B>
1323
   
1324
     <UL><CODE>layerId</CODE> -   The name of the layer that is to be changed  
1325
      </UL> 
1326
   
1327
   </UL>
1328
   
1329
   <!-- METHOD PARAMETERS END -->
1330

    
1331
   
1332
   <UL>
1333
   <B>Returns:</B>
1334
        <UL>
1335
        hidden  String with the value; 1=hidden, 0=visible. 
1336
        </UL>
1337
   </UL>
1338
   
1339

    
1340
   <!-- ADDITIONAL ATTRIBUTES START -->
1341
   
1342
   <!-- ADDITIONAL ATTRIBUTES  END -->
1343
<HR>
1344

    
1345
   <A NAME="getQueryableLayers"><!-- --></A>
1346
   <H3>getQueryableLayers</H3>
1347
   <PRE>Object <B>getQueryableLayers</B>()</PRE>
1348
   
1349
      <UL>Method to get a list of queryable layers</UL>
1350
   
1351

    
1352
   <!-- METHOD PARAMETERS START -->
1353
   
1354
   <!-- METHOD PARAMETERS END -->
1355

    
1356
   
1357
   <UL>
1358
   <B>Returns:</B>
1359
        <UL>
1360
        the list with queryable layers 
1361
        </UL>
1362
   </UL>
1363
   
1364

    
1365
   <!-- ADDITIONAL ATTRIBUTES START -->
1366
   
1367
   <!-- ADDITIONAL ATTRIBUTES  END -->
1368
<HR>
1369

    
1370
   <A NAME="getServerUrl"><!-- --></A>
1371
   <H3>getServerUrl</H3>
1372
   <PRE>Object <B>getServerUrl</B>(requestName, method, feature)</PRE>
1373
   
1374
      <UL>Returns the serverUrl for the layer passed in as the feature argument.</UL>
1375
   
1376

    
1377
   <!-- METHOD PARAMETERS START -->
1378
   
1379
   <UL>
1380
   <B>Parameters:</B>
1381
   
1382
     <UL><CODE>requestName</CODE> -  ignored for context docs (only GetMap supported)  
1383
      </UL> 
1384
   
1385
     <UL><CODE>method</CODE> -  ignored for context docs (only GET supported)  
1386
      </UL> 
1387
   
1388
     <UL><CODE>feature</CODE> -  the Layer node from the context doc  
1389
      </UL> 
1390
   
1391
   </UL>
1392
   
1393
   <!-- METHOD PARAMETERS END -->
1394

    
1395
   
1396
   <UL>
1397
   <B>Returns:</B>
1398
        <UL>
1399
        URL for the GetMap request 
1400
        </UL>
1401
   </UL>
1402
   
1403

    
1404
   <!-- ADDITIONAL ATTRIBUTES START -->
1405
   
1406
   <!-- ADDITIONAL ATTRIBUTES  END -->
1407
<HR>
1408

    
1409
   <A NAME="getSRS"><!-- --></A>
1410
   <H3>getSRS</H3>
1411
   <PRE>Object <B>getSRS</B>()</PRE>
1412
   
1413
      <UL>Get the Spatial Reference System from the context document.</UL>
1414
   
1415

    
1416
   <!-- METHOD PARAMETERS START -->
1417
   
1418
   <!-- METHOD PARAMETERS END -->
1419

    
1420
   
1421
   <UL>
1422
   <B>Returns:</B>
1423
        <UL>
1424
        srs The Spatial Reference System. 
1425
        </UL>
1426
   </UL>
1427
   
1428

    
1429
   <!-- ADDITIONAL ATTRIBUTES START -->
1430
   
1431
   <!-- ADDITIONAL ATTRIBUTES  END -->
1432
<HR>
1433

    
1434
   <A NAME="getVersion"><!-- --></A>
1435
   <H3>getVersion</H3>
1436
   <PRE>Object <B>getVersion</B>(feature)</PRE>
1437
   
1438
      <UL>Returns the WMS version for the layer passed in as the feature argument</UL>
1439
   
1440

    
1441
   <!-- METHOD PARAMETERS START -->
1442
   
1443
   <UL>
1444
   <B>Parameters:</B>
1445
   
1446
     <UL><CODE>feature</CODE> -  the Layer node from the context doc  
1447
      </UL> 
1448
   
1449
   </UL>
1450
   
1451
   <!-- METHOD PARAMETERS END -->
1452

    
1453
   
1454
   <UL>
1455
   <B>Returns:</B>
1456
        <UL>
1457
        the WMS GetMap version for the Layer. 
1458
        </UL>
1459
   </UL>
1460
   
1461

    
1462
   <!-- ADDITIONAL ATTRIBUTES START -->
1463
   
1464
   <!-- ADDITIONAL ATTRIBUTES  END -->
1465
<HR>
1466

    
1467
   <A NAME="getWindowHeight"><!-- --></A>
1468
   <H3>getWindowHeight</H3>
1469
   <PRE>Object <B>getWindowHeight</B>()</PRE>
1470
   
1471
      <UL>Get the Window height.</UL>
1472
   
1473

    
1474
   <!-- METHOD PARAMETERS START -->
1475
   
1476
   <!-- METHOD PARAMETERS END -->
1477

    
1478
   
1479
   <UL>
1480
   <B>Returns:</B>
1481
        <UL>
1482
        height The height of map window from the context document. 
1483
        </UL>
1484
   </UL>
1485
   
1486

    
1487
   <!-- ADDITIONAL ATTRIBUTES START -->
1488
   
1489
   <!-- ADDITIONAL ATTRIBUTES  END -->
1490
<HR>
1491

    
1492
   <A NAME="getWindowSize"><!-- --></A>
1493
   <H3>getWindowSize</H3>
1494
   <PRE>Object <B>getWindowSize</B>()</PRE>
1495
   
1496
      <UL>Returns the width/height of the map window as an array</UL>
1497
   
1498

    
1499
   <!-- METHOD PARAMETERS START -->
1500
   
1501
   <!-- METHOD PARAMETERS END -->
1502

    
1503
   
1504

    
1505
   <!-- ADDITIONAL ATTRIBUTES START -->
1506
   
1507
   <!-- ADDITIONAL ATTRIBUTES  END -->
1508
<HR>
1509

    
1510
   <A NAME="getWindowWidth"><!-- --></A>
1511
   <H3>getWindowWidth</H3>
1512
   <PRE>Object <B>getWindowWidth</B>()</PRE>
1513
   
1514
      <UL>Get the Window width.</UL>
1515
   
1516

    
1517
   <!-- METHOD PARAMETERS START -->
1518
   
1519
   <!-- METHOD PARAMETERS END -->
1520

    
1521
   
1522
   <UL>
1523
   <B>Returns:</B>
1524
        <UL>
1525
        width The width of map window from the context document 
1526
        </UL>
1527
   </UL>
1528
   
1529

    
1530
   <!-- ADDITIONAL ATTRIBUTES START -->
1531
   
1532
   <!-- ADDITIONAL ATTRIBUTES  END -->
1533
<HR>
1534

    
1535
   <A NAME="initAoi"><!-- --></A>
1536
   <H3>initAoi</H3>
1537
   <PRE>void <B>initAoi</B>(objRef)</PRE>
1538
   
1539
      <UL>Set the aoi param and call the refresh listeners</UL>
1540
   
1541

    
1542
   <!-- METHOD PARAMETERS START -->
1543
   
1544
   <UL>
1545
   <B>Parameters:</B>
1546
   
1547
     <UL><CODE>boundingBox</CODE> -  array in the sequence (xmin, ymin, xmax, ymax).      
1548
      </UL> 
1549
   
1550
   </UL>
1551
   
1552
   <!-- METHOD PARAMETERS END -->
1553

    
1554
   
1555

    
1556
   <!-- ADDITIONAL ATTRIBUTES START -->
1557
   
1558
   <!-- ADDITIONAL ATTRIBUTES  END -->
1559
<HR>
1560

    
1561
   <A NAME="initBbox"><!-- --></A>
1562
   <H3>initBbox</H3>
1563
   <PRE>void <B>initBbox</B>(objRef)</PRE>
1564
   
1565
      <UL>Set the BoundingBox element and call the refresh listeners</UL>
1566
   
1567

    
1568
   <!-- METHOD PARAMETERS START -->
1569
   
1570
   <UL>
1571
   <B>Parameters:</B>
1572
   
1573
     <UL><CODE>boundingBox</CODE> -  array in the sequence (xmin, ymin, xmax, ymax).      
1574
      </UL> 
1575
   
1576
   </UL>
1577
   
1578
   <!-- METHOD PARAMETERS END -->
1579

    
1580
   
1581

    
1582
   <!-- ADDITIONAL ATTRIBUTES START -->
1583
   
1584
   <!-- ADDITIONAL ATTRIBUTES  END -->
1585
<HR>
1586

    
1587
   <A NAME="initProj"><!-- --></A>
1588
   <H3>initProj</H3>
1589
   <PRE>Object <B>initProj</B>(objRef)</PRE>
1590
   
1591
      <UL>Get the Projection object from the context document.</UL>
1592
   
1593

    
1594
   <!-- METHOD PARAMETERS START -->
1595
   
1596
   <!-- METHOD PARAMETERS END -->
1597

    
1598
   
1599
   <UL>
1600
   <B>Returns:</B>
1601
        <UL>
1602
        Proj Object of  The Spatial Reference System. 
1603
        </UL>
1604
   </UL>
1605
   
1606

    
1607
   <!-- ADDITIONAL ATTRIBUTES START -->
1608
   
1609
   <!-- ADDITIONAL ATTRIBUTES  END -->
1610
<HR>
1611

    
1612
   <A NAME="initTimeExtent"><!-- --></A>
1613
   <H3>initTimeExtent</H3>
1614
   <PRE>void <B>initTimeExtent</B>( objRef )</PRE>
1615
   
1616
      <UL>Parses a Dimension element from the Context document as a loadModel listener.
1617
 This results in an XML structure with one element for each GetMap time value
1618
 parameter and added to the Context extrension element.</UL>
1619
   
1620

    
1621
   <!-- METHOD PARAMETERS START -->
1622
   
1623
   <UL>
1624
   <B>Parameters:</B>
1625
   
1626
     <UL><CODE>objRef</CODE> -  a pointer to this object      
1627
      </UL> 
1628
   
1629
   </UL>
1630
   
1631
   <!-- METHOD PARAMETERS END -->
1632

    
1633
   
1634

    
1635
   <!-- ADDITIONAL ATTRIBUTES START -->
1636
   
1637
   <!-- ADDITIONAL ATTRIBUTES  END -->
1638
<HR>
1639

    
1640
   <A NAME="moveLayerDown"><!-- --></A>
1641
   <H3>moveLayerDown</H3>
1642
   <PRE>void <B>moveLayerDown</B>(objRef, layerId)</PRE>
1643
   
1644
      <UL>Method to move a Layer in the LayerList down</UL>
1645
   
1646

    
1647
   <!-- METHOD PARAMETERS START -->
1648
   
1649
   <UL>
1650
   <B>Parameters:</B>
1651
   
1652
     <UL><CODE>layerId</CODE> -  the layer to be moved      
1653
      </UL> 
1654
   
1655
   </UL>
1656
   
1657
   <!-- METHOD PARAMETERS END -->
1658

    
1659
   
1660

    
1661
   <!-- ADDITIONAL ATTRIBUTES START -->
1662
   
1663
   <!-- ADDITIONAL ATTRIBUTES  END -->
1664
<HR>
1665

    
1666
   <A NAME="moveLayerUp"><!-- --></A>
1667
   <H3>moveLayerUp</H3>
1668
   <PRE>void <B>moveLayerUp</B>(objRef, layerId)</PRE>
1669
   
1670
      <UL>Method to move a Layer in the LayerList up</UL>
1671
   
1672

    
1673
   <!-- METHOD PARAMETERS START -->
1674
   
1675
   <UL>
1676
   <B>Parameters:</B>
1677
   
1678
     <UL><CODE>layerId</CODE> -  the layer to be moved      
1679
      </UL> 
1680
   
1681
   </UL>
1682
   
1683
   <!-- METHOD PARAMETERS END -->
1684

    
1685
   
1686

    
1687
   <!-- ADDITIONAL ATTRIBUTES START -->
1688
   
1689
   <!-- ADDITIONAL ATTRIBUTES  END -->
1690
<HR>
1691

    
1692
   <A NAME="setBoundingBox"><!-- --></A>
1693
   <H3>setBoundingBox</H3>
1694
   <PRE>void <B>setBoundingBox</B>(boundingBox)</PRE>
1695
   
1696
      <UL>Set the BoundingBox element and call the refresh listeners</UL>
1697
   
1698

    
1699
   <!-- METHOD PARAMETERS START -->
1700
   
1701
   <UL>
1702
   <B>Parameters:</B>
1703
   
1704
     <UL><CODE>boundingBox</CODE> -  array in the sequence (xmin, ymin, xmax, ymax).      
1705
      </UL> 
1706
   
1707
   </UL>
1708
   
1709
   <!-- METHOD PARAMETERS END -->
1710

    
1711
   
1712

    
1713
   <!-- ADDITIONAL ATTRIBUTES START -->
1714
   
1715
   <!-- ADDITIONAL ATTRIBUTES  END -->
1716
<HR>
1717

    
1718
   <A NAME="setExtension"><!-- --></A>
1719
   <H3>setExtension</H3>
1720
   <PRE>Object <B>setExtension</B>(extensionNode)</PRE>
1721
   
1722
      <UL>Adds a node to the Context document extension element.  The extension element
1723
 will be created if it doesn't already exist.</UL>
1724
   
1725

    
1726
   <!-- METHOD PARAMETERS START -->
1727
   
1728
   <UL>
1729
   <B>Parameters:</B>
1730
   
1731
     <UL><CODE>extensionNode</CODE> -  the node to be appended in the extension element.  
1732
      </UL> 
1733
   
1734
   </UL>
1735
   
1736
   <!-- METHOD PARAMETERS END -->
1737

    
1738
   
1739
   <UL>
1740
   <B>Returns:</B>
1741
        <UL>
1742
        the ndoe added to the extension element 
1743
        </UL>
1744
   </UL>
1745
   
1746

    
1747
   <!-- ADDITIONAL ATTRIBUTES START -->
1748
   
1749
   <!-- ADDITIONAL ATTRIBUTES  END -->
1750
<HR>
1751

    
1752
   <A NAME="setHidden"><!-- --></A>
1753
   <H3>setHidden</H3>
1754
   <PRE>void <B>setHidden</B>(layerId, hidden)</PRE>
1755
   
1756
      <UL>Change a Layer's visibility.</UL>
1757
   
1758

    
1759
   <!-- METHOD PARAMETERS START -->
1760
   
1761
   <UL>
1762
   <B>Parameters:</B>
1763
   
1764
     <UL><CODE>layerId</CODE> -   The name of the layer that is to be changed  
1765
      </UL> 
1766
   
1767
     <UL><CODE>hidden</CODE> -      String with the value to be set; 1=hidden, 0=visible.      
1768
      </UL> 
1769
   
1770
   </UL>
1771
   
1772
   <!-- METHOD PARAMETERS END -->
1773

    
1774
   
1775

    
1776
   <!-- ADDITIONAL ATTRIBUTES START -->
1777
   
1778
   <!-- ADDITIONAL ATTRIBUTES  END -->
1779
<HR>
1780

    
1781
   <A NAME="setOpacity"><!-- --></A>
1782
   <H3>setOpacity</H3>
1783
   <PRE>void <B>setOpacity</B>(layerId, Opacity)</PRE>
1784
   
1785
      <UL>Change a Layer's opacity</UL>
1786
   
1787

    
1788
   <!-- METHOD PARAMETERS START -->
1789
   
1790
   <UL>
1791
   <B>Parameters:</B>
1792
   
1793
     <UL><CODE>layerId</CODE> -   The name of the layer that is to be changed  
1794
      </UL> 
1795
   
1796
     <UL><CODE>Opacity</CODE> -      Value of the opacity      
1797
      </UL> 
1798
   
1799
   </UL>
1800
   
1801
   <!-- METHOD PARAMETERS END -->
1802

    
1803
   
1804

    
1805
   <!-- ADDITIONAL ATTRIBUTES START -->
1806
   
1807
   <!-- ADDITIONAL ATTRIBUTES  END -->
1808
<HR>
1809

    
1810
   <A NAME="setSRS"><!-- --></A>
1811
   <H3>setSRS</H3>
1812
   <PRE>void <B>setSRS</B>(srs)</PRE>
1813
   
1814
      <UL>Set the Spatial Reference System for the context document.</UL>
1815
   
1816

    
1817
   <!-- METHOD PARAMETERS START -->
1818
   
1819
   <UL>
1820
   <B>Parameters:</B>
1821
   
1822
     <UL><CODE>srs</CODE> -  The Spatial Reference System.      
1823
      </UL> 
1824
   
1825
   </UL>
1826
   
1827
   <!-- METHOD PARAMETERS END -->
1828

    
1829
   
1830

    
1831
   <!-- ADDITIONAL ATTRIBUTES START -->
1832
   
1833
   <!-- ADDITIONAL ATTRIBUTES  END -->
1834
<HR>
1835

    
1836
   <A NAME="setWindowHeight"><!-- --></A>
1837
   <H3>setWindowHeight</H3>
1838
   <PRE>void <B>setWindowHeight</B>(height)</PRE>
1839
   
1840
      <UL>Set the Window height.</UL>
1841
   
1842

    
1843
   <!-- METHOD PARAMETERS START -->
1844
   
1845
   <UL>
1846
   <B>Parameters:</B>
1847
   
1848
     <UL><CODE>height</CODE> -  The height of map window to set in the context document      
1849
      </UL> 
1850
   
1851
   </UL>
1852
   
1853
   <!-- METHOD PARAMETERS END -->
1854

    
1855
   
1856

    
1857
   <!-- ADDITIONAL ATTRIBUTES START -->
1858
   
1859
   <!-- ADDITIONAL ATTRIBUTES  END -->
1860
<HR>
1861

    
1862
   <A NAME="setWindowSize"><!-- --></A>
1863
   <H3>setWindowSize</H3>
1864
   <PRE>void <B>setWindowSize</B>(size)</PRE>
1865
   
1866
      <UL>Set the Window width and height in one function call to avoid a resize event in between
1867
 setting width and height, because that causes checkBbox to be triggered, which adjusts the
1868
 bbox then when it should not yet be adjusted.
1869
 Added by VTS for dynamic map window resizing (AutoResize tool)</UL>
1870
   
1871

    
1872
   <!-- METHOD PARAMETERS START -->
1873
   
1874
   <UL>
1875
   <B>Parameters:</B>
1876
   
1877
     <UL><CODE>size</CODE> -  Size of the map window as (width, height) array      
1878
      </UL> 
1879
   
1880
   </UL>
1881
   
1882
   <!-- METHOD PARAMETERS END -->
1883

    
1884
   
1885

    
1886
   <!-- ADDITIONAL ATTRIBUTES START -->
1887
   
1888
   <!-- ADDITIONAL ATTRIBUTES  END -->
1889
<HR>
1890

    
1891
   <A NAME="setWindowWidth"><!-- --></A>
1892
   <H3>setWindowWidth</H3>
1893
   <PRE>void <B>setWindowWidth</B>(width)</PRE>
1894
   
1895
      <UL>Set the Window width.</UL>
1896
   
1897

    
1898
   <!-- METHOD PARAMETERS START -->
1899
   
1900
   <UL>
1901
   <B>Parameters:</B>
1902
   
1903
     <UL><CODE>width</CODE> -  The width of map window to set in the context document      
1904
      </UL> 
1905
   
1906
   </UL>
1907
   
1908
   <!-- METHOD PARAMETERS END -->
1909

    
1910
   
1911

    
1912
   <!-- ADDITIONAL ATTRIBUTES START -->
1913
   
1914
   <!-- ADDITIONAL ATTRIBUTES  END -->
1915
<HR>
1916

    
1917

    
1918

    
1919
<!-- ============ METHOD DETAIL END ========== -->
1920

    
1921
<!-- ========= END OF CLASS DATA ========= -->
1922

    
1923
<!-- ========== START OF NAVBAR ========== -->
1924
<A NAME="navbar_bottom"><!-- --></A>
1925
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
1926
<TR>
1927
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
1928
<A NAME="navbar_bottom_firstrow"><!-- --></A>
1929
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
1930
  <TR ALIGN="center" VALIGN="top">
1931
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
1932
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <A HREF="overview-summary-Context.js.html"><FONT CLASS="NavBarFont1"><B>File</B></FONT></A>&nbsp;</TD>
1933
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
1934
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><b>Tree</b></FONT></A>&nbsp;</TD>
1935
  <!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"-->    <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</FONT--><!--/A--><!--&nbsp;</TD-->
1936
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
1937
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
1938
  </TR>
1939
</TABLE>
1940
</TD>
1941
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
1942
<B><a href='http://mapbuilder.sourceforge.net'>Community Map Builder</a> 27 Apr 2008</B>
1943
</EM>
1944
</TD
1945
</TR>
1946

    
1947
<TR>
1948
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1949
&nbsp;<A HREF="Config.html"><B>PREV CLASS</B></A><!-- 
1950
   NEXT CLASS 
1951
-->
1952
&nbsp;<A HREF="CursorTrack.html"><B>NEXT CLASS</B></A></FONT></TD>
1953
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1954
  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
1955
&nbsp;<A HREF="Context.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
1956
&nbsp;
1957
<SCRIPT>
1958
  <!--
1959
  if(window==top) {
1960
    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
1961
  }
1962
  //-->
1963
</SCRIPT>
1964
<NOSCRIPT>
1965
<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
1966
</NOSCRIPT>
1967
</FONT></TD>
1968
</TR>
1969
<TR>
1970
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1971
  SUMMARY:&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
1972
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1973
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
1974
</TR>
1975
</TABLE>
1976

    
1977
<!-- =========== END OF NAVBAR =========== -->
1978

    
1979
<HR>
1980
<FONT SIZE="-1">
1981

    
1982
</FONT>
1983
<div class="jsdoc_ctime">Documentation generated by <a href="http://jsdoc.sourceforge.net/" target="_parent">JSDoc</a> on Sun Apr 27 20:30:54 2008</div>
1984
</BODY>
1985
</HTML>
(10-10/316)