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
|
WidgetBase
|
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="WidgetBase";
|
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> </TD>
|
27
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary-WidgetBase.js.html"><FONT CLASS="NavBarFont1"><B>File</B></FONT></A> </TD>
|
28
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
29
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
30
|
<!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"--> <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</FONT--><!--/A--><!-- </TD-->
|
31
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"--><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
32
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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
|
<A HREF="Widget.html"><B>PREV CLASS</B></A><!--
|
45
|
NEXT CLASS
|
46
|
-->
|
47
|
<A HREF="WidgetBaseXSL.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>
|
50
|
<A HREF="WidgetBase.html" TARGET="_top"><B>NO FRAMES</B></A>
|
51
|
|
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: <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
67
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
68
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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 WidgetBase</H2>
|
76
|
<PRE>Object
|
77
|
|
|
78
|
+--<b>WidgetBase</b>
|
79
|
</PRE>
|
80
|
|
81
|
<DL>
|
82
|
<DT>
|
83
|
<B>Direct Known Subclasses:</B>
|
84
|
<DD>
|
85
|
<a href="Loading.html">Loading</a>, <a href="MapScaleBar.html">MapScaleBar</a>, <a href="GmlRendererBase.html">GmlRendererBase</a>, <a href="AoiBoxOL.html">AoiBoxOL</a>, <a href="OverviewMap.html">OverviewMap</a>, <a href="PanZoomBar.html">PanZoomBar</a>, <a href="ButtonBase.html">ButtonBase</a>, <a href="Loading2.html">Loading2</a>, <a href="MapPaneOL.html">MapPaneOL</a>, <a href="WidgetBaseXSL.html">WidgetBaseXSL</a>
|
86
|
</DD>
|
87
|
</DL>
|
88
|
|
89
|
|
90
|
<HR>
|
91
|
<DL>
|
92
|
<!-- Class definition -->
|
93
|
<DT>class
|
94
|
<B>WidgetBase</B>
|
95
|
|
96
|
|
97
|
</DL>
|
98
|
|
99
|
<P>
|
100
|
<I>Defined in <a href='overview-summary-WidgetBase.js.html'>WidgetBase.js</a></I><BR/><BR/><B>Author:</B> Mike Adair <BR/>
|
101
|
</P>
|
102
|
|
103
|
<HR>
|
104
|
|
105
|
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
106
|
|
107
|
<!-- ======== END NESTED CLASS SUMMARY ======== -->
|
108
|
|
109
|
|
110
|
<!-- =========== FIELD SUMMARY =========== -->
|
111
|
|
112
|
<A NAME="field_summary"><!-- --></A>
|
113
|
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
114
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
115
|
<TD COLSPAN=2><FONT SIZE="+2">
|
116
|
<B>Field Summary</B></FONT></TD>
|
117
|
</TR>
|
118
|
|
119
|
<!-- This is one instance field summary -->
|
120
|
|
121
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
122
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
123
|
<CODE> Object</CODE></FONT></TD>
|
124
|
<TD><CODE><B><A HREF="#autoRefresh">autoRefresh</A></B></CODE>
|
125
|
<BR>
|
126
|
</TD>
|
127
|
</TR>
|
128
|
|
129
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
130
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
131
|
<CODE> Object</CODE></FONT></TD>
|
132
|
<TD><CODE><B><A HREF="#debug">debug</A></B></CODE>
|
133
|
<BR>
|
134
|
</TD>
|
135
|
</TR>
|
136
|
|
137
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
138
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
139
|
<CODE> Object</CODE></FONT></TD>
|
140
|
<TD><CODE><B><A HREF="#htmlTagId">htmlTagId</A></B></CODE>
|
141
|
<BR>
|
142
|
</TD>
|
143
|
</TR>
|
144
|
|
145
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
146
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
147
|
<CODE> Object</CODE></FONT></TD>
|
148
|
<TD><CODE><B><A HREF="#id">id</A></B></CODE>
|
149
|
<BR>
|
150
|
</TD>
|
151
|
</TR>
|
152
|
|
153
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
154
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
155
|
<CODE> Object</CODE></FONT></TD>
|
156
|
<TD><CODE><B><A HREF="#model">model</A></B></CODE>
|
157
|
<BR>
|
158
|
</TD>
|
159
|
</TR>
|
160
|
|
161
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
162
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
163
|
<CODE> Object</CODE></FONT></TD>
|
164
|
<TD><CODE><B><A HREF="#outputNodeId">outputNodeId</A></B></CODE>
|
165
|
<BR>
|
166
|
</TD>
|
167
|
</TR>
|
168
|
|
169
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
170
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
171
|
<CODE> Object</CODE></FONT></TD>
|
172
|
<TD><CODE><B><A HREF="#widgetNode">widgetNode</A></B></CODE>
|
173
|
<BR>
|
174
|
</TD>
|
175
|
</TR>
|
176
|
|
177
|
|
178
|
</TABLE>
|
179
|
|
180
|
|
181
|
|
182
|
|
183
|
|
184
|
<!-- =========== END FIELD SUMMARY =========== -->
|
185
|
|
186
|
|
187
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
188
|
|
189
|
<A NAME="constructor_summary"><!-- --></A>
|
190
|
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
191
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
192
|
<TD COLSPAN=2><FONT SIZE="+2">
|
193
|
<B>Constructor Summary</B></FONT></TD>
|
194
|
</TR>
|
195
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
196
|
<TD>
|
197
|
<CODE>
|
198
|
<B>
|
199
|
<A HREF="WidgetBase.html#WidgetBase()">WidgetBase</A>
|
200
|
</B>
|
201
|
(widgetNode,model)
|
202
|
</CODE>
|
203
|
<BR>
|
204
|
|
205
|
Base Class for widgets.
|
206
|
</TD>
|
207
|
</TR>
|
208
|
</TABLE>
|
209
|
|
210
|
<!-- ======== END CONSTRUCTOR SUMMARY ======== -->
|
211
|
|
212
|
|
213
|
|
214
|
<!-- ========== METHOD SUMMARY =========== -->
|
215
|
|
216
|
<A NAME="method_summary"><!-- --></A>
|
217
|
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
218
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
219
|
<TD COLSPAN=2><FONT SIZE="+2">
|
220
|
<B>Method Summary</B></FONT></TD>
|
221
|
</TR>
|
222
|
|
223
|
|
224
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
225
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
|
226
|
<FONT SIZE="-1">
|
227
|
<CODE> void</CODE>
|
228
|
</FONT>
|
229
|
</TD>
|
230
|
<TD>
|
231
|
<CODE>
|
232
|
<B>
|
233
|
<A HREF="#clearWidget">clearWidget</A></B>(objRef)
|
234
|
</CODE>
|
235
|
<BR>
|
236
|
|
237
|
Remove widget from display.
|
238
|
</TD>
|
239
|
</TR>
|
240
|
|
241
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
242
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
|
243
|
<FONT SIZE="-1">
|
244
|
<CODE> Object</CODE>
|
245
|
</FONT>
|
246
|
</TD>
|
247
|
<TD>
|
248
|
<CODE>
|
249
|
<B>
|
250
|
<A HREF="#getNode">getNode</A></B>()
|
251
|
</CODE>
|
252
|
<BR>
|
253
|
|
254
|
|
255
|
</TD>
|
256
|
</TR>
|
257
|
|
258
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
259
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
|
260
|
<FONT SIZE="-1">
|
261
|
<CODE> Object</CODE>
|
262
|
</FONT>
|
263
|
</TD>
|
264
|
<TD>
|
265
|
<CODE>
|
266
|
<B>
|
267
|
<A HREF="#getProperty">getProperty</A></B>(property, defaultValue)
|
268
|
</CODE>
|
269
|
<BR>
|
270
|
|
271
|
Convenient access to Mapbuilder.getProperty
|
272
|
</TD>
|
273
|
</TR>
|
274
|
|
275
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
276
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
|
277
|
<FONT SIZE="-1">
|
278
|
<CODE> void</CODE>
|
279
|
</FONT>
|
280
|
</TD>
|
281
|
<TD>
|
282
|
<CODE>
|
283
|
<B>
|
284
|
<A HREF="#initTargetModel">initTargetModel</A></B>(objRef)
|
285
|
</CODE>
|
286
|
<BR>
|
287
|
|
288
|
Initialize dynamic properties.set the target model
|
289
|
</TD>
|
290
|
</TR>
|
291
|
|
292
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
293
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
|
294
|
<FONT SIZE="-1">
|
295
|
<CODE> void</CODE>
|
296
|
</FONT>
|
297
|
</TD>
|
298
|
<TD>
|
299
|
<CODE>
|
300
|
<B>
|
301
|
<A HREF="#postPaint">postPaint</A></B>(objRef)
|
302
|
</CODE>
|
303
|
<BR>
|
304
|
|
305
|
Called after paint(), can be used to initialize things that depend on the
|
306
|
the widget output being presetn, eg.
|
307
|
</TD>
|
308
|
</TR>
|
309
|
|
310
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
311
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
|
312
|
<FONT SIZE="-1">
|
313
|
<CODE> void</CODE>
|
314
|
</FONT>
|
315
|
</TD>
|
316
|
<TD>
|
317
|
<CODE>
|
318
|
<B>
|
319
|
<A HREF="#prePaint">prePaint</A></B>(objRef)
|
320
|
</CODE>
|
321
|
<BR>
|
322
|
|
323
|
Called before paint(), can be used to set up a widget's paint parameters,
|
324
|
or modify model using this.resultDoc().
|
325
|
</TD>
|
326
|
</TR>
|
327
|
|
328
|
|
329
|
</TABLE>
|
330
|
|
331
|
|
332
|
|
333
|
<P>
|
334
|
<!-- ========== END METHOD SUMMARY =========== -->
|
335
|
|
336
|
|
337
|
<!-- ============ FIELD DETAIL START =========== -->
|
338
|
|
339
|
<A NAME="field_detail"><!-- --></A>
|
340
|
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
341
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
342
|
<TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD>
|
343
|
</TR>
|
344
|
</TABLE>
|
345
|
|
346
|
|
347
|
<A NAME="autoRefresh"><!-- --></A>
|
348
|
<H3>autoRefresh</H3>
|
349
|
<PRE>Object <B>autoRefresh</B></PRE>
|
350
|
<UL>
|
351
|
|
352
|
|
353
|
</UL>
|
354
|
<HR>
|
355
|
|
356
|
<A NAME="debug"><!-- --></A>
|
357
|
<H3>debug</H3>
|
358
|
<PRE>Object <B>debug</B></PRE>
|
359
|
<UL>
|
360
|
|
361
|
|
362
|
</UL>
|
363
|
<HR>
|
364
|
|
365
|
<A NAME="htmlTagId"><!-- --></A>
|
366
|
<H3>htmlTagId</H3>
|
367
|
<PRE>Object <B>htmlTagId</B></PRE>
|
368
|
<UL>
|
369
|
|
370
|
|
371
|
</UL>
|
372
|
<HR>
|
373
|
|
374
|
<A NAME="id"><!-- --></A>
|
375
|
<H3>id</H3>
|
376
|
<PRE>Object <B>id</B></PRE>
|
377
|
<UL>
|
378
|
|
379
|
|
380
|
</UL>
|
381
|
<HR>
|
382
|
|
383
|
<A NAME="model"><!-- --></A>
|
384
|
<H3>model</H3>
|
385
|
<PRE>Object <B>model</B></PRE>
|
386
|
<UL>
|
387
|
|
388
|
|
389
|
</UL>
|
390
|
<HR>
|
391
|
|
392
|
<A NAME="outputNodeId"><!-- --></A>
|
393
|
<H3>outputNodeId</H3>
|
394
|
<PRE>Object <B>outputNodeId</B></PRE>
|
395
|
<UL>
|
396
|
|
397
|
|
398
|
</UL>
|
399
|
<HR>
|
400
|
|
401
|
<A NAME="widgetNode"><!-- --></A>
|
402
|
<H3>widgetNode</H3>
|
403
|
<PRE>Object <B>widgetNode</B></PRE>
|
404
|
<UL>
|
405
|
|
406
|
|
407
|
</UL>
|
408
|
<HR>
|
409
|
|
410
|
|
411
|
|
412
|
<!-- ============ FIELD DETAIL END =========== -->
|
413
|
|
414
|
<!-- ========= CONSTRUCTOR DETAIL START ======== -->
|
415
|
|
416
|
<A NAME="constructor_detail"><!-- --></A>
|
417
|
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
418
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
419
|
<TD COLSPAN=1>
|
420
|
<FONT SIZE="+2"><B>Constructor Detail</B></FONT>
|
421
|
</TD>
|
422
|
</TR>
|
423
|
</TABLE>
|
424
|
|
425
|
<A NAME="WidgetBase()"><!-- --></A><H3>
|
426
|
WidgetBase</H3>
|
427
|
<PRE><B>WidgetBase</B>(widgetNode,model)</PRE>
|
428
|
|
429
|
|
430
|
<UL>
|
431
|
Base Class for widgets. All widgets must extend this base class.
|
432
|
Defines the default prePaint() and postPaint() methods for all widgets.
|
433
|
</UL>
|
434
|
|
435
|
|
436
|
|
437
|
<UL>
|
438
|
<B>Parameters:</B>
|
439
|
|
440
|
<UL><CODE>widgetNode</CODE> - The widget's XML object node from the configuration document.
|
441
|
</UL>
|
442
|
|
443
|
<UL><CODE>model</CODE> - The model object that this widget belongs to.
|
444
|
</UL>
|
445
|
|
446
|
<UL><CODE>widget</CODE> - Pointer to the widget instance being created
|
447
|
</UL>
|
448
|
|
449
|
|
450
|
</UL>
|
451
|
|
452
|
|
453
|
<!-- Constructor return value(s) -->
|
454
|
|
455
|
<!-- End constructor return value(s) -->
|
456
|
|
457
|
<!-- ADDITIONAL ATTRIBUTES -->
|
458
|
|
459
|
<UL>
|
460
|
<B>Author:</B> Mike Adair <BR/>
|
461
|
</UL>
|
462
|
|
463
|
<HR/>
|
464
|
<!-- END ADDITIONAL ATTRIBUTES -->
|
465
|
|
466
|
<!-- ========= CONSTRUCTOR DETAIL END ======== -->
|
467
|
|
468
|
|
469
|
<!-- ============ METHOD DETAIL START ========== -->
|
470
|
|
471
|
<A NAME="method_detail"><!-- --></A>
|
472
|
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
473
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
474
|
<TD COLSPAN=1><FONT SIZE="+2">
|
475
|
<B>Method Detail</B></FONT>
|
476
|
</TD>
|
477
|
</TR>
|
478
|
</TABLE>
|
479
|
|
480
|
<!-- One single method detail entry -->
|
481
|
|
482
|
<A NAME="clearWidget"><!-- --></A>
|
483
|
<H3>clearWidget</H3>
|
484
|
<PRE>void <B>clearWidget</B>(objRef)</PRE>
|
485
|
|
486
|
<UL>Remove widget from display.</UL>
|
487
|
|
488
|
|
489
|
<!-- METHOD PARAMETERS START -->
|
490
|
|
491
|
<UL>
|
492
|
<B>Parameters:</B>
|
493
|
|
494
|
<UL><CODE>objRef</CODE> - Pointer to this object.
|
495
|
</UL>
|
496
|
|
497
|
</UL>
|
498
|
|
499
|
<!-- METHOD PARAMETERS END -->
|
500
|
|
501
|
|
502
|
|
503
|
<!-- ADDITIONAL ATTRIBUTES START -->
|
504
|
|
505
|
<!-- ADDITIONAL ATTRIBUTES END -->
|
506
|
<HR>
|
507
|
|
508
|
<A NAME="getNode"><!-- --></A>
|
509
|
<H3>getNode</H3>
|
510
|
<PRE>Object <B>getNode</B>()</PRE>
|
511
|
|
512
|
|
513
|
<!-- METHOD PARAMETERS START -->
|
514
|
|
515
|
<!-- METHOD PARAMETERS END -->
|
516
|
|
517
|
|
518
|
|
519
|
<!-- ADDITIONAL ATTRIBUTES START -->
|
520
|
|
521
|
<!-- ADDITIONAL ATTRIBUTES END -->
|
522
|
<HR>
|
523
|
|
524
|
<A NAME="getProperty"><!-- --></A>
|
525
|
<H3>getProperty</H3>
|
526
|
<PRE>Object <B>getProperty</B>(property, defaultValue)</PRE>
|
527
|
|
528
|
<UL>Convenient access to Mapbuilder.getProperty</UL>
|
529
|
|
530
|
|
531
|
<!-- METHOD PARAMETERS START -->
|
532
|
|
533
|
<UL>
|
534
|
<B>Parameters:</B>
|
535
|
|
536
|
<UL><CODE>property</CODE> - property to get
|
537
|
</UL>
|
538
|
|
539
|
<UL><CODE>default</CODE> - value to use if property is not set
|
540
|
</UL>
|
541
|
|
542
|
</UL>
|
543
|
|
544
|
<!-- METHOD PARAMETERS END -->
|
545
|
|
546
|
|
547
|
<UL>
|
548
|
<B>Returns:</B>
|
549
|
<UL>
|
550
|
the value for the property
|
551
|
</UL>
|
552
|
</UL>
|
553
|
|
554
|
|
555
|
<!-- ADDITIONAL ATTRIBUTES START -->
|
556
|
|
557
|
<!-- ADDITIONAL ATTRIBUTES END -->
|
558
|
<HR>
|
559
|
|
560
|
<A NAME="initTargetModel"><!-- --></A>
|
561
|
<H3>initTargetModel</H3>
|
562
|
<PRE>void <B>initTargetModel</B>(objRef)</PRE>
|
563
|
|
564
|
<UL>Initialize dynamic properties.set the target model</UL>
|
565
|
|
566
|
|
567
|
<!-- METHOD PARAMETERS START -->
|
568
|
|
569
|
<UL>
|
570
|
<B>Parameters:</B>
|
571
|
|
572
|
<UL><CODE>toolRef</CODE> - Pointer to this object.
|
573
|
</UL>
|
574
|
|
575
|
</UL>
|
576
|
|
577
|
<!-- METHOD PARAMETERS END -->
|
578
|
|
579
|
|
580
|
|
581
|
<!-- ADDITIONAL ATTRIBUTES START -->
|
582
|
|
583
|
<!-- ADDITIONAL ATTRIBUTES END -->
|
584
|
<HR>
|
585
|
|
586
|
<A NAME="postPaint"><!-- --></A>
|
587
|
<H3>postPaint</H3>
|
588
|
<PRE>void <B>postPaint</B>(objRef)</PRE>
|
589
|
|
590
|
<UL>Called after paint(), can be used to initialize things that depend on the
|
591
|
the widget output being presetn, eg. form and form elements</UL>
|
592
|
|
593
|
|
594
|
<!-- METHOD PARAMETERS START -->
|
595
|
|
596
|
<UL>
|
597
|
<B>Parameters:</B>
|
598
|
|
599
|
<UL><CODE>objRef</CODE> - Pointer to this object.
|
600
|
</UL>
|
601
|
|
602
|
</UL>
|
603
|
|
604
|
<!-- METHOD PARAMETERS END -->
|
605
|
|
606
|
|
607
|
|
608
|
<!-- ADDITIONAL ATTRIBUTES START -->
|
609
|
|
610
|
<!-- ADDITIONAL ATTRIBUTES END -->
|
611
|
<HR>
|
612
|
|
613
|
<A NAME="prePaint"><!-- --></A>
|
614
|
<H3>prePaint</H3>
|
615
|
<PRE>void <B>prePaint</B>(objRef)</PRE>
|
616
|
|
617
|
<UL>Called before paint(), can be used to set up a widget's paint parameters,
|
618
|
or modify model using this.resultDoc().</UL>
|
619
|
|
620
|
|
621
|
<!-- METHOD PARAMETERS START -->
|
622
|
|
623
|
<UL>
|
624
|
<B>Parameters:</B>
|
625
|
|
626
|
<UL><CODE>objRef</CODE> - Pointer to this object.
|
627
|
</UL>
|
628
|
|
629
|
</UL>
|
630
|
|
631
|
<!-- METHOD PARAMETERS END -->
|
632
|
|
633
|
|
634
|
|
635
|
<!-- ADDITIONAL ATTRIBUTES START -->
|
636
|
|
637
|
<!-- ADDITIONAL ATTRIBUTES END -->
|
638
|
<HR>
|
639
|
|
640
|
|
641
|
|
642
|
<!-- ============ METHOD DETAIL END ========== -->
|
643
|
|
644
|
<!-- ========= END OF CLASS DATA ========= -->
|
645
|
|
646
|
<!-- ========== START OF NAVBAR ========== -->
|
647
|
<A NAME="navbar_bottom"><!-- --></A>
|
648
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
|
649
|
<TR>
|
650
|
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
651
|
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
652
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
|
653
|
<TR ALIGN="center" VALIGN="top">
|
654
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
655
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary-WidgetBase.js.html"><FONT CLASS="NavBarFont1"><B>File</B></FONT></A> </TD>
|
656
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
657
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><b>Tree</b></FONT></A> </TD>
|
658
|
<!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"--> <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</FONT--><!--/A--><!-- </TD-->
|
659
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
660
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
661
|
</TR>
|
662
|
</TABLE>
|
663
|
</TD>
|
664
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
665
|
<B><a href='http://mapbuilder.sourceforge.net'>Community Map Builder</a> 27 Apr 2008</B>
|
666
|
</EM>
|
667
|
</TD
|
668
|
</TR>
|
669
|
|
670
|
<TR>
|
671
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
672
|
<A HREF="Widget.html"><B>PREV CLASS</B></A><!--
|
673
|
NEXT CLASS
|
674
|
-->
|
675
|
<A HREF="WidgetBaseXSL.html"><B>NEXT CLASS</B></A></FONT></TD>
|
676
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
677
|
<A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>
|
678
|
<A HREF="WidgetBase.html" TARGET="_top"><B>NO FRAMES</B></A>
|
679
|
|
680
|
<SCRIPT>
|
681
|
<!--
|
682
|
if(window==top) {
|
683
|
document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
|
684
|
}
|
685
|
//-->
|
686
|
</SCRIPT>
|
687
|
<NOSCRIPT>
|
688
|
<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
|
689
|
</NOSCRIPT>
|
690
|
</FONT></TD>
|
691
|
</TR>
|
692
|
<TR>
|
693
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
694
|
SUMMARY: <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
695
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
696
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
697
|
</TR>
|
698
|
</TABLE>
|
699
|
|
700
|
<!-- =========== END OF NAVBAR =========== -->
|
701
|
|
702
|
<HR>
|
703
|
<FONT SIZE="-1">
|
704
|
|
705
|
</FONT>
|
706
|
<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>
|
707
|
</BODY>
|
708
|
</HTML>
|