Project

General

Profile

1 4307 leinfelder
<!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
EditContext
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="EditContext";
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-EditContext.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="EditButtonBase.html"><B>PREV CLASS</B></A><!--
45
   NEXT CLASS
46
-->
47
&nbsp;<A HREF="EditLine.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="EditContext.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 EditContext</H2>
76
<PRE>Object
77
   |
78
   +--<a href='ToolBase.html'>ToolBase</a>
79
         |
80
         +--<b>EditContext</b>
81
</PRE>
82
83
84
<HR>
85
<DL>
86
   <!-- Class definition -->
87
   <DT>class
88
   <B>EditContext</B>
89
90
      <DT>extends <a href='ToolBase.html'>ToolBase</a>
91
92
93
</DL>
94
95
   <P>
96
   <I>Defined in <a href='overview-summary-EditContext.js.html'>EditContext.js</a></I><BR/><BR/>
97
   </P>
98
99
   <HR>
100
101
<!-- ======== NESTED CLASS SUMMARY ======== -->
102
103
<!-- ======== END NESTED CLASS SUMMARY ======== -->
104
105
106
<!-- =========== FIELD SUMMARY =========== -->
107
108
   <A NAME="field_summary"><!-- --></A>
109
      <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
110
         <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
111
            <TD COLSPAN=2><FONT SIZE="+2">
112
               <B>Field Summary</B></FONT></TD>
113
         </TR>
114
115
   <!-- This is one instance field summary -->
116
117
   <TR BGCOLOR="white" CLASS="TableRowColor">
118
   <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
119
   <CODE>&nbsp;Object</CODE></FONT></TD>
120
   <TD><CODE><B><A HREF="#stylesheet">stylesheet</A></B></CODE>
121
   <BR>
122
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
123
   </TR>
124
125
126
   </TABLE>
127
   &nbsp;
128
129
130
131
132
   &nbsp;<A NAME=""><!-- --></A>
133
   <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
134
   <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
135
   <TD><B>Fields inherited from class <A HREF="ToolBase.html">ToolBase</A></B></TD>
136
   </TR>
137
   <TR BGCOLOR="white" CLASS="TableRowColor">
138
   <TD><CODE>
139
   <a href="ToolBase.html#model">model</a>, <a href="ToolBase.html#toolNode">toolNode</a>, <a href="ToolBase.html#enabled">enabled</a>
140
   </CODE></TD>
141
   </TR>
142
</TABLE>
143
&nbsp;
144
145
146
147
<!-- =========== END FIELD SUMMARY =========== -->
148
149
150
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
151
152
<A NAME="constructor_summary"><!-- --></A>
153
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
154
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
155
<TD COLSPAN=2><FONT SIZE="+2">
156
<B>Constructor Summary</B></FONT></TD>
157
</TR>
158
<TR BGCOLOR="white" CLASS="TableRowColor">
159
   <TD>
160
      <CODE>
161
	 <B>
162
	    <A HREF="EditContext.html#EditContext()">EditContext</A>
163
	 </B>
164
	 (toolNode, model)
165
      </CODE>
166
      <BR>
167
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
168
      Tool which manipulates the Layer list of a Web Map Context document.
169
      </TD>
170
</TR>
171
</TABLE>
172
173
<!-- ======== END CONSTRUCTOR SUMMARY ======== -->
174
175
&nbsp;
176
177
<!-- ========== METHOD SUMMARY =========== -->
178
179
<A NAME="method_summary"><!-- --></A>
180
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
181
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
182
<TD COLSPAN=2><FONT SIZE="+2">
183
<B>Method Summary</B></FONT></TD>
184
</TR>
185
186
187
   <TR BGCOLOR="white" CLASS="TableRowColor">
188
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
189
	 <FONT SIZE="-1">
190
	    <CODE>&nbsp;void</CODE>
191
	 </FONT>
192
      </TD>
193
      <TD>
194
	 <CODE>
195
	    <B>
196
	       <A HREF="#addLayerFromCat">addLayerFromCat</A></B>(featureName)
197
	 </CODE>
198
	 <BR>
199
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
200
	 Adds a new layer to the end of the context document
201
      </TD>
202
   </TR>
203
204
   <TR BGCOLOR="white" CLASS="TableRowColor">
205
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
206
	 <FONT SIZE="-1">
207
	    <CODE>&nbsp;void</CODE>
208
	 </FONT>
209
      </TD>
210
      <TD>
211
	 <CODE>
212
	    <B>
213
	       <A HREF="#addNodeToModel">addNodeToModel</A></B>(featureName)
214
	 </CODE>
215
	 <BR>
