Commit e249362a1c92c4db3d5d556da9950c5152eaab3e

Authored by Edmar Moretti
1 parent 86c80c4a

--no commit message

classesjs/jsobjects/AppCentral.htm
... ... @@ -1,64 +0,0 @@
1   -<html>
2   -
3   -<head>
4   - <title>jsObjects Collection</title>
5   - <link rel='stylesheet' type='text/css' href='documentation.css'></link>
6   - <LINK REL="shortcut icon" HREF="images/jsobjects-s.ico" TYPE="image/x-icon">
7   -</head>
8   -
9   -<body marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" vlink="#0000ff" link="#0000ff" alink="#0000ff">
10   -
11   -<div class="header" width="100%">
12   - <table cellSpacing="0" cellPadding="0" width="98%" border="0">
13   - <tr>
14   - <td style="height: 16px"><b><i><span style="FONT-SIZE: 10pt">jsObjects AppCentral</span></i> - Version 1.0</b></td>
15   - <td align="right" style="height: 16px">
16   - By: <a style="color:white" href="http://www.jonandnic.com/jonathan">Jonathan Wise</a>&nbsp;</td>
17   - </tr>
18   - </table>
19   -</div>
20   -<blockquote class="details">
21   - <p><b>About</b> </p>
22   - <ul>
23   - <li><img src="images/appcentral.gif" align="left" />AppCentral is a web application
24   - container based on jsObjects and a .NET webservice, that combines modules -- both
25   - client and server-side, to assemble disperate web applications into a cohesive interface.<br /><br />
26   - - <a href="http://www.jonandnic.com/appcentral/readme.txt">Change Log</a>
27   - </li></ul>
28   -</blockquote>
29   -<blockquote class="details">
30   - <p><b>Purpose</b> </p>
31   - <ul>
32   - <li>The web is becoming much more than a place to share data. Technologies like web
33   - services and AJAX are allowing developers to build rich, interactive applications
34   - that rival their compiled equivalents on the desktop. Unfortunately, differing development styles, interfaces and appearances make switching between applications an experience
35   - no better than it was 5 years ago. AppCentral is an attempt to provide a single interface through which multiple, disperate applications can be accessed in a user-friendly
36   - and consistent manor.<br />
37   - AppCentral can host "modules" or web applications that adhere to a few standards
38   - for consistency of appearance and data retreival, or it can host standard web pages,
39   - requiring only a small XML file and icon to allow them to appear in the container.</li></ul>
40   -</blockquote>
41   -
42   -<blockquote class="details">
43   - <p><b>Requirements</b> </p>
44   - <ul>
45   - <li>AppCentral is intended for use in both Internet Explorer (5.5 or better) and FireFox (1.1 or better) and uses a .NET webservice on the server-side.</li></ul>
46   -</blockquote>
47   -<blockquote class="details">
48   - <p><b>Use AppCentral</b></p>
49   - <ul>
50   - <li>
51   - - <a href="http://www.jonandnic.com/jsobjects/AppCentralSetup.zip">Download the Installer</a></li>
52   - <li>
53   - - <a href="http://www.jonandnic.com/AppCentral">Try it out!</a>
54   - </li>
55   - </ul>
56   -</blockquote>
57   -
58   - <br />
59   - <div class="footer">© 2005 Jonathan Wise. <a href="license.txt">Some rights reserved</a>. </div>
60   - <br />
61   -
62   -</body>
63   -
64   -</html>
65 0 \ No newline at end of file
classesjs/jsobjects/License.txt
... ... @@ -1,459 +0,0 @@
1   - GNU LESSER GENERAL PUBLIC LICENSE
2   - Version 2.1, February 1999
3   -
4   - Copyright (C) 1991, 1999 Free Software Foundation, Inc.
5   - 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
6   - Everyone is permitted to copy and distribute verbatim copies
7   - of this license document, but changing it is not allowed.
8   -
9   -[This is the first released version of the Lesser GPL. It also counts
10   - as the successor of the GNU Library Public License, version 2, hence
11   - the version number 2.1.]
12   -
13   - Preamble
14   -
15   - The licenses for most software are designed to take away your
16   -freedom to share and change it. By contrast, the GNU General Public
17   -Licenses are intended to guarantee your freedom to share and change
18   -free software--to make sure the software is free for all its users.
19   -
20   - This license, the Lesser General Public License, applies to some
21   -specially designated software packages--typically libraries--of the
22   -Free Software Foundation and other authors who decide to use it. You
23   -can use it too, but we suggest you first think carefully about whether
24   -this license or the ordinary General Public License is the better
25   -strategy to use in any particular case, based on the explanations below.
26   -
27   - When we speak of free software, we are referring to freedom of use,
28   -not price. Our General Public Licenses are designed to make sure that
29   -you have the freedom to distribute copies of free software (and charge
30   -for this service if you wish); that you receive source code or can get
31   -it if you want it; that you can change the software and use pieces of
32   -it in new free programs; and that you are informed that you can do
33   -these things.
34   -
35   - To protect your rights, we need to make restrictions that forbid
36   -distributors to deny you these rights or to ask you to surrender these
37   -rights. These restrictions translate to certain responsibilities for
38   -you if you distribute copies of the library or if you modify it.
39   -
40   - For example, if you distribute copies of the library, whether gratis
41   -or for a fee, you must give the recipients all the rights that we gave
42   -you. You must make sure that they, too, receive or can get the source
43   -code. If you link other code with the library, you must provide
44   -complete object files to the recipients, so that they can relink them
45   -with the library after making changes to the library and recompiling
46   -it. And you must show them these terms so they know their rights.
47   -
48   - We protect your rights with a two-step method: (1) we copyright the
49   -library, and (2) we offer you this license, which gives you legal
50   -permission to copy, distribute and/or modify the library.
51   -
52   - To protect each distributor, we want to make it very clear that
53   -there is no warranty for the free library. Also, if the library is
54   -modified by someone else and passed on, the recipients should know
55   -that what they have is not the original version, so that the original
56   -author's reputation will not be affected by problems that might be
57   -introduced by others.
58   -
59   - Finally, software patents pose a constant threat to the existence of
60   -any free program. We wish to make sure that a company cannot
61   -effectively restrict the users of a free program by obtaining a
62   -restrictive license from a patent holder. Therefore, we insist that
63   -any patent license obtained for a version of the library must be
64   -consistent with the full freedom of use specified in this license.
65   -
66   - Most GNU software, including some libraries, is covered by the
67   -ordinary GNU General Public License. This license, the GNU Lesser
68   -General Public License, applies to certain designated libraries, and
69   -is quite different from the ordinary General Public License. We use
70   -this license for certain libraries in order to permit linking those
71   -libraries into non-free programs.
72   -
73   - When a program is linked with a library, whether statically or using
74   -a shared library, the combination of the two is legally speaking a
75   -combined work, a derivative of the original library. The ordinary
76   -General Public License therefore permits such linking only if the
77   -entire combination fits its criteria of freedom. The Lesser General
78   -Public License permits more lax criteria for linking other code with
79   -the library.
80   -
81   - We call this license the "Lesser" General Public License because it
82   -does Less to protect the user's freedom than the ordinary General
83   -Public License. It also provides other free software developers Less
84   -of an advantage over competing non-free programs. These disadvantages
85   -are the reason we use the ordinary General Public License for many
86   -libraries. However, the Lesser license provides advantages in certain
87   -special circumstances.
88   -
89   - For example, on rare occasions, there may be a special need to
90   -encourage the widest possible use of a certain library, so that it becomes
91   -a de-facto standard. To achieve this, non-free programs must be
92   -allowed to use the library. A more frequent case is that a free
93   -library does the same job as widely used non-free libraries. In this
94   -case, there is little to gain by limiting the free library to free
95   -software only, so we use the Lesser General Public License.
96   -
97   - In other cases, permission to use a particular library in non-free
98   -programs enables a greater number of people to use a large body of
99   -free software. For example, permission to use the GNU C Library in
100   -non-free programs enables many more people to use the whole GNU
101   -operating system, as well as its variant, the GNU/Linux operating
102   -system.
103   -
104   - Although the Lesser General Public License is Less protective of the
105   -users' freedom, it does ensure that the user of a program that is
106   -linked with the Library has the freedom and the wherewithal to run
107   -that program using a modified version of the Library.
108   -
109   - The precise terms and conditions for copying, distribution and
110   -modification follow. Pay close attention to the difference between a
111   -"work based on the library" and a "work that uses the library". The
112   -former contains code derived from the library, whereas the latter must
113   -be combined with the library in order to run.
114   -
115   - GNU LESSER GENERAL PUBLIC LICENSE
116   - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
117   -
118   - 0. This License Agreement applies to any software library or other
119   -program which contains a notice placed by the copyright holder or
120   -other authorized party saying it may be distributed under the terms of
121   -this Lesser General Public License (also called "this License").
122   -Each licensee is addressed as "you".
123   -
124   - A "library" means a collection of software functions and/or data
125   -prepared so as to be conveniently linked with application programs
126   -(which use some of those functions and data) to form executables.
127   -
128   - The "Library", below, refers to any such software library or work
129   -which has been distributed under these terms. A "work based on the
130   -Library" means either the Library or any derivative work under
131   -copyright law: that is to say, a work containing the Library or a
132   -portion of it, either verbatim or with modifications and/or translated
133   -straightforwardly into another language. (Hereinafter, translation is
134   -included without limitation in the term "modification".)
135   -
136   - "Source code" for a work means the preferred form of the work for
137   -making modifications to it. For a library, complete source code means
138   -all the source code for all modules it contains, plus any associated
139   -interface definition files, plus the scripts used to control compilation
140   -and installation of the library.
141   -
142   - Activities other than copying, distribution and modification are not
143   -covered by this License; they are outside its scope. The act of
144   -running a program using the Library is not restricted, and output from
145   -such a program is covered only if its contents constitute a work based
146   -on the Library (independent of the use of the Library in a tool for
147   -writing it). Whether that is true depends on what the Library does
148   -and what the program that uses the Library does.
149   -
150   - 1. You may copy and distribute verbatim copies of the Library's
151   -complete source code as you receive it, in any medium, provided that
152   -you conspicuously and appropriately publish on each copy an
153   -appropriate copyright notice and disclaimer of warranty; keep intact
154   -all the notices that refer to this License and to the absence of any
155   -warranty; and distribute a copy of this License along with the
156   -Library.
157   -
158   - You may charge a fee for the physical act of transferring a copy,
159   -and you may at your option offer warranty protection in exchange for a
160   -fee.
161   -
162   - 2. You may modify your copy or copies of the Library or any portion
163   -of it, thus forming a work based on the Library, and copy and
164   -distribute such modifications or work under the terms of Section 1
165   -above, provided that you also meet all of these conditions:
166   -
167   - a) The modified work must itself be a software library.
168   -
169   - b) You must cause the files modified to carry prominent notices
170   - stating that you changed the files and the date of any change.
171   -
172   - c) You must cause the whole of the work to be licensed at no
173   - charge to all third parties under the terms of this License.
174   -
175   - d) If a facility in the modified Library refers to a function or a
176   - table of data to be supplied by an application program that uses
177   - the facility, other than as an argument passed when the facility
178   - is invoked, then you must make a good faith effort to ensure that,
179   - in the event an application does not supply such function or
180   - table, the facility still operates, and performs whatever part of
181   - its purpose remains meaningful.
182   -
183   - (For example, a function in a library to compute square roots has
184   - a purpose that is entirely well-defined independent of the
185   - application. Therefore, Subsection 2d requires that any
186   - application-supplied function or table used by this function must
187   - be optional: if the application does not supply it, the square
188   - root function must still compute square roots.)
189   -
190   -These requirements apply to the modified work as a whole. If
191   -identifiable sections of that work are not derived from the Library,
192   -and can be reasonably considered independent and separate works in
193   -themselves, then this License, and its terms, do not apply to those
194   -sections when you distribute them as separate works. But when you
195   -distribute the same sections as part of a whole which is a work based
196   -on the Library, the distribution of the whole must be on the terms of
197   -this License, whose permissions for other licensees extend to the
198   -entire whole, and thus to each and every part regardless of who wrote
199   -it.
200   -
201   -Thus, it is not the intent of this section to claim rights or contest
202   -your rights to work written entirely by you; rather, the intent is to
203   -exercise the right to control the distribution of derivative or
204   -collective works based on the Library.
205   -
206   -In addition, mere aggregation of another work not based on the Library
207   -with the Library (or with a work based on the Library) on a volume of
208   -a storage or distribution medium does not bring the other work under
209   -the scope of this License.
210   -
211   - 3. You may opt to apply the terms of the ordinary GNU General Public
212   -License instead of this License to a given copy of the Library. To do
213   -this, you must alter all the notices that refer to this License, so
214   -that they refer to the ordinary GNU General Public License, version 2,
215   -instead of to this License. (If a newer version than version 2 of the
216   -ordinary GNU General Public License has appeared, then you can specify
217   -that version instead if you wish.) Do not make any other change in
218   -these notices.
219   -
220   - Once this change is made in a given copy, it is irreversible for
221   -that copy, so the ordinary GNU General Public License applies to all
222   -subsequent copies and derivative works made from that copy.
223   -
224   - This option is useful when you wish to copy part of the code of
225   -the Library into a program that is not a library.
226   -
227   - 4. You may copy and distribute the Library (or a portion or
228   -derivative of it, under Section 2) in object code or executable form
229   -under the terms of Sections 1 and 2 above provided that you accompany
230   -it with the complete corresponding machine-readable source code, which
231   -must be distributed under the terms of Sections 1 and 2 above on a
232   -medium customarily used for software interchange.
233   -
234   - If distribution of object code is made by offering access to copy
235   -from a designated place, then offering equivalent access to copy the
236   -source code from the same place satisfies the requirement to
237   -distribute the source code, even though third parties are not
238   -compelled to copy the source along with the object code.
239   -
240   - 5. A program that contains no derivative of any portion of the
241   -Library, but is designed to work with the Library by being compiled or
242   -linked with it, is called a "work that uses the Library". Such a
243   -work, in isolation, is not a derivative work of the Library, and
244   -therefore falls outside the scope of this License.
245   -
246   - However, linking a "work that uses the Library" with the Library
247   -creates an executable that is a derivative of the Library (because it
248   -contains portions of the Library), rather than a "work that uses the
249   -library". The executable is therefore covered by this License.
250   -Section 6 states terms for distribution of such executables.
251   -
252   - When a "work that uses the Library" uses material from a header file
253   -that is part of the Library, the object code for the work may be a
254   -derivative work of the Library even though the source code is not.
255   -Whether this is true is especially significant if the work can be
256   -linked without the Library, or if the work is itself a library. The
257   -threshold for this to be true is not precisely defined by law.
258   -
259   - If such an object file uses only numerical parameters, data
260   -structure layouts and accessors, and small macros and small inline
261   -functions (ten lines or less in length), then the use of the object
262   -file is unrestricted, regardless of whether it is legally a derivative
263   -work. (Executables containing this object code plus portions of the
264   -Library will still fall under Section 6.)
265   -
266   - Otherwise, if the work is a derivative of the Library, you may
267   -distribute the object code for the work under the terms of Section 6.
268   -Any executables containing that work also fall under Section 6,
269   -whether or not they are linked directly with the Library itself.
270   -
271   - 6. As an exception to the Sections above, you may also combine or
272   -link a "work that uses the Library" with the Library to produce a
273   -work containing portions of the Library, and distribute that work
274   -under terms of your choice, provided that the terms permit
275   -modification of the work for the customer's own use and reverse
276   -engineering for debugging such modifications.
277   -
278   - You must give prominent notice with each copy of the work that the
279   -Library is used in it and that the Library and its use are covered by
280   -this License. You must supply a copy of this License. If the work
281   -during execution displays copyright notices, you must include the
282   -copyright notice for the Library among them, as well as a reference
283   -directing the user to the copy of this License. Also, you must do one
284   -of these things:
285   -
286   - a) Accompany the work with the complete corresponding
287   - machine-readable source code for the Library including whatever
288   - changes were used in the work (which must be distributed under
289   - Sections 1 and 2 above); and, if the work is an executable linked
290   - with the Library, with the complete machine-readable "work that
291   - uses the Library", as object code and/or source code, so that the
292   - user can modify the Library and then relink to produce a modified
293   - executable containing the modified Library. (It is understood
294   - that the user who changes the contents of definitions files in the
295   - Library will not necessarily be able to recompile the application
296   - to use the modified definitions.)
297   -
298   - b) Use a suitable shared library mechanism for linking with the
299   - Library. A suitable mechanism is one that (1) uses at run time a
300   - copy of the library already present on the user's computer system,
301   - rather than copying library functions into the executable, and (2)
302   - will operate properly with a modified version of the library, if
303   - the user installs one, as long as the modified version is
304   - interface-compatible with the version that the work was made with.
305   -
306   - c) Accompany the work with a written offer, valid for at
307   - least three years, to give the same user the materials
308   - specified in Subsection 6a, above, for a charge no more
309   - than the cost of performing this distribution.
310   -
311   - d) If distribution of the work is made by offering access to copy
312   - from a designated place, offer equivalent access to copy the above
313   - specified materials from the same place.
314   -
315   - e) Verify that the user has already received a copy of these
316   - materials or that you have already sent this user a copy.
317   -
318   - For an executable, the required form of the "work that uses the
319   -Library" must include any data and utility programs needed for
320   -reproducing the executable from it. However, as a special exception,
321   -the materials to be distributed need not include anything that is
322   -normally distributed (in either source or binary form) with the major
323   -components (compiler, kernel, and so on) of the operating system on
324   -which the executable runs, unless that component itself accompanies
325   -the executable.
326   -
327   - It may happen that this requirement contradicts the license
328   -restrictions of other proprietary libraries that do not normally
329   -accompany the operating system. Such a contradiction means you cannot
330   -use both them and the Library together in an executable that you
331   -distribute.
332   -
333   - 7. You may place library facilities that are a work based on the
334   -Library side-by-side in a single library together with other library
335   -facilities not covered by this License, and distribute such a combined
336   -library, provided that the separate distribution of the work based on
337   -the Library and of the other library facilities is otherwise
338   -permitted, and provided that you do these two things:
339   -
340   - a) Accompany the combined library with a copy of the same work
341   - based on the Library, uncombined with any other library
342   - facilities. This must be distributed under the terms of the
343   - Sections above.
344   -
345   - b) Give prominent notice with the combined library of the fact
346   - that part of it is a work based on the Library, and explaining
347   - where to find the accompanying uncombined form of the same work.
348   -
349   - 8. You may not copy, modify, sublicense, link with, or distribute
350   -the Library except as expressly provided under this License. Any
351   -attempt otherwise to copy, modify, sublicense, link with, or
352   -distribute the Library is void, and will automatically terminate your
353   -rights under this License. However, parties who have received copies,
354   -or rights, from you under this License will not have their licenses
355   -terminated so long as such parties remain in full compliance.
356   -
357   - 9. You are not required to accept this License, since you have not
358   -signed it. However, nothing else grants you permission to modify or
359   -distribute the Library or its derivative works. These actions are
360   -prohibited by law if you do not accept this License. Therefore, by
361   -modifying or distributing the Library (or any work based on the
362   -Library), you indicate your acceptance of this License to do so, and
363   -all its terms and conditions for copying, distributing or modifying
364   -the Library or works based on it.
365   -
366   - 10. Each time you redistribute the Library (or any work based on the
367   -Library), the recipient automatically receives a license from the
368   -original licensor to copy, distribute, link with or modify the Library
369   -subject to these terms and conditions. You may not impose any further
370   -restrictions on the recipients' exercise of the rights granted herein.
371   -You are not responsible for enforcing compliance by third parties with
372   -this License.
373   -
374   - 11. If, as a consequence of a court judgment or allegation of patent
375   -infringement or for any other reason (not limited to patent issues),
376   -conditions are imposed on you (whether by court order, agreement or
377   -otherwise) that contradict the conditions of this License, they do not
378   -excuse you from the conditions of this License. If you cannot
379   -distribute so as to satisfy simultaneously your obligations under this
380   -License and any other pertinent obligations, then as a consequence you
381   -may not distribute the Library at all. For example, if a patent
382   -license would not permit royalty-free redistribution of the Library by
383   -all those who receive copies directly or indirectly through you, then
384   -the only way you could satisfy both it and this License would be to
385   -refrain entirely from distribution of the Library.
386   -
387   -If any portion of this section is held invalid or unenforceable under any
388   -particular circumstance, the balance of the section is intended to apply,
389   -and the section as a whole is intended to apply in other circumstances.
390   -
391   -It is not the purpose of this section to induce you to infringe any
392   -patents or other property right claims or to contest validity of any
393   -such claims; this section has the sole purpose of protecting the
394   -integrity of the free software distribution system which is
395   -implemented by public license practices. Many people have made
396   -generous contributions to the wide range of software distributed
397   -through that system in reliance on consistent application of that
398   -system; it is up to the author/donor to decide if he or she is willing
399   -to distribute software through any other system and a licensee cannot
400   -impose that choice.
401   -
402   -This section is intended to make thoroughly clear what is believed to
403   -be a consequence of the rest of this License.
404   -
405   - 12. If the distribution and/or use of the Library is restricted in
406   -certain countries either by patents or by copyrighted interfaces, the
407   -original copyright holder who places the Library under this License may add
408   -an explicit geographical distribution limitation excluding those countries,
409   -so that distribution is permitted only in or among countries not thus
410   -excluded. In such case, this License incorporates the limitation as if
411   -written in the body of this License.
412   -
413   - 13. The Free Software Foundation may publish revised and/or new
414   -versions of the Lesser General Public License from time to time.
415   -Such new versions will be similar in spirit to the present version,
416   -but may differ in detail to address new problems or concerns.
417   -
418   -Each version is given a distinguishing version number. If the Library
419   -specifies a version number of this License which applies to it and
420   -"any later version", you have the option of following the terms and
421   -conditions either of that version or of any later version published by
422   -the Free Software Foundation. If the Library does not specify a
423   -license version number, you may choose any version ever published by
424   -the Free Software Foundation.
425   -
426   - 14. If you wish to incorporate parts of the Library into other free
427   -programs whose distribution conditions are incompatible with these,
428   -write to the author to ask for permission. For software which is
429   -copyrighted by the Free Software Foundation, write to the Free
430   -Software Foundation; we sometimes make exceptions for this. Our
431   -decision will be guided by the two goals of preserving the free status
432   -of all derivatives of our free software and of promoting the sharing
433   -and reuse of software generally.
434   -
435   - NO WARRANTY
436   -
437   - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
438   -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
439   -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
440   -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
441   -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
442   -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
443   -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
444   -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
445   -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
446   -
447   - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
448   -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
449   -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
450   -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
451   -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
452   -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
453   -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
454   -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
455   -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
456   -DAMAGES.
457   -
458   - END OF TERMS AND CONDITIONS
459   -
classesjs/jsobjects/Readme.txt
... ... @@ -1,42 +0,0 @@
1   -jsObjects
2   -By: Jonathan Wise
3   -www.jonandnic.com
4   -
5   -License
6   -jsObjects are distributed under a lesser GPL license.
7   -You are free to use this product and/or produce derivative works from it,
8   -provided that the original source code, and this license are included,
9   -and that the original author, Jonathan Wise, is credited.
10   -
11   -1.0 - Initial Release
12   -1.2 - Included jsDA-wsBind
13   -1.3 - Included jsUI-Grid
14   -1.4 - Included jsUI-Tabstrip
15   -1.5 - Additions to common functions (jsUI-Global)
16   -1.6 - Better error handling on jsDA-wsBind, improvements to jsUI-Grid
17   -1.7 - Asynchronous web service call functionality added
18   - Changed the way skins load for the tab strip
19   - getGridData enhanced, now matches getFormData schema
20   - Improved cell edit mode in Grid
21   -1.8 - Improves asynchronous calls, adds functionality to the tabstrip
22   - Introduces keyboard controls and a removeRow function to the Grid
23   -1.9 - Improved keyboard controls in Grid
24   - New datatypes added for jsUI-Textbox
25   -2.0 - Massive improvements to keyboard controls in grid
26   - Added jsUI-Textbox integration for input constraints
27   - Changed checkbox behaviour
28   - Minor changes to jsUI-Textbox
29   -2.1 - Began project to update all documentation into standard XML schema
30   -2.1a - More documentation updated
31   -2.1b - Standardized and began replacing samples
32   -2.2 - Added currentTab property to the jsUI-Tabstrip
33   - Fixed sizing problems in jsUI-Toolbar and jsUI-Tabstrip in latest build of Firefox
34   - Added keyFailed event to jsUI-Textbox
35   - Updated samples
36   -2.3 - Finished updating samples
37   - Major improvements to Grid sizing problems
38   - Added local sample webservice for jsDA-wsBind, for use on a .NET Framework 2.0
39   - (or compatible)server
40   -2.4 - Added Installer
41   - Minor Grid fixes
42   -2.4.1 - Minor bug fixes
43 0 \ No newline at end of file
classesjs/jsobjects/Web.Config
... ... @@ -1,47 +0,0 @@
1   -<?xml version="1.0"?>
2   -<!--
3   - Note: As an alternative to hand editing this file you can use the
4   - web admin tool to configure settings for your application. Use
5   - the Website->Asp.Net Configuration option in Visual Studio.
6   - A full list of settings and comments can be found in
7   - machine.config.comments usually located in
8   - \Windows\Microsoft.Net\Framework\v2.x\Config
9   --->
10   -<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
11   - <appSettings/>
12   - <connectionStrings/>
13   - <system.web>
14   - <!--
15   - Set compilation debug="true" to insert debugging
16   - symbols into the compiled page. Because this
17   - affects performance, set this value to true only
18   - during development.
19   - -->
20   - <compilation debug="true">
21   - <compilers>
22   - <compiler language="vb" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" extension=".VB" compilerOptions="/define:Debug=True /define:Trace=True /imports:Microsoft.VisualBasic,System,System.Collections,System.Data,System.Diagnostics,System.Web,System.Web.Services /define:Debug=True /define:Trace=True /imports:Microsoft.VisualBasic,System,System.Collections,System.Data,System.Diagnostics,System.Web,System.Web.Services /define:Debug=True /define:Trace=True /imports:Microsoft.VisualBasic,System,System.Collections,System.Data,System.Diagnostics,System.Web,System.Web.Services"/></compilers></compilation>
23   - <!--
24   - The <authentication> section enables configuration
25   - of the security authentication mode used by
26   - ASP.NET to identify an incoming user.
27   - -->
28   - <authentication mode="Windows"/>
29   - <!--
30   - The <customErrors> section enables configuration
31   - of what to do if/when an unhandled error occurs
32   - during the execution of a request. Specifically,
33   - it enables developers to configure html error pages
34   - to be displayed in place of a error stack trace.
35   -
36   - <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
37   - <error statusCode="403" redirect="NoAccess.htm"/>
38   - <error statusCode="404" redirect="FileNotFound.htm"/>
39   - </customErrors>
40   - -->
41   - <pages>
42   - <namespaces>
43   - <add namespace="Microsoft.VisualBasic"/>
44   - <add namespace="System.Data"/>
45   - <add namespace="System.Diagnostics"/>
46   - <add namespace="System.Web.Services"/></namespaces></pages></system.web>
47   -</configuration>
classesjs/jsobjects/documentation.css
... ... @@ -1,17 +0,0 @@
1   -ul {text-align:left;list-style-type:none;padding-left: 15px;margin-left:5px; margin-top:15px;}
2   -li {margin-top:-10px;margin-bottom:15px;}
3   -.toc {margin-left: 15px;}
4   -.details {margin-left: 5px;}
5   -h3 { margin-top:0px; margin-bottom:0px; font-size:18px; color: #3B6BD2;}
6   -.sample {padding-left: 10px; font-size: 12px; margin-bottom: 25px; padding-bottom: 5px; border-bottom: 5px solid #3B6BD2;}
7   -.description {padding-left: 10px; font-size: 12px; margin-top: 10px; margin-bottom: 25px; padding-bottom: 5px; border-bottom: 1px dotted gray;}
8   -.header {background-color: #5B84EE; padding-top:3px;padding-bottom:3px;padding-left:3px;padding-right:3px; border: 1px solid #C0C0C0; }
9   -.footer {background-color: #E4E4E4;padding-top:3px;padding-bottom:3px;padding-left:10px;padding-right:3px; border: 1px solid #C0C0C0; }
10   -.code {background-color: #F1F1F1; font-family: Courier New; font-size: 9pt; color: #000080; padding: 5px;}
11   -.function {width:94%; background-color: #C0C0C0; border: 1px solid #A0A0A0; padding: 5px;font-family: Courier New; font-size: 9pt;}
12   -body {font-family: verdana;font-size: 8pt;}
13   -td {font-family: verdana;font-size: 8pt;}
14   -th {font-family: verdana;font-size: 8pt;}
15   -.ftable {padding-top:5px;padding-bottom:5px;padding-left:5px;padding-right:5px;}
16   -input { font-size: 11px; }
17   -select { font-size: 11px; }
classesjs/jsobjects/documentation.xml
... ... @@ -1,79 +0,0 @@
1   -<?xml version="1.0"?>
2   -<?xml:stylesheet type="text/xsl" href="documentation.xsl"?>
3   -<?xml-stylesheet href="documentation.xsl" type="text/xsl" media="screen"?>
4   -<doc xml:whitespace="preserve">
5   - <assembly>
6   - <name>jsUI-Treeview</name>
7   - <code>
8   - <c>var mytreeview = new Object();</c>
9   - <c>mytreeview = treeviewNew("mytreeview", "default", document.getElementById("treeCell"), null);</c>
10   - <c>mytreeview.itemClick = doClick;</c>
11   - <c>mytreeview.itemExpand = loadBranch;</c>
12   - <c>mytreeview.createItem("item1", "First Item", "../images/icon.jpg", true, true, true, null);</c>
13   - <c>mytreeview.createItem("item1-1", "First Item Child", "../images/icon.jpg", true, true, true, "item1");</c>
14   - </code>
15   - <remarks>The treeview is a nested navigation control, based on those frequently found in Windows or the MacOS. It is compatible with Internet Explorer 5.0 and FireFox 1.0 or better.</remarks>
16   - <requirements>
17   - <para>jsUI-Global/common.js</para>
18   - <para>jsUI-Global/uiCommon.js</para>
19   - <para>jsUI-Treeview/component.js</para>
20   - </requirements>
21   - <sample>index.htm</sample>
22   - </assembly>
23   - <Property>
24   - <member name="treeviewParent">
25   - <summary>The DOM object to which the treeview is attached. Frequently a DIV or TD.</summary>
26   - <code>alert (mytreeview.treeviewParent.id);</code>
27   - <remarks>DOM Object. This property is assigned on instantiation and is read only.</remarks>
28   - </member>
29   - <member name="rootDir">
30   - <summary>Gets or sets the string value representing the path to the root of the jsObjects directory. Used for calculating style and graphics file paths. Initially set during instantiation.</summary>
31   - <code>mytreeview.rootDir = "http://localhost/libraries/jsobjects";</code>
32   - <default>http://&lt;server&gt;/jsObjects</default>
33   - <remarks>String. This value only needs to be set if jsObjects is installed in a custom location.</remarks>
34   - </member>
35   - </Property>
36   - <Method>
37   - <member name="treeviewNew (string, string, object, string)">
38   - <summary>Instantiates the treeview through assignment into a Javascript object.</summary>
39   - <param name="treeviewName">Required. The name for the new treeview. Must match the name of an empty Javascript object to contain the treeview.</param>
40   - <param name="skinName">Optional. The name of the CSS (excluding the extension and path) file to use for the treeview. If left blank, "default" will be used.</param>
41   - <param name="treeviewParent">Optional. The DOM object that the treeview is to be attached to. If no value is passed, the treeview will be appended to document.body</param>
42   - <param name="rootDir">Optional. The path to the root of the jsObjects directory. If left blank, the default path will be used.</param>
43   - <code>
44   - <c>var mytreeview = new Object();</c>
45   - <c>mytreeview = treeviewNew("mytreeview", "default", document.getElementById("treeviewDiv"), "../jsobjects");</c>
46   - </code>
47   - <returns>The treeview object.</returns>
48   - <remarks>This is the only method that does not appear to be a member of the object -- because the object can't have members until it's instantiated. A blank object is created and will be filled with the jsUI-treeview members.</remarks>
49   - </member>
50   - <member name="createItem (string, string, string, boolean, boolean, boolean, string)">
51   - <summary>Creates a branch icon in the specified folder in the treeview.</summary>
52   - <param name="itemID">Required. A unique string to be used as the DOM ID for the new tree item.</param>
53   - <param name="itemName">Required. The text that appears as the title of the new tree item.</param>
54   - <param name="itemImg">Optional. The icon for the new tree item.</param>
55   - <param name="hasChildren">Required. Indicates whether or not there are children below the new tree item. If null is passed an "indeterminate" indicator is used to show the user that the heirarchy is not known until the item is expanded.</param>
56   - <param name="preload">Required. Indicates whether or not the item has been pre-loaded. This is used to determine the show/hide behaviour of children. If a nodes children are populated by a local function, then preload is false, since that function can be called to re-populate the branch next time it is expanded. If, however, the branch was pre-loaded by server-side code, or some non-local function, the parent node's heirarchy will be preserved -- hidden and shown, on collapse/expand -- instead of being destroyed and re-created.</param>
57   - <param name="show">Required. Determines whether or not to show the item on the tree. If the item is a child of an un-expanded parent, then show should be false.</param>
58   - <param name="parentID">Required. The parent item to add the new item to. If omitted, the new item will be appended to the root item of the tree, or the last item on the root level.</param>
59   - <code>mytreeview.createItem("item1", "First Item", "../images/icon.jpg", true, true, true, null);</code>
60   - <returns>Nothing</returns>
61   - </member>
62   - </Method>
63   - <Event>
64   - <member name="itemClick">
65   - <summary>Fires whenever a item is clicked, passing the ID of target object, so that external code can respond.</summary>
66   - <code>
67   - mytreeview.itemClick = <i>handler</i>;
68   - </code>
69   - <remarks>The handler should accept one string parameter which will contain the ID of the button clicked.</remarks>
70   - </member>
71   - <member name="itemExpand">
72   - <summary>Fires whenever a tree branch expand action happens, passing the ID of target object, so that external code can respond by populating the target node's children.</summary>
73   - <code>
74   - mytreeview.itemExpand = <i>handler</i>;
75   - </code>
76   - <remarks>The handler should accept one string parameter which will contain the ID of the button clicked.</remarks>
77   - </member>
78   - </Event>
79   -</doc>
80 0 \ No newline at end of file
classesjs/jsobjects/documentation.xsl
... ... @@ -1,411 +0,0 @@
1   -<?xml version="1.0" encoding="UTF-8" ?>
2   -<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3   - <xsl:template name="JSCRIPT">
4   - <script>
5   - <![CDATA[
6   - var currname = "";
7   - var currparams = new Array();
8   - var pcount = 0;
9   - if (document.all)
10   - browser = "IE";
11   - else
12   - browser = "MOZ";
13   -
14   - function getParams(param)
15   - {
16   - currparams[pcount] = param;
17   - pcount=pcount + 1;
18   - }
19   - function getCode(name, obj)
20   - {
21   - currname = name.split("(");
22   - var parampart = currname[1];
23   - parampart = parampart.replace(")", "")
24   - parampart = parampart.split(",");
25   -
26   - for (i = 0; i < parampart.length; i++)
27   - {
28   - parampart[i] = "<br/><font color='#c0c0c0'>.....</font>" + parampart[i].replace(" ", "") + " <b>" + currparams[i] + "</b>"
29   - }
30   -
31   - currname = "<b>" + currname[0] + "</b>(" + parampart + "<br/>);";
32   - if (document.all)
33   - document.writeln(currname);
34   - else
35   - document.getElementById(obj).innerHTML = currname;
36   - }
37   - function getFunction(name, obj)
38   - {
39   - if(name.indexOf("(") != "-1")
40   - {
41   - currname = name.split("(");
42   - var parampart = currname[1];
43   - parampart = parampart.replace(")", "")
44   - parampart = parampart.split(",");
45   -
46   - currname = "<b>" + currname[0] + "</b>(" + parampart + ");";
47   - if (document.all)
48   - document.writeln(currname);
49   - else
50   - document.getElementById(obj).innerHTML = currname;
51   - }
52   - else
53   - {
54   - if (document.all)
55   - document.writeln("");
56   - }
57   - }
58   - function getName(name)
59   - {
60   - currname = name.split("(");
61   - document.writeln (currname[0]);
62   - }
63   - function resetCount()
64   - {
65   - pcount = 0;
66   - return "";
67   - }
68   - ]]>
69   -
70   - </script>
71   - </xsl:template>
72   - <xsl:template match="doc">
73   -
74   - <html>
75   - <head>
76   - <title>
77   - <xsl:value-of select="assembly/name" /> Library Documentation</title>
78   - <link rel='stylesheet' type='text/css' href='../documentation.css'></link>
79   - <LINK REL="shortcut icon" HREF="../images/jsobjects-s.ico" TYPE="image/x-icon"/>
80   - <xsl:call-template name="JSCRIPT"/>
81   - </head>
82   - <body marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" vlink="#0000ff" link="#0000ff" alink="#0000ff">
83   - <div class="header" width="100%">
84   - <table border="0" width="98%" cellpadding="0" cellspacing="0">
85   - <tr><td>
86   - <b>
87   - <i>
88   - <span style="FONT-SIZE: 10pt"><xsl:value-of select="assembly/name" /> Library Documentation</span>
89   - </i>
90   - </b>
91   - <br />
92   - </td>
93   - <td align="right">
94   - <a style="color:white" href="../index.htm">Home</a>
95   - </td>
96   - </tr>
97   - </table>
98   - </div>
99   - <xsl:if test="assembly/remarks">
100   - <blockquote class="details">
101   - <b>Remarks</b>
102   - <ul>
103   - <li>
104   - <xsl:if test="count(assembly/remarks/para) > 0">
105   - <xsl:for-each select="assembly/remarks/para">
106   - <xsl:value-of select="." />
107   - <br />
108   - </xsl:for-each>
109   - </xsl:if>
110   - <xsl:if test="count(assembly/remarks/para) = 0">
111   - <xsl:value-of select="assembly/remarks" />
112   - </xsl:if>
113   - </li>
114   - </ul>
115   - </blockquote>
116   - </xsl:if>
117   - <xsl:if test="assembly/requirements">
118   - <blockquote class="details">
119   - <b>Requirements</b>
120   - <ul>
121   - <li>
122   - <xsl:if test="count(assembly/requirements/para) > 0">
123   - <xsl:for-each select="assembly/requirements/para">
124   - <xsl:value-of select="." />
125   - <br />
126   - </xsl:for-each>
127   - </xsl:if>
128   - <xsl:if test="count(assembly/requirements/para) = 0">
129   - <xsl:value-of select="assembly/requirements" />
130   - </xsl:if>
131   - </li>
132   - </ul>
133   - </blockquote>
134   - </xsl:if>
135   - <xsl:if test="assembly/code">
136   - <blockquote class="details">
137   - <b>Sample Code</b>
138   - <br />
139   - <ul>
140   - <li class="code">
141   - <xsl:if test="count(assembly/code/c) > 0">
142   - <xsl:for-each select="assembly/code/c">
143   - <xsl:value-of select="." />
144   - <br />
145   - </xsl:for-each>
146   - </xsl:if>
147   - <xsl:if test="count(assembly/code/c) = 0">
148   - <xsl:value-of select="assembly/code" />
149   - </xsl:if>
150   - </li>
151   - </ul>
152   - </blockquote>
153   - </xsl:if>
154   - <xsl:if test="assembly/sample">
155   - <blockquote class="details">
156   - <b>
157   - <a>
158   - <xsl:attribute name="href">
159   - <xsl:value-of select="assembly/sample"/>
160   - </xsl:attribute>
161   - Sample Implementation
162   - </a>
163   - </b>
164   - </blockquote>
165   - </xsl:if>
166   - <div class="header" width="100%">
167   - <table border="0" width="95%" cellpadding="0" cellspacing="0">
168   - <tr>
169   - <td>
170   - <b>
171   - <span style="font-size: 10pt">
172   - <a name="members"> Members</a>
173   - </span>
174   - </b>
175   - </td>
176   - </tr>
177   - </table>
178   - </div>
179   - <!--Table of Contents-->
180   - <blockquote class="toc">
181   - <table bgcolor="#A0A0A0" border="0" cellspacing="1" align="center" class="ftable" style="padding:0px">
182   - <tr>
183   - <th class="ftable" align="left" bgcolor="#D0D0D0">Type</th>
184   - <th class="ftable" align="left" bgcolor="#D0D0D0">Member</th>
185   - <th class="ftable" align="left" bgcolor="#D0D0D0">Description</th>
186   - </tr>
187   - <xsl:for-each select="//member">
188   - <xsl:sort order="ascending" select="name(../.)"/>
189   - <xsl:sort order="ascending" select="@name" />
190   - <tr>
191   - <td class="ftable" bgcolor="#FFFFFF" valign="top">
192   - <b>
193   - <xsl:value-of select="name(../.)"/>
194   - </b>
195   - </td>
196   - <td class="ftable" bgcolor="#FFFFFF" width="50%" valign="top">
197   - <a>
198   - <xsl:attribute name="href">#<xsl:value-of select="@name" /></xsl:attribute>
199   - <xsl:value-of select="@name" />
200   - </a>
201   - <xsl:if test="@private='true'">
202   - <i> private</i>
203   - </xsl:if>
204   - </td>
205   - <td class="ftable" bgcolor="#FFFFFF" width="50%" valign="top">
206   - <xsl:value-of select="summary" />
207   - </td>
208   - </tr>
209   - </xsl:for-each>
210   - </table>
211   - <br/>
212   - </blockquote>
213   - <hr style="page-break-before: always" size="0" color="#FFFFFF" />
214   - <!--Each Function-->
215   - <xsl:for-each select="//member">
216   - <xsl:sort order="ascending" select="@name" />
217   - <div class="header" width="100%">
218   - <table border="0" width="98%" cellpadding="0" cellspacing="0">
219   - <tr>
220   - <td>
221   - <b>
222   - <a>
223   - <xsl:attribute name="name">
224   - <xsl:value-of select="@name" />
225   - </xsl:attribute>
226   - <xsl:value-of select="@name" />
227   - </a>
228   - </b>
229   - <xsl:if test="@private='true'">
230   - <i> Private</i>
231   - </xsl:if>
232   - <xsl:value-of select= "concat(' ',name(../.))"/>
233   - </td>
234   - <td align="right">
235   - <a style="color:white" href="#members">Contents</a>
236   - </td>
237   - </tr>
238   - </table>
239   - </div>
240   -
241   - <!--Summary-->
242   - <ul>
243   - <li>
244   - <xsl:if test="count(summary/para) > 0">
245   - <xsl:for-each select="summary/para">
246   - <xsl:value-of select="." />
247   - <br />
248   - </xsl:for-each>
249   - </xsl:if>
250   - <xsl:if test="count(summary/para) = 0">
251   - <xsl:value-of select="summary" />
252   - </xsl:if>
253   - </li>
254   - <!--Function Code Segment-->
255   - <xsl:if test="contains(@name, '(')">
256   - <li></li>
257   - <li>
258   - <div class="function">
259   - <xsl:attribute name="id">
260   - <xsl:value-of select="@name" />
261   - </xsl:attribute>
262   - <script>resetCount()</script>
263   - <xsl:if test="count(param) > 0">
264   - <xsl:for-each select="param">
265   - <script>getParams('<xsl:value-of select="@name" />');</script>
266   - </xsl:for-each>
267   - <script>getCode('<xsl:value-of select="@name" />', '<xsl:value-of select="@name"/>');</script>
268   - </xsl:if>
269   - <xsl:if test="count(param) = 0">
270   - <script>getFunction('<xsl:value-of select="@name" />', '<xsl:value-of select="@name"/>')</script>
271   - </xsl:if>
272   - </div>
273   - </li>
274   - </xsl:if>
275   - </ul>
276   - <blockquote class="details">
277   - <!--Parameters Segment-->
278   - <xsl:if test="count(param) > 0">
279   - <b>Parameters</b>
280   - <ul>
281   - <xsl:for-each select="param">
282   - <li>
283   - <i>
284   - <xsl:value-of select="@name" />
285   - </i>
286   - </li>
287   - <ul>
288   - <li>
289   - <xsl:if test="count(para) > 0">
290   - <xsl:for-each select="para">
291   - <xsl:value-of select="." />
292   - <br />
293   - </xsl:for-each>
294   - </xsl:if>
295   - <xsl:if test="count(para) = 0">
296   - <xsl:value-of select="." />
297   - </xsl:if>
298   - </li>
299   - </ul>
300   - </xsl:for-each>
301   - </ul>
302   - </xsl:if>
303   - <!--Returns Segment-->
304   - <xsl:if test="default">
305   - <b>Default</b>
306   - <br />
307   - <ul>
308   - <li>
309   - <xsl:value-of select="default" />
310   - </li>
311   - </ul>
312   - </xsl:if>
313   - <!--Returns Segment-->
314   - <xsl:if test="returns">
315   - <b>Returns</b>
316   - <br />
317   - <ul>
318   - <li>
319   - <xsl:if test="count(returns/para) > 0">
320   - <xsl:for-each select="returns/para">
321   - <xsl:value-of select="." />
322   - <br />
323   - </xsl:for-each>
324   - </xsl:if>
325   - <xsl:if test="count(returns/para) = 0">
326   - <xsl:value-of select="returns" />
327   - </xsl:if>
328   - </li>
329   - </ul>
330   - </xsl:if>
331   - <!--Sample Code By Itself-->
332   - <xsl:if test="code">
333   - <b>Sample Code</b>
334   - <br />
335   - <ul>
336   - <li class="code">
337   - <xsl:if test="count(code/c) > 0">
338   - <xsl:for-each select="code/c">
339   - <xsl:value-of select="." />
340   - <br />
341   - </xsl:for-each>
342   - </xsl:if>
343   - <xsl:if test="count(code/c) = 0">
344   - <xsl:value-of select="code" />
345   - </xsl:if>
346   - </li>
347   - </ul>
348   - </xsl:if>
349   - <!--Remarks-->
350   - <xsl:if test="remarks">
351   - <b>Remarks</b>
352   - <br />
353   - <ul>
354   - <li>
355   - <xsl:if test="count(remarks/para) > 0">
356   - <xsl:for-each select="remarks/para">
357   - <xsl:value-of select="." />
358   - <br />
359   - </xsl:for-each>
360   - </xsl:if>
361   - <xsl:if test="count(remarks/para) = 0">
362   - <xsl:value-of select="remarks" />
363   - </xsl:if>
364   - </li>
365   - </ul>
366   - <!--Example Code within remarks-->
367   - <xsl:if test="example">
368   - <b>Example</b>
369   - <br />
370   - <ul>
371   - <li class="code">
372   - <xsl:if test="count(example/c) > 0">
373   - <xsl:for-each select="example/c">
374   - <xsl:value-of select="." />
375   - <br />
376   - </xsl:for-each>
377   - </xsl:if>
378   - <xsl:if test="count(example/c) = 0">
379   - <xsl:value-of select="example" />
380   - </xsl:if>
381   - </li>
382   - </ul>
383   - </xsl:if>
384   - </xsl:if>
385   - <!--See Also-->
386   - <xsl:if test="count(seealso) > 0">
387   - <b>See Also</b>
388   - <br />
389   - <ul>
390   - <xsl:for-each select="seealso">
391   - <li>
392   - <a>
393   - <xsl:attribute name="href">#<xsl:value-of select="@cref" /></xsl:attribute>
394   - <xsl:value-of select="@cref" />
395   - </a>
396   - </li>
397   - </xsl:for-each>
398   - </ul>
399   - </xsl:if>
400   - </blockquote>
401   - <hr style="page-break-before: always" size="0" color="#FFFFFF" />
402   - </xsl:for-each>
403   - <br />
404   - <div class="footer">
405   - © 2005 Jonathan Wise. <a href="license.txt">Some rights reserved</a>.
406   - </div>
407   - <br />
408   - </body>
409   - </html>
410   - </xsl:template>
411   -</xsl:stylesheet>
412 0 \ No newline at end of file
classesjs/jsobjects/index.htm
... ... @@ -1,179 +0,0 @@
1   -<html>
2   -
3   -<head>
4   - <title>jsObjects Collection</title>
5   - <link rel='stylesheet' type='text/css' href='documentation.css'></link>
6   - <LINK REL="shortcut icon" HREF="images/jsobjects-s.ico" TYPE="image/x-icon">
7   -</head>
8   -
9   -<body marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" vlink="#0000ff" link="#0000ff" alink="#0000ff">
10   -
11   -<div class="header" width="100%">
12   - <table cellSpacing="0" cellPadding="0" width="98%" border="0">
13   - <tr>
14   - <td><b><i><span style="FONT-SIZE: 10pt">jsObjects Collection</span></i> - Version 2.4.1</b></td>
15   - <td align="right">
16   - By: <a style="color:white" href="http://www.jonandnic.com/jonathan">Jonathan Wise</a>&nbsp;</td>
17   - </tr>
18   - </table>
19   -</div>
20   -<blockquote class="details">
21   - <p><b>About</b> </p>
22   - <ul>
23   - <li><img src="images/jsobjects.gif" align="left" />jsObjects are a collection of <a href="http://en.wikipedia.org/wiki/AJAX">AJAX</a>
24   - controls that can be used to rapidly build professional
25   - looking web applications. The objects are written in pure Javascript and, unless
26   - noted otherwise, work in both Internet Explorer and Firefox.<br />
27   - Click on the component links below to read the documentation and view a sample.<br /><br />
28   - - <a href="readme.txt">Change Log</a>
29   - </li></ul>
30   -</blockquote>
31   -<blockquote class="details">
32   - <p><b>Purpose</b> </p>
33   - <ul>
34   - <li>Although DHTML is a powerful tool for controlling page elements, HTML has traditionally lacked the toolkit of a traditional development environment. ActiveX or Java controls can help, but security or virtual machines issues make deployment a problem. DHTML behaviours and XUL offer much of the functionality of these binary (or close to binary) methods, but they are not browser independant.
35   - jsObjects solves these problems using AJAX -- a relatively new, but increasingly popular, combination of existing
36   - technologies to create dynamic and interactive applications. jsObjects provides
37   - controls for both user interface and data access without a single line of compiled
38   - client-side code.</li></ul>
39   -</blockquote>
40   -
41   -<blockquote class="details">
42   - <p><b>Requirements</b> </p>
43   - <ul>
44   - <li>In general, the components require Internet Explorer 5.0 or Mozilla FireFox 1.0
45   - as a minimum. The data access components are written to consume .NET webservice
46   - responses and haven't been tested on any other webservices. The do however, handle
47   - well formed WSDL, so should theoretically work with any compliant server.&nbsp;</li></ul>
48   -</blockquote>
49   -<blockquote class="details">
50   - <p><b>Get jsObjects</b></p>
51   - <ul>
52   - <li>
53   - - <a href="http://www.jonandnic.com/jsobjects/jsObjects.zip">Download the Zip File</a><br />
54   - - <a href="http://www.jonandnic.com/jsobjects/jsObjectsSetup.msi">Download the Installer</a> (Windows Servers only)</li></ul>
55   -</blockquote>
56   -<div class="header" width="100%">
57   - <table cellSpacing="0" cellPadding="0" width="98%" border="0">
58   - <tr>
59   - <td><b><span style="FONT-SIZE: 10pt"><a name="members">Members</a></span></b></td>
60   - </tr>
61   - </table>
62   -</div>
63   -<blockquote class="toc">
64   - <table class="ftable" cellSpacing="1" align="center" bgColor="#a0a0a0" border="0" style="padding:0px">
65   - <tr>
66   - <th class="ftable" align="left" bgColor="#d0d0d0" width="100">Type</th>
67   - <th class="ftable" align="left" bgColor="#d0d0d0" width="165">Member</th>
68   - <th class="ftable" align="left" bgColor="#d0d0d0">Description</th>
69   - </tr>
70   - <tr>
71   - <td class="ftable" vAlign="top" bgColor="#ffffff" width="100"><b>Common</b></td>
72   - <td class="ftable" vAlign="top" width="165" bgColor="#ffffff">
73   - <b>jsUI-Global</b><br />
74   - &nbsp;&nbsp; - <a href="jsui-global/documentation.xml">Reference</a></td>
75   - <td class="ftable" vAlign="top" bgColor="#ffffff">
76   - Private and public extensions to Javascript that provide core functionality for
77   - all jsObjects, as well as enhancing Javascript functionality with simple solutions
78   - for common problems involved in dealing with XML and cross-browser programming.</td>
79   - </tr>
80   - <tr>
81   - <td class="ftable" vAlign="top" bgColor="#ffffff" width="100"><b>Interface</b></td>
82   - <td class="ftable" vAlign="top" width="165" bgColor="#ffffff">
83   - <b>jsUI-Taskbar</b><br />
84   - &nbsp;&nbsp; - <a href="jsui-taskbar/documentation.xml">Reference</a><br />
85   - &nbsp;&nbsp; - <a href="jsui-taskbar/index.htm">Sample</a></td>
86   - <td class="ftable" vAlign="top" bgColor="#ffffff">
87   - A cross-browser functional, re-useable taskbar element that can be easily added
88   - to any web page. Supports multiple instances, programmatic creation, and skins.</td>
89   - </tr>
90   - <tr>
91   - <td class="ftable" vAlign="top" bgColor="#ffffff" width="100"><b>Interface</b></td>
92   - <td class="ftable" vAlign="top" width="165" bgColor="#ffffff">
93   - <b>jsUI-Treeview</b><br />
94   - &nbsp;&nbsp; - <a href="jsUI-Treeview/documentation.xml">Reference</a><br />
95   - &nbsp;&nbsp; - <a href="jsUI-Treeview/index.htm">Sample</a></td>
96   - <td class="ftable" vAlign="top" bgColor="#ffffff">
97   - A cross-browser functional, re-useable treeview element that can be easily added
98   - to any web page. Supports multiple instances, programmatic creation, and skins.
99   - Can handle preloaded data, such as server-side population, or by-level data,
100   - such as a web service call.</td>
101   - </tr>
102   - <tr>
103   - <td class="ftable" vAlign="top" bgColor="#ffffff" width="100"><b>Interface</b></td>
104   - <td class="ftable" vAlign="top" width="165" bgColor="#ffffff">
105   - <b>jsUI-Toolbar</b><br />
106   - &nbsp;&nbsp; - <a href="jsUI-Toolbar/documentation.xml">Reference</a><br />
107   - &nbsp;&nbsp; - <a href="jsUI-Toolbar/index.htm">Sample</a></td>
108   - <td class="ftable" vAlign="top" bgColor="#ffffff">
109   - A cross-browser functional, re-useable toolbar element that can be easily added
110   - to any web page. Supports multiple instances, programmatic creation, and skins.
111   - Buttons and seperators can be added with a single line of code.</td>
112   - </tr>
113   - <tr>
114   - <td class="ftable" vAlign="top" bgColor="#ffffff" width="100"><b>Interface</b></td>
115   - <td class="ftable" vAlign="top" width="165" bgColor="#ffffff">
116   - <b>jsUI-Tabstrip</b><br />
117   - &nbsp;&nbsp; - <a href="jsui-tabstrip/documentation.xml">Reference</a><br />
118   - &nbsp;&nbsp; - <a href="jsui-tabstrip/index.htm">Sample</a></td>
119   - <td class="ftable" vAlign="top" bgColor="#ffffff">
120   - A cross-browser functional, re-useable tabstrip element that can be easily added
121   - to any web page. Supports multiple instances, programmatic creation, and skins.
122   - New tabs can be added with a single line of code.</td>
123   - </tr>
124   - <tr>
125   - <td class="ftable" vAlign="top" bgColor="#ffffff" width="100"><b>Interface</b></td>
126   - <td class="ftable" vAlign="top" width="165" bgColor="#ffffff">
127   - <b>jsUI-Textbox</b><br />
128   - &nbsp;&nbsp; - <a href="jsUI-Textbox/documentation.xml">Reference</a><br />
129   - &nbsp;&nbsp; - <a href="jsUI-Textbox/index.htm">Sample</a></td>
130   - <td class="ftable" vAlign="top" bgColor="#ffffff">
131   - A cross-browser functional, re-useable textbox enhancer that validates and enforces
132   - datatypes in textboxes.</td>
133   - </tr>
134   - <tr>
135   - <td class="ftable" vAlign="top" bgColor="#ffffff" width="100"><b>Interface</b></td>
136   - <td class="ftable" vAlign="top" width="165" bgColor="#ffffff">
137   - <b>jsUI-Grid</b><br />
138   - &nbsp;&nbsp; - <a href="jsui-grid/documentation.xml">Reference</a><br />
139   - &nbsp;&nbsp; - <a href="jsui-grid/index.htm">Sample</a></td>
140   - <td class="ftable" vAlign="top" bgColor="#ffffff">
141   - <i>final beta</i><br />
142   - A grid that allows you to programmatically add columns, rows and cells that the
143   - user can interact with. The grid is cross-browser functional, and supports multiple instances.</td>
144   - </tr>
145   - <tr>
146   - <td class="ftable" vAlign="top" bgColor="#ffffff" width="100"><b>Interface</b></td>
147   - <td class="ftable" vAlign="top" width="165" bgColor="#ffffff">
148   - <b>jsUI-HTMLEdit</b><br/>
149   - &nbsp;&nbsp; - <a href="jsUI-HTMLEdit/documentation.xml">Reference</a><br />
150   - &nbsp;&nbsp; - <a href="jsUI-HTMLEdit/index.htm">Sample</a></td>
151   - <td class="ftable" vAlign="top" bgColor="#ffffff">
152   - <i>pre-beta</i><br />
153   - A cross-browser functional, re-useable editor, using the iframe object. This handles
154   - all the differences between IE and Mozilla's designModes, and can load HTML from a web address, and return HTML (optionally encoded) for saving. Combined with other
155   - jsObjects you can make professional looking editors with some very simple code.
156   - This object contains only the programming interfaces, allowing you to add your own
157   - UI in whatever method you prefer.</td>
158   - </tr>
159   - <tr>
160   - <td class="ftable" vAlign="top" bgColor="#ffffff" width="100"><b>Data Access</b></td>
161   - <td class="ftable" vAlign="top" width="165" bgColor="#ffffff">
162   - <b>jsDA-wsBind</b><br/>
163   - &nbsp;&nbsp; - <a href="jsDA-wsBind/documentation.xml">Reference</a><br />
164   - &nbsp;&nbsp; - <a href="jsDA-wsBind/index.htm">Sample</a></td>
165   - <td class="ftable" vAlign="top" bgColor="#ffffff">
166   - A data access component that binds a JavaScript object to a webservice, allowing
167   - you to synchronously or asychronously call a webservice in JavaScript without needing to worry about creating
168   - the HTTP connections or messages. It drastically simplifies webservice interaction,
169   - and supports both IE and Mozilla.</td>
170   - </tr>
171   - </table>
172   -</blockquote>
173   - <br />
174   - <div class="footer">© 2005 Jonathan Wise. <a href="license.txt">Some rights reserved</a>. </div>
175   - <br />
176   -
177   -</body>
178   -
179   -</html>
180 0 \ No newline at end of file
classesjs/jsobjects/jsUI-Treeview/absolute.css
... ... @@ -1,21 +0,0 @@
1   -.TreeviewMain
2   -{
3   - font-family: Arial, Helvetica; font-size: 11px;
4   - margin-left: -15px;
5   -}
6   -.TreeviewItem
7   -{
8   - margin-left: 0px; padding-left: 15px; margin-top: 3px;
9   -}
10   -.TreeviewItemTextClicked
11   -{
12   - background-color: #E0DFE3; color: black; text-decoration: none; cursor: default; padding: 1px; border: 1px dotted #9D9DA1;
13   -}
14   -.TreeviewItemTextOut
15   -{
16   - /*text-decoration: none; padding: 2px;*/
17   -}
18   -.TreeviewItemTextOver
19   -{
20   - /*color: Navy; text-decoration: underline; cursor: default;padding: 2px;*/
21   -}
22 0 \ No newline at end of file
classesjs/jsobjects/jsUI-Treeview/antigo.htm
... ... @@ -1,128 +0,0 @@
1   -<html>
2   -<head>
3   - <title>jsUI-Treeview Sample</title>
4   - <script language="javascript" src="../jsUI-Global/common.js"></script>
5   - <script language="javascript" src="../jsUI-Global/uiCommon.js"></script>
6   - <script language="javascript" src="../jsUI-Treeview/component.js"></script>
7   - <script>
8   - var mytreeview = new Object();
9   - function addTreeview()
10   - {
11   - mytreeview = treeviewNew("mytreeview", "default", document.getElementById("treeviewCell"), null);
12   - mytreeview.itemClick = doClick;
13   - mytreeview.itemExpand = doExpand;
14   - mytreeview.createItem("itmComputer", "Computer", "../images/computer-s.gif", true, true, true, null)
15   - mytreeview.createItem("itmCDrive", "c:\\", "../images/drive-s.gif", null, true, true, "itmComputer")
16   - mytreeview.createItem("folder1", "Folder 1", "../images/folder-s.gif", null, true, true, "itmCDrive")
17   - mytreeview.createItem("file3", "File 3", "../images/addressbook-s.gif", false, true, true, "itmCDrive")
18   - mytreeview.createItem("folder2", "Folder 2", "../images/folder-s.gif", null, true, true, "itmCDrive")
19   - mytreeview.createItem("file4a", "File 4a", "../images/addressbook-s.gif", false, true, false, "folder2")
20   - mytreeview.createItem("file4b", "File 4b", "../images/addressbook-s.gif", false, true, false, "folder2")
21   -
22   - //Activate other examples
23   - document.getElementById("btnAddTreeview").disabled = true;
24   - document.getElementById("btnAddItem").disabled = false;
25   - document.getElementById("btnAddCustomItem").disabled = false;
26   - }
27   -
28   - function doClick(itemID)
29   - {
30   - document.getElementById("txtItemValue").value = itemID;
31   - document.getElementById("txtExpandValue").value = "";
32   - }
33   -
34   - function doExpand(itemID)
35   - {
36   - document.getElementById("txtItemValue").value = "";
37   - document.getElementById("txtExpandValue").value = itemID;
38   -
39   - if (itemID == "folder1")
40   - {
41   - mytreeview.createItem(itemID + "a", "File a", "../images/addressbook-s.gif", false, false, true, itemID)
42   - mytreeview.createItem(itemID + "b", "File b", "../images/addressbook-s.gif", false, false, true, itemID)
43   - }
44   - }
45   -
46   - var lastItemNum = 1;
47   - function addItem()
48   - {
49   - mytreeview.createItem("itmUser" + lastItemNum, "User Item " + lastItemNum, "../images/drive-s.gif", null, true, true, "itmComputer")
50   - lastItemNum++;
51   - }
52   -
53   - function addCustomItem()
54   - {
55   - var useParent = document.getElementById("lstParent").options[document.getElementById("lstParent").selectedIndex].value;
56   - var text = document.getElementById("txtCustomValue").value;
57   - var image = document.getElementById("lstItemImage").options[document.getElementById("lstItemImage").selectedIndex].value;
58   - if (useParent != "none" && image != "none")
59   - {
60   - mytreeview.createItem("itmUser" + lastItemNum, text, image, false, true, true, useParent)
61   - lastItemNum++;
62   - }
63   - }
64   -
65   - </script>
66   - <link rel='stylesheet' type='text/css' href='../documentation.css'></link>
67   -</head>
68   -<body vlink="#0000ff" link="#0000ff" alink="#0000ff">
69   -<table width="100%"><tr><td valign="bottom">
70   -<h3>Treeview Sample</h3>
71   -</td><td align="right" valign="middle"><a href="documentation.xml">Reference</a></td></tr></table>
72   -<div class="sample">This sample demonstrates how to create and modify a Treeview.
73   -<br />&nbsp;
74   -</div>
75   -<table border="0" width="100%" height="65%" cellpadding="0" cellspacing="0">
76   -<tr>
77   -<td style="width:195px;" height="100%" id="treeviewCell" valign="top">
78   -</td>
79   -<td valign="top">
80   - <input type="button" value="Create Treeview" onclick="addTreeview()" id="btnAddTreeview"/>
81   - <div class="description">
82   - Instantiate the Treeview into an empty, global object, and add it to the DOM, using the <i>treeviewNew</i> method.
83   - </div>
84   -
85   - Item ID: <input type="text" value="" id="txtItemValue" disabled="true"/>
86   - <div class="description">
87   - Handle the <i>itemClick</i> event to get information about items when they are clicked
88   - </div>
89   -
90   - Item ID: <input type="text" value="" id="txtExpandValue" disabled="true"/>
91   - <div class="description">
92   - Handle the <i>itemExpand</i> event to get information about items when they are expanded, in order to programmatically add children.
93   - </div>
94   -
95   - <input type="button" value="Add Item" id="btnAddItem" disabled="true" onclick="addItem()"/>
96   - <div class="description">
97   - Use the <i>createItem</i> method to add an item to the Treeview
98   - </div>
99   -
100   - Specify button text, choose an image and a parent item...<br />
101   - <input type="text" id="txtCustomValue" value="Item Text"/>&nbsp;
102   - <select id="lstItemImage">
103   - <option value="none">Choose an Image</option>
104   - <option value="../images/computer-s.gif">Computer</option>
105   - <option value="../images/folder-s.gif">Folder</option>
106   - <option value="../images/addressbook-s.gif">Address Book</option>
107   - <option value="../images/drive-s.gif">Drive</option>
108   - </select>&nbsp;
109   - <select id="lstParent">
110   - <option value="none">Choose a Parent</option>
111   - <option value="itmComputer">Computer</option>
112   - <option value="itmCDrive">c:\</option>
113   - <option value="folder1">Folder 1</option>
114   - </select><br />
115   -
116   - <input type="button" value="Add Item" id="btnAddCustomItem" disabled="true" onclick="addCustomItem()"/>
117   - <div class="description">
118   - Use the <i>createTask</i> method to add a task to a specific parent in the Treeview
119   - </div>
120   -
121   - <br />
122   - </td></tr></table>
123   - <br />
124   - <div class="footer">To view the source code, right-click this page and choose View Source from the shortcut menu that appears.</div>
125   - <br />
126   - © 2005 Jonathan Wise. Some rights reserved.
127   -</body>
128   -</html>
classesjs/jsobjects/jsUI-Treeview/component.js
... ... @@ -1,243 +0,0 @@
1   -function treeviewNew(treeviewName, skinName, treeviewParent, rootDir)
2   -{
3   - if (treeviewName == null || treeviewName == "")
4   - return false;
5   - if (rootDir == null)
6   - rootDir = g_locaplic+"/classesjs/jsobjects";
7   - jsUIGblAddSkin("jsUI-Treeview", skinName, rootDir);
8   - if (treeviewParent == null || treeviewParent == "" || treeviewParent == undefined)
9   - treeviewParent = document.body;
10   - if (typeof(treeviewParent) != "object")
11   - treeviewParent = document.getElementById(treeviewParent);
12   - var tvDiv = document.createElement("div");
13   - //tvDiv.style.height = "100%";
14   - tvDiv.style.width = "100%";
15   - tvDiv.style.overflow = "auto"; //era auto
16   - tvDiv.className = "TreeviewMain";
17   - tvDiv.id = treeviewName;
18   - treeviewParent.appendChild(tvDiv);
19   - var tbObject = TreeviewPvtConstructTaskbar(treeviewName, tvDiv, treeviewParent, rootDir);
20   - return tbObject;
21   -}
22   -
23   -// Private constructor method
24   -// Used to attach taskbar elements and methods to a given instance of the treeview
25   -function TreeviewPvtConstructTaskbar(treeviewName, treeviewDiv, treeviewParent, rootDir)
26   -{
27   - var tbObject;
28   - treeviewName = document.getElementById(treeviewName);
29   - eval("treeviewName.element = treeviewDiv"); //element
30   - /*eval(treeviewName + ".createItem = TreeviewPubCreateItem"); //method
31   - eval(treeviewName + ".itemClick = doNothing"); //event
32   - eval(treeviewName + ".itemExpand = doNothing"); //event
33   - eval(treeviewName + ".TreeviewParent = treeviewParent"); //private property
34   - eval(treeviewName + ".rootDir = rootDir"); //private property
35   - eval("tbObject = " + treeviewName); //assignment*/
36   - eval("treeviewName.createItem = TreeviewPubCreateItem"); //method
37   - eval("treeviewName.itemClick = doNothing"); //event
38   - eval("treeviewName.itemExpand = doNothing"); //event
39   - eval("treeviewName.TreeviewParent = treeviewParent"); //private property
40   - eval("treeviewName.rootDir = rootDir"); //private property
41   - eval("tbObject = treeviewName"); //assignment
42   - return tbObject;
43   -}
44   -
45   -function TreeviewPubCreateItem(itemID, itemName, itemImg, hasChildren, preload, show, parentID) //public name: createItem
46   -{
47   - var naveg;
48   - if (document.all)
49   - naveg = "IE";
50   - else
51   - naveg = "MOZ";
52   - var tbItem = document.createElement("ul");
53   - //tbItem.style.backgroundColor="gray";
54   - tbItem.id = itemID;
55   - if (parentID == null)
56   - tbItem.style.marginBottom = "0px";
57   - tbItem.className = "TreeviewItem";
58   - if (naveg == "MOZ")
59   - tbItem.style.overflow = "auto";
60   - else
61   - tbItem.style.overflow = "hidden";
62   - tbItem.hasChildren = hasChildren;
63   - tbItem.preload = preload;
64   - //tbItem.onmouseover = TreeviewPvtItemOver;
65   - //tbItem.onmouseout = TreeviewPvtItemOut;
66   - if (!show)
67   - tbItem.style.display = "none";
68   - var tbImg = document.createElement("img");
69   - if (hasChildren == false)
70   - tbImg.src = this.rootDir + "/jsUI-Treeview/dot.gif";
71   - else if (hasChildren == true)
72   - tbImg.src = this.rootDir + "/jsUI-Treeview/plus.gif";
73   - else
74   - tbImg.src = this.rootDir + "/jsUI-Treeview/unknown.gif";
75   - tbImg.onclick = TreeviewPvtExpandClick;
76   - //incluido pelo edmar
77   - if (hasChildren != false)
78   - {tbItem.appendChild(tbImg);}
79   -
80   - if (typeof(itemImg)=="object")
81   - {var tbIcon = itemImg;}
82   - else
83   - {var tbIcon = document.createElement("img");tbIcon.src = itemImg;}
84   - if (itemImg != null)
85   - {
86   - tbIcon.onclick = TreeviewPvtItemClick;
87   - tbIcon.ondblclick = TreeviewPvtExpandClick;
88   - tbIcon.style.marginRight = "4px";
89   - //tbIcon.align = "absmiddle";
90   - tbItem.appendChild(tbIcon);
91   - }
92   - var tbText = document.createElement("span");
93   - //tbText.style.backgroundColor="gray"
94   - tbText.className = "TreeviewItemTextOut";
95   - //tbText.ondblclick = TreeviewPvtExpandClick;
96   - tbText.ondblclick = TreeviewPvtExpandClick;
97   - tbText.innerHTML += itemName;
98   - tbItem.appendChild(tbText);
99   - if (parentID == null || parentID == "")
100   - this.element.appendChild(tbItem);
101   - else
102   - {
103   - var parentObj = document.getElementById(parentID);
104   - if (parentObj.hasChildren != false)
105   - {
106   - parentObj.appendChild(tbItem);
107   - if (show)
108   - {
109   - parentObj.childNodes[0].src = this.rootDir + "/jsUI-Treeview/minus.gif";
110   - //see if there are hidden children and show them too
111   - var allArray = parentObj.childNodes;
112   - if (allArray.length > 0)
113   - {
114   - for (var a=0;a<allArray.length;a++)
115   - {
116   - if (allArray[a].tagName == "UL")
117   - allArray[a].style.display = "block";
118   - }
119   - }
120   - }
121   - if (!show)
122   - parentObj.childNodes[0].src = this.rootDir + "/jsUI-Treeview/plus.gif";
123   - }
124   - }
125   -}
126   -
127   -var oldClass = "";
128   -function TreeviewPvtItemOver(e)
129   -{
130   - if (this.childNodes[2].className != "TreeviewItemTextOver")
131   - oldClass = this.childNodes[2].className;
132   - if (this.childNodes[2].className != "TreeviewItemTextClicked")
133   - this.childNodes[2].className = "TreeviewItemTextOver";
134   - if (!e)
135   - var e = window.event;
136   - e.cancelBubble = true;
137   - if (e.stopPropagation)
138   - e.stopPropagation();
139   -}
140   -
141   -function TreeviewPvtItemOut(e)
142   -{
143   - this.childNodes[2].className = oldClass;
144   - if (!e)
145   - var e = window.event;
146   - e.cancelBubble = true;
147   - if (e.stopPropagation)
148   - e.stopPropagation();
149   -}
150   -
151   -function TreeviewPvtItemClick(e)
152   -{
153   - if (!e)
154   - var e = window.event;
155   -
156   - var currTree = TreeviewPvtFindRootObject(this);
157   - node = currTree.element;
158   -
159   - var allArray = getAllDescendants(node, "UL");
160   -
161   - for (var a=0;a<allArray.length;a++)
162   - {
163   - if (allArray[a].childNodes[2])
164   - allArray[a].childNodes[2].className="TreeviewItemTextOut";
165   - }
166   - this.parentNode.childNodes[2].className = "TreeviewItemTextClicked";
167   - oldClass = "TreeviewItemTextClicked";
168   -
169   - currTree.itemClick(this.parentNode.id);
170   -
171   - e.cancelBubble = true;
172   - if (e.stopPropagation)
173   - e.stopPropagation();
174   - e.returnValue = true;
175   -
176   -}
177   -
178   -function TreeviewPvtExpandClick(e)
179   -{
180   - if (!e)
181   - var e = window.event;
182   -
183   - var currTree = TreeviewPvtFindRootObject(this);
184   - var node = this.parentNode.childNodes[0];
185   - var currSrc = node.src;
186   - currSrc = currSrc.split("jsUI-Treeview/");
187   - if (currSrc[1] == "plus.gif")
188   - {
189   - var allArray = this.parentNode.childNodes;
190   - var hiddenChildren = false;
191   - if (allArray.length > 0)
192   - {
193   - for (var a=0;a<allArray.length;a++)
194   - {
195   - if (allArray[a].tagName == "UL")
196   - {
197   - allArray[a].style.display = "block";
198   - hiddenChildren = true;
199   - }
200   - }
201   - node.src = g_locaplic+"/classesjs/jsobjects" + "/jsUI-Treeview/minus.gif";
202   - }
203   - if (!hiddenChildren)
204   - node.src = g_locaplic+"/classesjs/jsobjects" + "/jsUI-Treeview/minus.gif";
205   - currTree.itemExpand(this.parentNode.id);
206   - }
207   - else if (currSrc[1] == "minus.gif")
208   - {
209   - node.src = g_locaplic+"/classesjs/jsobjects" + "/jsUI-Treeview/plus.gif";
210   - var allArray = getAllDescendants(node.parentNode, "UL");
211   - for (var a=0;a<allArray.length;a++)
212   - {
213   - if (allArray[a].preload)
214   - {
215   - if (allArray[a].parentNode == node.parentNode)
216   - allArray[a].style.display = "none";
217   - }
218   - else
219   - {
220   - if (allArray[a].parentNode == node.parentNode)
221   - allArray[a].parentNode.removeChild(allArray[a]);
222   - }
223   - }
224   - }
225   - else if (currSrc[1] == "unknown.gif")
226   - currTree.itemExpand(this.parentNode.id);
227   - else if (currSrc[1] == "dot.gif")
228   - objectEvent(node.parentNode.childNodes[1], "onclick", browser);
229   -
230   - e.cancelBubble = true;
231   - if (e.stopPropagation)
232   - e.stopPropagation();
233   - e.returnValue = false;
234   -}
235   -
236   -function TreeviewPvtFindRootObject(currTree)
237   -{
238   - while(currTree.tagName != "DIV")
239   - currTree = currTree.parentNode;
240   - var obj = eval ("document.getElementById('" + currTree.id + "')");
241   - currTree = obj;
242   - return currTree;
243   -}
244 0 \ No newline at end of file
classesjs/jsobjects/jsUI-Treeview/component_compacto.js
... ... @@ -1 +0,0 @@
1   -eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('p 1z(8,1m,f,i){3(8==t||8=="")O v;3(i==t)i=1G+"/1E/1D";1H("1h-1g",1m,i);3(f==t||f==""||f==1J)f=g.1C;3(1j(f)!="18")f=g.R(f);4 r=g.F("1B");r.k.1x="1K%";r.k.Z="1f";r.6="1I";r.u=8;f.w(r);4 D=1t(8,r,f,i);O D}p 1t(8,1i,f,i){4 D;8=g.R(8);n("8.W = 1i");n("8.1F = 1d");n("8.1s = 1a");n("8.Y = 1a");n("8.1A = f");n("8.i = i");n("D = 8");O D}p 1d(1c,1v,C,s,U,L,E){4 H;3(g.1y)H="1O";j H="1e";4 c=g.F("1Y");c.u=1c;3(E==t)c.k.1X="1W";c.6="1V";3(H=="1e")c.k.Z="1f";j c.k.Z="20";c.s=s;c.U=U;3(!L)c.k.Q="1r";4 o=g.F("14");o.6="z";o.10=7.i+"/../../17/19/"+16+"/15.S";3(s==v)o.6="A";j 3(s==q)o.6="z";j o.10=7.i+"/1h-1g/1l.S";o.V=K;3(s!=v){c.w(o)}3(1j(C)=="18"){4 m=C}j{4 m=g.F("14");m.10=7.i+"/../../17/19/"+16+"/15.S";m.6=C}3(C!=t){m.V=1q;m.1k=K;m.k.22="21";c.w(m)}4 B=g.F("1Z");B.6="1p";B.1k=K;B.1T+=1v;c.w(B);3(E==t||E=="")7.W.w(c);j{4 y=g.R(E);3(y.s!=v){y.w(c);3(L){y.9[0].6="A";4 5=y.9;3(5.x>0){T(4 a=0;a<5.x;a++){3(5[a].X=="M")5[a].k.Q="1u"}}}3(!L)y.9[0].6="z"}}}4 J="";p 1L(e){3(7.9[2].6!="1o")J=7.9[2].6;3(7.9[2].6!="11")7.9[2].6="1o";3(!e)4 e=I.N;e.P=q;3(e.l)e.l()}p 1U(e){7.9[2].6=J;3(!e)4 e=I.N;e.P=q;3(e.l)e.l()}p 1q(e){3(!e)4 e=I.N;4 d=13(7);h=d.W;4 5=1w(h,"M");T(4 a=0;a<5.x;a++){3(5[a].9[2])5[a].9[2].6="1p"}7.b.9[2].6="11";J="11";d.1s(7.b.u);e.P=q;3(e.l)e.l();e.1n=q}p K(e){3(!e)4 e=I.N;4 d=13(7);4 h=7.b.9[0];4 G=h.6;3(G=="z"){4 5=7.b.9;4 12=v;3(5.x>0){T(4 a=0;a<5.x;a++){3(5[a].X=="M"){5[a].k.Q="1u";12=q}}h.6="A"}3(!12)h.6="A";d.Y(7.b.u)}j 3(G=="A"){h.6="z";4 5=1w(h.b,"M");T(4 a=0;a<5.x;a++){3(5[a].U){3(5[a].b==h.b)5[a].k.Q="1r"}j{3(5[a].b==h.b)5[a].b.1N(5[a])}}}j 3(G=="1l.S")d.Y(7.b.u);j 3(G=="1M")1P(h.b.9[1],"V",1Q);e.P=q;3(e.l)e.l();e.1n=v}p 13(d){1S(d.X!="1R")d=d.b;4 1b=n("g.R(\'"+d.u+"\')");d=1b;O d}',62,127,'|||if|var|allArray|className|this|treeviewName|childNodes||parentNode|tbItem|currTree||treeviewParent|document|node|rootDir|else|style|stopPropagation|tbIcon|eval|tbImg|function|true|tvDiv|hasChildren|null|id|false|appendChild|length|parentObj|mais|menos|tbText|itemImg|tbObject|parentID|createElement|currSrc|naveg|window|oldClass|TreeviewPvtExpandClick|show|UL|event|return|cancelBubble|display|getElementById|gif|for|preload|onclick|element|tagName|itemExpand|overflow|src|TreeviewItemTextClicked|hiddenChildren|TreeviewPvtFindRootObject|img|branco|g_visual|imagens|object|visual|doNothing|obj|itemID|TreeviewPubCreateItem|MOZ|auto|Treeview|jsUI|treeviewDiv|typeof|ondblclick|unknown|skinName|returnValue|TreeviewItemTextOver|TreeviewItemTextOut|TreeviewPvtItemClick|none|itemClick|TreeviewPvtConstructTaskbar|block|itemName|getAllDescendants|width|all|treeviewNew|TreeviewParent|div|body|jsobjects|classesjs|createItem|g_locaplic|jsUIGblAddSkin|TreeviewMain|undefined|100|TreeviewPvtItemOver|ponto|removeChild|IE|objectEvent|browser|DIV|while|innerHTML|TreeviewPvtItemOut|TreeviewItem|0px|marginBottom|ul|span|hidden|4px|marginRight'.split('|'),0,{}))
classesjs/jsobjects/jsUI-Treeview/component_i3geo.js
... ... @@ -1,249 +0,0 @@
1   -function treeviewNew(treeviewName, skinName, treeviewParent, rootDir)
2   -{
3   - if (treeviewName == null || treeviewName == "")
4   - return false;
5   - if (rootDir == null)
6   - rootDir = g_locaplic+"/classesjs/jsobjects";
7   - jsUIGblAddSkin("jsUI-Treeview", skinName, rootDir);
8   - if (treeviewParent == null || treeviewParent == "" || treeviewParent == undefined)
9   - treeviewParent = document.body;
10   - if (typeof(treeviewParent) != "object")
11   - treeviewParent = document.getElementById(treeviewParent);
12   - var tvDiv = document.createElement("div");
13   - //tvDiv.style.height = "100%";
14   - tvDiv.style.width = "100%";
15   - tvDiv.style.overflow = "auto"; //era auto
16   - tvDiv.className = "TreeviewMain";
17   - tvDiv.id = treeviewName;
18   - treeviewParent.appendChild(tvDiv);
19   - var tbObject = TreeviewPvtConstructTaskbar(treeviewName, tvDiv, treeviewParent, rootDir);
20   - return tbObject;
21   -}
22   -
23   -// Private constructor method
24   -// Used to attach taskbar elements and methods to a given instance of the treeview
25   -function TreeviewPvtConstructTaskbar(treeviewName, treeviewDiv, treeviewParent, rootDir)
26   -{
27   - var tbObject;
28   - treeviewName = document.getElementById(treeviewName);
29   - eval("treeviewName.element = treeviewDiv"); //element
30   - /*eval(treeviewName + ".createItem = TreeviewPubCreateItem"); //method
31   - eval(treeviewName + ".itemClick = doNothing"); //event
32   - eval(treeviewName + ".itemExpand = doNothing"); //event
33   - eval(treeviewName + ".TreeviewParent = treeviewParent"); //private property
34   - eval(treeviewName + ".rootDir = rootDir"); //private property
35   - eval("tbObject = " + treeviewName); //assignment*/
36   - eval("treeviewName.createItem = TreeviewPubCreateItem"); //method
37   - eval("treeviewName.itemClick = doNothing"); //event
38   - eval("treeviewName.itemExpand = doNothing"); //event
39   - eval("treeviewName.TreeviewParent = treeviewParent"); //private property
40   - eval("treeviewName.rootDir = rootDir"); //private property
41   - eval("tbObject = treeviewName"); //assignment
42   - return tbObject;
43   -}
44   -
45   -function TreeviewPubCreateItem(itemID, itemName, itemImg, hasChildren, preload, show, parentID) //public name: createItem
46   -{
47   - var naveg;
48   - if (document.all)
49   - naveg = "IE";
50   - else
51   - naveg = "MOZ";
52   - var tbItem = document.createElement("ul");
53   - //tbItem.style.backgroundColor="gray";
54   - tbItem.id = itemID;
55   - if (parentID == null)
56   - tbItem.style.marginBottom = "0px";
57   - tbItem.className = "TreeviewItem";
58   - if (naveg == "MOZ")
59   - tbItem.style.overflow = "auto";
60   - else
61   - tbItem.style.overflow = "hidden";
62   - tbItem.hasChildren = hasChildren;
63   - tbItem.preload = preload;
64   - //tbItem.onmouseover = TreeviewPvtItemOver;
65   - //tbItem.onmouseout = TreeviewPvtItemOut;
66   - if (!show)
67   - tbItem.style.display = "none";
68   - var tbImg = document.createElement("img");
69   - tbImg.className = "mais";
70   - tbImg.src = this.rootDir + "/../../imagens/visual/"+g_visual+"/branco.gif";
71   - if (hasChildren == false)
72   - tbImg.className = "menos";
73   - else if (hasChildren == true)
74   - tbImg.className = "mais";
75   - else
76   - tbImg.src = this.rootDir + "/jsUI-Treeview/unknown.gif";
77   - tbImg.onclick = TreeviewPvtExpandClick;
78   - //incluido pelo edmar
79   - if (hasChildren != false)
80   - {tbItem.appendChild(tbImg);}
81   -
82   - if (typeof(itemImg)=="object")
83   - {var tbIcon = itemImg;}
84   - else
85   - {
86   - var tbIcon = document.createElement("img");
87   - //tbIcon.src = itemImg;
88   - tbIcon.src = this.rootDir + "/../../imagens/visual/"+g_visual+"/branco.gif";
89   - tbIcon.className = itemImg;
90   - }
91   - if (itemImg != null)
92   - {
93   - tbIcon.onclick = TreeviewPvtItemClick;
94   - tbIcon.ondblclick = TreeviewPvtExpandClick;
95   - tbIcon.style.marginRight = "4px";
96   - //tbIcon.align = "absmiddle";
97   - tbItem.appendChild(tbIcon);
98   - }
99   - var tbText = document.createElement("span");
100   - //tbText.style.backgroundColor="gray"
101   - tbText.className = "TreeviewItemTextOut";
102   - //tbText.ondblclick = TreeviewPvtExpandClick;
103   - tbText.ondblclick = TreeviewPvtExpandClick;
104   - tbText.innerHTML += itemName;
105   - tbItem.appendChild(tbText);
106   - if (parentID == null || parentID == "")
107   - this.element.appendChild(tbItem);
108   - else
109   - {
110   - var parentObj = document.getElementById(parentID);
111   - if (parentObj.hasChildren != false)
112   - {
113   - parentObj.appendChild(tbItem);
114   - if (show)
115   - {
116   - parentObj.childNodes[0].className = "menos";
117   - //see if there are hidden children and show them too
118   - var allArray = parentObj.childNodes;
119   - if (allArray.length > 0)
120   - {
121   - for (var a=0;a<allArray.length;a++)
122   - {
123   - if (allArray[a].tagName == "UL")
124   - allArray[a].style.display = "block";
125   - }
126   - }
127   - }
128   - if (!show)
129   - parentObj.childNodes[0].className = "mais";
130   - }
131   - }
132   -}
133   -
134   -var oldClass = "";
135   -function TreeviewPvtItemOver(e)
136   -{
137   - if (this.childNodes[2].className != "TreeviewItemTextOver")
138   - oldClass = this.childNodes[2].className;
139   - if (this.childNodes[2].className != "TreeviewItemTextClicked")
140   - this.childNodes[2].className = "TreeviewItemTextOver";
141   - if (!e)
142   - var e = window.event;
143   - e.cancelBubble = true;
144   - if (e.stopPropagation)
145   - e.stopPropagation();
146   -}
147   -
148   -function TreeviewPvtItemOut(e)
149   -{
150   - this.childNodes[2].className = oldClass;
151   - if (!e)
152   - var e = window.event;
153   - e.cancelBubble = true;
154   - if (e.stopPropagation)
155   - e.stopPropagation();
156   -}
157   -
158   -function TreeviewPvtItemClick(e)
159   -{
160   - if (!e)
161   - var e = window.event;
162   -
163   - var currTree = TreeviewPvtFindRootObject(this);
164   - node = currTree.element;
165   -
166   - var allArray = getAllDescendants(node, "UL");
167   -
168   - for (var a=0;a<allArray.length;a++)
169   - {
170   - if (allArray[a].childNodes[2])
171   - allArray[a].childNodes[2].className="TreeviewItemTextOut";
172   - }
173   - this.parentNode.childNodes[2].className = "TreeviewItemTextClicked";
174   - oldClass = "TreeviewItemTextClicked";
175   -
176   - currTree.itemClick(this.parentNode.id);
177   -
178   - e.cancelBubble = true;
179   - if (e.stopPropagation)
180   - e.stopPropagation();
181   - e.returnValue = true;
182   -
183   -}
184   -
185   -function TreeviewPvtExpandClick(e)
186   -{
187   - if (!e)
188   - var e = window.event;
189   -
190   - var currTree = TreeviewPvtFindRootObject(this);
191   - var node = this.parentNode.childNodes[0];
192   - var currSrc = node.className;
193   - if (currSrc == "mais")
194   - {
195   - var allArray = this.parentNode.childNodes;
196   - var hiddenChildren = false;
197   - if (allArray.length > 0)
198   - {
199   - for (var a=0;a<allArray.length;a++)
200   - {
201   - if (allArray[a].tagName == "UL")
202   - {
203   - allArray[a].style.display = "block";
204   - hiddenChildren = true;
205   - }
206   - }
207   - node.className = "menos";
208   - }
209   - if (!hiddenChildren)
210   - node.className = "menos";
211   - currTree.itemExpand(this.parentNode.id);
212   - }
213   - else if (currSrc == "menos")
214   - {
215   - node.className = "mais";
216   - var allArray = getAllDescendants(node.parentNode, "UL");
217   - for (var a=0;a<allArray.length;a++)
218   - {
219   - if (allArray[a].preload)
220   - {
221   - if (allArray[a].parentNode == node.parentNode)
222   - allArray[a].style.display = "none";
223   - }
224   - else
225   - {
226   - if (allArray[a].parentNode == node.parentNode)
227   - allArray[a].parentNode.removeChild(allArray[a]);
228   - }
229   - }
230   - }
231   - else if (currSrc == "unknown.gif")
232   - currTree.itemExpand(this.parentNode.id);
233   - else if (currSrc == "ponto")
234   - objectEvent(node.parentNode.childNodes[1], "onclick", browser);
235   -
236   - e.cancelBubble = true;
237   - if (e.stopPropagation)
238   - e.stopPropagation();
239   - e.returnValue = false;
240   -}
241   -
242   -function TreeviewPvtFindRootObject(currTree)
243   -{
244   - while(currTree.tagName != "DIV")
245   - currTree = currTree.parentNode;
246   - var obj = eval ("document.getElementById('" + currTree.id + "')");
247   - currTree = obj;
248   - return currTree;
249   -}
250 0 \ No newline at end of file
classesjs/jsobjects/jsUI-Treeview/default.css
... ... @@ -1,10 +0,0 @@
1   -.TreeviewMain
2   -{font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 11px;margin-left: -15px;}
3   -.TreeviewItem
4   -{margin-left: 0px; padding-left: 15px; margin-top: 3px;}
5   -.TreeviewItemTextClicked
6   -{background-color: buttonface; color: black; text-decoration: none; cursor: default; padding: 1px; border: 1px dotted threedshadow;}
7   -.TreeviewItemTextOut
8   -{cursor:pointer;}
9   -.TreeviewItemTextOver
10   -{cursor:pointer;}
11 0 \ No newline at end of file
classesjs/jsobjects/jsUI-Treeview/documentation.xml
... ... @@ -1,79 +0,0 @@
1   -<?xml version="1.0"?>
2   -<?xml:stylesheet type="text/xsl" href="../documentation.xsl"?>
3   -<?xml-stylesheet href="../documentation.xsl" type="text/xsl" media="screen"?>
4   -<doc xml:whitespace="preserve">
5   - <assembly>
6   - <name>jsUI-Treeview</name>
7   - <code>
8   - <c>var mytreeview = new Object();</c>
9   - <c>mytreeview = treeviewNew("mytreeview", "default", document.getElementById("treeCell"), null);</c>
10   - <c>mytreeview.itemClick = doClick;</c>
11   - <c>mytreeview.itemExpand = loadBranch;</c>
12   - <c>mytreeview.createItem("item1", "First Item", "../images/icon.jpg", true, true, true, null);</c>
13   - <c>mytreeview.createItem("item1-1", "First Item Child", "../images/icon.jpg", true, true, true, "item1");</c>
14   - </code>
15   - <remarks>The treeview is a nested navigation control, based on those frequently found in Windows or the MacOS. It is compatible with Internet Explorer 5.0 and FireFox 1.0 or better.</remarks>
16   - <requirements>
17   - <para>jsUI-Global/common.js</para>
18   - <para>jsUI-Global/uiCommon.js</para>
19   - <para>jsUI-Treeview/component.js</para>
20   - </requirements>
21   - <sample>index.htm</sample>
22   - </assembly>
23   - <Property>
24   - <member name="treeviewParent">
25   - <summary>The DOM object to which the treeview is attached. Frequently a DIV or TD.</summary>
26   - <code>alert (mytreeview.treeviewParent.id);</code>
27   - <remarks>DOM Object. This property is assigned on instantiation and is read only.</remarks>
28   - </member>
29   - <member name="rootDir">
30   - <summary>Gets or sets the string value representing the path to the root of the jsObjects directory. Used for calculating style and graphics file paths. Initially set during instantiation.</summary>
31   - <code>mytreeview.rootDir = "http://localhost/libraries/jsobjects";</code>
32   - <default>http://&lt;server&gt;/jsObjects</default>
33   - <remarks>String. This value only needs to be set if jsObjects is installed in a custom location.</remarks>
34   - </member>
35   - </Property>
36   - <Method>
37   - <member name="treeviewNew (string, string, object, string)">
38   - <summary>Instantiates the treeview through assignment into a Javascript object.</summary>
39   - <param name="treeviewName">Required. The name for the new treeview. Must match the name of an empty Javascript object to contain the treeview.</param>
40   - <param name="skinName">Optional. The name of the CSS (excluding the extension and path) file to use for the treeview. If left blank, "default" will be used.</param>
41   - <param name="treeviewParent">Optional. The DOM object that the treeview is to be attached to. If no value is passed, the treeview will be appended to document.body</param>
42   - <param name="rootDir">Optional. The path to the root of the jsObjects directory. If left blank, the default path will be used.</param>
43   - <code>
44   - <c>var mytreeview = new Object();</c>
45   - <c>mytreeview = treeviewNew("mytreeview", "default", document.getElementById("treeviewDiv"), "../jsobjects");</c>
46   - </code>
47   - <returns>The treeview object.</returns>
48   - <remarks>This is the only method that does not appear to be a member of the object -- because the object can't have members until it's instantiated. A blank object is created and will be filled with the jsUI-treeview members.</remarks>
49   - </member>
50   - <member name="createItem (string, string, string, boolean, boolean, boolean, string)">
51   - <summary>Creates a branch icon in the specified folder in the treeview.</summary>
52   - <param name="itemID">Required. A unique string to be used as the DOM ID for the new tree item.</param>
53   - <param name="itemName">Required. The text that appears as the title of the new tree item.</param>
54   - <param name="itemImg">Optional. The icon for the new tree item.</param>
55   - <param name="hasChildren">Required. Indicates whether or not there are children below the new tree item. If null is passed an "indeterminate" indicator is used to show the user that the heirarchy is not known until the item is expanded.</param>
56   - <param name="preload">Required. Indicates whether or not the item has been pre-loaded. This is used to determine the show/hide behaviour of children. If a nodes children are populated by a local function, then preload is false, since that function can be called to re-populate the branch next time it is expanded. If, however, the branch was pre-loaded by server-side code, or some non-local function, the parent node's heirarchy will be preserved -- hidden and shown, on collapse/expand -- instead of being destroyed and re-created.</param>
57   - <param name="show">Required. Determines whether or not to show the item on the tree. If the item is a child of an un-expanded parent, then show should be false.</param>
58   - <param name="parentID">Required. The parent item to add the new item to. If omitted, the new item will be appended to the root item of the tree, or the last item on the root level.</param>
59   - <code>mytreeview.createItem("item1", "First Item", "../images/icon.jpg", true, true, true, null);</code>
60   - <returns>Nothing</returns>
61   - </member>
62   - </Method>
63   - <Event>
64   - <member name="itemClick">
65   - <summary>Fires whenever a item is clicked, passing the ID of target object, so that external code can respond.</summary>
66   - <code>
67   - mytreeview.itemClick = <i>handler</i>;
68   - </code>
69   - <remarks>The handler should accept one string parameter which will contain the ID of the button clicked.</remarks>
70   - </member>
71   - <member name="itemExpand">
72   - <summary>Fires whenever a tree branch expand action happens, passing the ID of target object, so that external code can respond by populating the target node's children.</summary>
73   - <code>
74   - mytreeview.itemExpand = <i>handler</i>;
75   - </code>
76   - <remarks>The handler should accept one string parameter which will contain the ID of the button clicked.</remarks>
77   - </member>
78   - </Event>
79   -</doc>
80 0 \ No newline at end of file
classesjs/jsobjects/jsUI-Treeview/dot.gif

304 Bytes

classesjs/jsobjects/jsUI-Treeview/index.htm
... ... @@ -1,155 +0,0 @@
1   -<html>
2   -<head>
3   - <title>jsUI-Treeview Sample</title>
4   - <script language="javascript" src="../jsUI-Global/common.js"></script>
5   - <script language="javascript" src="../jsUI-Global/uiCommon.js"></script>
6   - <script language="javascript" src="../jsUI-Treeview/component.js"></script>
7   -
8   - <link rel='stylesheet' type='text/css' href='../documentation.css'></link>
9   -</head>
10   -<body vlink="#0000ff" link="#0000ff" alink="#0000ff">
11   -<div id="menutemas" >
12   -</div>
13   -<div id='bloco'></div>
14   -</body>
15   -<script>
16   -
17   -var mytreeview = new Object();
18   -mytreeview = treeviewNew("mytreeview", "default", document.getElementById("treeCell"), null);
19   -//mytreeview.itemClick = doClick;
20   -//mytreeview.itemExpand = loadBranch;
21   -mytreeview.createItem("item1", "MMA", "../../../imagens/iconlimites.png", true, true, true, null);
22   -function doClick(itemID)
23   -{alert(itemID)}
24   - </script>
25   -
26   -<script>
27   -var mytreeview = new Object();
28   -mytreeview = treeviewNew("mytreeview", "default", document.getElementById("menutemas"), null);
29   -//mytreeview.itemClick = doClick;
30   -//mytreeview.itemExpand = loadBranch;
31   -mytreeview.createItem("item1", "MMA", "../../../imagens/iconlimites.png", true, true, true, null);
32   -function doClick(itemID)
33   -{alert(itemID)}
34   -//detec&ccedil;&atilde;o do navegador
35   -navm = false // IE
36   -navn = false // netscape
37   -var app = navigator.appName.substring(0,1)
38   -if (app=='N') navn=true; else navm=true
39   -//load xml file
40   -if (window.ActiveXObject)
41   -{
42   - var xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
43   - xmlDoc.async=false; //Enforce download of XML file first. IE only.
44   -}
45   -else if (document.implementation && document.implementation.createDocument)
46   -{
47   - var xmlDoc= document.implementation.createDocument("","doc",null);
48   -}
49   -if (typeof xmlDoc!="undefined")
50   -xmlDoc.load("../../../menutemas/menutemas.xml");
51   -
52   -//Regular expression used to match any non-whitespace character
53   -var notWhitespace = /\S/
54   -function pegaval()
55   -{
56   - ng = xmlDoc.getElementsByTagName("TEMA").length
57   - novo = '<table width="550">'
58   - grupoantes = ""
59   - sgrupoantes = ""
60   - idgrupo = 0
61   - idsgrupo = 0
62   - idtema = 0
63   - for (ig=0;ig<ng;ig++)
64   - {
65   - var msgobj=xmlDoc.getElementsByTagName("TEMA")[ig]
66   - //REMOVE white spaces in XML file. Intended mainly for NS6/Mozilla
67   - for (i=0;i<msgobj.childNodes.length;i++)
68   - {
69   - if ((msgobj.childNodes[i].nodeType == 3)&& (!notWhitespace.test(msgobj.childNodes[i].nodeValue)))
70   - {
71   - // that is, if it's a whitespace text node
72   - msgobj.removeChild(msgobj.childNodes[i])
73   - i--
74   - }
75   - }
76   - tid = xmlDoc.getElementsByTagName("TEMA")[ig].childNodes[0].firstChild.nodeValue
77   - tnome = xmlDoc.getElementsByTagName("TEMA")[ig].childNodes[1].firstChild.nodeValue
78   - tdesc = xmlDoc.getElementsByTagName("TEMA")[ig].childNodes[2].firstChild.nodeValue
79   - tfonte = ""
80   - if (xmlDoc.getElementsByTagName("TEMA")[ig].childNodes[3].firstChild)
81   - {
82   - tfonte = xmlDoc.getElementsByTagName("TEMA")[ig].childNodes[3].firstChild.nodeValue
83   - if (navn)
84   - {
85   - sgrupo = xmlDoc.getElementsByTagName("TEMA")[ig].parentNode.childNodes[1].firstChild.nodeValue
86   - grupo = xmlDoc.getElementsByTagName("TEMA")[ig].parentNode.parentNode.childNodes[1].firstChild.nodeValue
87   - //ico = xmlDoc.getElementsByTagName("TEMA")[ig].parentNode.parentNode.childNodes[7].firstChild.nodeValue
88   - }
89   - else
90   - {
91   - sgrupo = xmlDoc.getElementsByTagName("TEMA")[ig].parentNode.childNodes[0].firstChild.nodeValue
92   - grupo = xmlDoc.getElementsByTagName("TEMA")[ig].parentNode.parentNode.childNodes[0].firstChild.nodeValue
93   - //ico = xmlDoc.getElementsByTagName("TEMA")[ig].parentNode.parentNode.childNodes[3].firstChild.nodeValue
94   - }
95   - if (grupoantes != grupo)
96   - {
97   - idgrupo = idgrupo + 1
98   - mytreeview.createItem("grupo"+idgrupo, grupo, "../../../imagens/folder-s.gif", true, true, true, "item1");
99   - //novo = novo+'<tr><td colspan=3 style="color:red"><img src="../imagens/'+ico+'"/><b> '+grupo+'</b></td></tr>'
100   - grupoantes = grupo
101   - }
102   - if (sgrupoantes != sgrupo)
103   - {
104   - idsgrupo = idsgrupo + 1
105   - mytreeview.createItem("sgrupo"+idsgrupo, sgrupo, "../../../imagens/arquivos.gif", true, true, false, "grupo"+idgrupo);
106   - //novo = novo+'<tr><td colspan=3 style="color:gray">'+sgrupo+'</td></tr>'
107   - sgrupoantes = sgrupo
108   - }
109   - if (xmlDoc.getElementsByTagName("TEMA")[ig].childNodes[4].firstChild)
110   - {
111   - idtema = idtema + 1
112   - lk = xmlDoc.getElementsByTagName("TEMA")[ig].childNodes[4].firstChild.nodeValue
113   - tnome = "<input type=\"checkbox\" name=\"layer\" value=\"TID\" onclick=\"mudaboxf(this)\"/>"+tnome
114   - mytreeview.createItem("tema"+idtema, tnome, "../../../imagens/branco.gif", false, true, false, "sgrupo"+idsgrupo);
115   - //novo = novo + '<tr><td width="50" style="text-align:right"><input style="cursor:pointer" type="button" name="'+tid+'" value="ver" onclick="exec(this.name)"/></td><td width="235" style="cursor:default" title="'+tdesc+'"><p>'+tnome+'</p></td><td width="345" style="cursor:default" ><a href="'+lk+'" target="blank">'+tfonte+'</a></td>'
116   - }
117   - else
118   - {
119   - //novo = novo + '<tr><td width="50" style="text-align:right"><input style="cursor:pointer" type="button" name="'+tid+'" value="ver" onclick="exec(this.name)"/></td><td width="235" style="cursor:default" title="'+tdesc+'"><p>'+tnome+'</p></td><td width="345" style="cursor:default" ><p>'+tfonte+'</p></td>'
120   - idtema = idtema + 1
121   - tnome = "<input type=\"checkbox\" name=\"layer\" value=\"TID\" onclick=\"mudaboxf(this)\"/>"+tnome
122   - mytreeview.createItem("tema"+idtema, tnome, "../../../imagens/branco.gif", false, true, false, "sgrupo"+idsgrupo);
123   - }
124   - }
125   - }
126   - novo = novo+'</table>'
127   - //document.getElementById("bloco").innerHTML = document.getElementById("bloco").innerHTML + novo
128   -}
129   -
130   -if (typeof xmlDoc!="undefined")
131   -{
132   - if (window.ActiveXObject) //if IE, simply execute script (due to async prop).
133   - pegaval()
134   - else //else if NS6, execute script when XML object has loaded
135   - xmlDoc.onload=pegaval
136   -}
137   -
138   -function exec(tema)
139   -{
140   - host = window.location.host
141   - if (navn)
142   - {
143   - w = window.innerWidth - 150;
144   - h = window.innerHeight - 100;
145   - }
146   - if (navm)
147   - {
148   - w = window.screen.availWidth - 150;
149   - h = window.screen.availHeight - 230;
150   - }
151   - mapsize= w+" "+h
152   - jan = 'http://'+host+'/mapas/mma/ms_criamapa.php?serv='+host+'&layers='+tema+' estadosl &base=reduzido&mapext=-75.048889 -36.906765 -31.048889 7.004346&temasa='+tema+' estadosl&mapsize='+mapsize
153   - window.open(jan)
154   -}
155   -
classesjs/jsobjects/jsUI-Treeview/maisamarelo.png

324 Bytes

classesjs/jsobjects/jsUI-Treeview/maisverde.png

330 Bytes

classesjs/jsobjects/jsUI-Treeview/maisvermelho.png

324 Bytes

classesjs/jsobjects/jsUI-Treeview/minus.gif

303 Bytes

classesjs/jsobjects/jsUI-Treeview/plus.gif

303 Bytes

classesjs/jsobjects/jsUI-Treeview/unknown.gif

303 Bytes

classesjs/jsobjects/jsUI-Treeview/vssver.scc
No preview for this file type
classesjs/jsobjects/normal.css
... ... @@ -1,11 +0,0 @@
1   -.PageTitle {font-family: Century Gothic, Arial; font-size: 20px; letter-spacing: 0.0pt; font-weight: bold; color: #31344A}
2   -.TopicHeader {font-size:14px;margin-top:15px;width:200px;margin-bottom:10px;color:#31344A;font-weight:bold}
3   -.PostHeader {border-bottom:solid 1px #585C8F;font-size:14px;text-align:left;margin-top:10px;width:350px;margin-bottom:5px;color:#31344A;font-weight:bold}
4   -.PostFooter {font-size:11px;margin-top:5px;margin-bottom:20px;color:gray;}
5   -.SiteDesc {color: #31344A;font-weight:bold;}
6   -.menu {border:1px solid #000;padding:10px;width:160px;margin:12px 15px 10px 0px;background-color:#eee}
7   -.main {margin:12px 15px 10px 10px; padding:15px; border: 1px solid #000;background-color:white}
8   -Body {margin-top:10px; margin-left:10px;background-color:#ACB0BF;filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#ACB0BF', EndColorStr='#31344A');font-family:arial,helvetica; font-size: 9pt;}
9   -TD {font-family:arial,helvetica; font-size: 9pt;}
10   -a {text-decoration:none; color: #585C8F}
11   -a:hover {background-color: #ACB0BF; text-decoration: none; color: #000000}
12 0 \ No newline at end of file
classesjs/jsobjects/vssver.scc
No preview for this file type