216
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
217
	 Adds a new layer to the end of the context document
218
      </TD>
219
   </TR>
220
221
   <TR BGCOLOR="white" CLASS="TableRowColor">
222
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
223
	 <FONT SIZE="-1">
224
	    <CODE>&nbsp;void</CODE>
225
	 </FONT>
226
      </TD>
227
      <TD>
228
	 <CODE>
229
	    <B>
230
	       <A HREF="#deleteNode">deleteNode</A></B>(objRef, featureName)
231
	 </CODE>
232
	 <BR>
233
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
234
	 Deletes layers from a context doc
235
      </TD>
236
   </TR>
237
238
   <TR BGCOLOR="white" CLASS="TableRowColor">
239
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
240
	 <FONT SIZE="-1">
241
	    <CODE>&nbsp;void</CODE>
242
	 </FONT>
243
      </TD>
244
      <TD>
245
	 <CODE>
246
	    <B>
247
	       <A HREF="#moveNode">moveNode</A></B>(objRef, featureName)
248
	 </CODE>
249
	 <BR>
250
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
251
	 Reorders layers in the context document
252
      </TD>
253
   </TR>
254
255
256
</TABLE>
257
258
259
260
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
261
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
262
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
263
<TD><B>Methods inherited from class <a href="ToolBase.html">ToolBase</a></B></TD>
264
</TR>
265
<TR BGCOLOR="white" CLASS="TableRowColor">
266
<TD><CODE>
267
<!-- Inherited methods -->
268
<a href="ToolBase.html#initTargetModel">initTargetModel</a>, <a href="ToolBase.html#initMouseHandler">initMouseHandler</a>, <a href="ToolBase.html#getProperty">getProperty</a>
269
</CODE></TD>
270
</TR>
271
</TABLE>
272
&nbsp;
273
274
<P>
275
<!-- ========== END METHOD SUMMARY =========== -->
276
277
278
<!-- ============ FIELD DETAIL START =========== -->
279
280
   <A NAME="field_detail"><!-- --></A>
281
   <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
282
      <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
283
         <TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD>
284
      </TR>
285
   </TABLE>
286
287
288
   <A NAME="stylesheet"><!-- --></A>
289
   <H3>stylesheet</H3>
290
   <PRE>Object&nbsp;<B>stylesheet</B></PRE>
291
   <UL>
292
293
294
   </UL>
295
   <HR>
296
297
298
299
<!-- ============ FIELD DETAIL END =========== -->
300
301
    <!-- ========= CONSTRUCTOR DETAIL START ======== -->
302
303
<A NAME="constructor_detail"><!-- --></A>
304
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
305
   <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
306
      <TD COLSPAN=1>
307
      <FONT SIZE="+2"><B>Constructor Detail</B></FONT>
308
      </TD>
309
   </TR>
310
</TABLE>
311
312
<A NAME="EditContext()"><!-- --></A><H3>
313
EditContext</H3>
314
<PRE><B>EditContext</B>(toolNode, model)</PRE>
315
316
317
<UL>
318
   Tool which manipulates the Layer list of a Web Map Context document.
319
</UL>
320
321
322
323
   <UL>
324
   <B>Parameters:</B>
325
326
     <UL><CODE>toolNode</CODE> -   The widget's XML object node from the configuration document.
327
     </UL>
328
329
     <UL><CODE>model</CODE> -        The model object that this widget belongs to.
330
     </UL>
331
332
333
   </UL>
334
335
336
<!-- Constructor return value(s) -->
337
338
<!-- End constructor return value(s) -->
339
340
<!-- ADDITIONAL ATTRIBUTES -->
341
342
<HR/>
343
<!-- END ADDITIONAL ATTRIBUTES  -->
344
345
<!-- ========= CONSTRUCTOR DETAIL END ======== -->
346
347
348
<!-- ============ METHOD DETAIL START ========== -->
349
350
<A NAME="method_detail"><!-- --></A>
351
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
352
   <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
353
      <TD COLSPAN=1><FONT SIZE="+2">
354
         <B>Method Detail</B></FONT>
355
      </TD>
356
   </TR>
357
</TABLE>
358
359
<!-- One single method detail entry -->
360
361
   <A NAME="addLayerFromCat"><!-- --></A>
362
   <H3>addLayerFromCat</H3>
363
   <PRE>void <B>addLayerFromCat</B>(featureName)</PRE>
364
365
      <UL>Adds a new layer to the end of the context document</UL>
366
367
368
   <!-- METHOD PARAMETERS START -->
369
370
   <UL>
371
   <B>Parameters:</B>
372
373
     <UL><CODE>featureName</CODE> -  the name of the feature to be added
374
      </UL>
375
376
   </UL>
377
378
   <!-- METHOD PARAMETERS END -->
379
380
381
382
   <!-- ADDITIONAL ATTRIBUTES START -->
383
384
   <!-- ADDITIONAL ATTRIBUTES  END -->
385
<HR>
386
387
   <A NAME="addNodeToModel"><!-- --></A>
388
   <H3>addNodeToModel</H3>
389
   <PRE>void <B>addNodeToModel</B>(featureName)</PRE>
390
391
      <UL>Adds a new layer to the end of the context document</UL>
392
393
394
   <!-- METHOD PARAMETERS START -->
395
396
   <UL>
397
   <B>Parameters:</B>
398
399
     <UL><CODE>featureName</CODE> -  the name of the feature to be added
400
      </UL>
401
402
   </UL>
403
404
   <!-- METHOD PARAMETERS END -->
405
406
407
408
   <!-- ADDITIONAL ATTRIBUTES START -->
409
410
   <!-- ADDITIONAL ATTRIBUTES  END -->
411
<HR>
412
413
   <A NAME="deleteNode"><!-- --></A>
414
   <H3>deleteNode</H3>
415
   <PRE>void <B>deleteNode</B>(objRef, featureName)</PRE>
416
417
      <UL>Deletes layers from a context doc</UL>
418
419
420
   <!-- METHOD PARAMETERS START -->
421
422
   <UL>
423
   <B>Parameters:</B>
424
425
     <UL><CODE>objRef</CODE> -  Pointer to this object.
426
      </UL>
427
428
   </UL>
429
430
   <!-- METHOD PARAMETERS END -->
431
432
433
434
   <!-- ADDITIONAL ATTRIBUTES START -->
435
436
   <!-- ADDITIONAL ATTRIBUTES  END -->
437
<HR>
438
439
   <A NAME="moveNode"><!-- --></A>
440
   <H3>moveNode</H3>
441
   <PRE>void <B>moveNode</B>(objRef, featureName)</PRE>
442
443
      <UL>Reorders layers in the context document</UL>
444
445
446
   <!-- METHOD PARAMETERS START -->
447
448
   <UL>
449
   <B>Parameters:</B>
450
451
     <UL><CODE>objRef</CODE> -  Pointer to this object.
452
      </UL>
453
454
   </UL>
455
456
   <!-- METHOD PARAMETERS END -->
457
458
459
460
   <!-- ADDITIONAL ATTRIBUTES START -->
461
462
   <!-- ADDITIONAL ATTRIBUTES  END -->
463
<HR>
464
465
466
467
<!-- ============ METHOD DETAIL END ========== -->
468
469
<!-- ========= END OF CLASS DATA ========= -->
470
471
<!-- ========== START OF NAVBAR ========== -->
472
<A NAME="navbar_bottom"><!-- --></A>
473
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
474
<TR>
475
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
476
<A NAME="navbar_bottom_firstrow"><!-- --></A>
477
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
478
  <TR ALIGN="center" VALIGN="top">
479
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
480
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <A HREF="overview-summary-EditContext.js.html"><FONT CLASS="NavBarFont1"><B>File</B></FONT></A>&nbsp;</TD>
481
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
482
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><b>Tree</b></FONT></A>&nbsp;</TD>
483
  <!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"-->    <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</FONT--><!--/A--><!--&nbsp;</TD-->
484
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
485
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
486
  </TR>
487
</TABLE>
488
</TD>
489
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
490
<B><a href='http://mapbuilder.sourceforge.net'>Community Map Builder</a> 27 Apr 2008</B>
491
</EM>
492
</TD
493
</TR>
494
495
<TR>
496
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
497
&nbsp;<A HREF="EditButtonBase.html"><B>PREV CLASS</B></A><!--
498
   NEXT CLASS
499
-->
500
&nbsp;<A HREF="EditLine.html"><B>NEXT CLASS</B></A></FONT></TD>
501
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
502
  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
503
&nbsp;<A HREF="EditContext.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
504
&nbsp;
505
<SCRIPT>
506
  <!--
507
  if(window==top) {
508
    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
509
  }
510
  //-->
511
</SCRIPT>
512
<NOSCRIPT>
513
<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
514
</NOSCRIPT>
515
</FONT></TD>
516
</TR>
517
<TR>
518
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
519
  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>
520
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
521
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>
522
</TR>
523
</TABLE>
524
525
<!-- =========== END OF NAVBAR =========== -->
526
527
<HR>
528
<FONT SIZE="-1">
529
530
</FONT>
531
<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>
532
</BODY>
533
</HTML>