]> Creatis software - CreaPhase.git/blob - octave_packages/java-1.2.8/doc-cache
Add a useful package (from Source forge) for octave
[CreaPhase.git] / octave_packages / java-1.2.8 / doc-cache
1 # Created by Octave 3.6.2, Sun Jul 22 21:28:07 2012 UTC <root@t61>
2 # name: cache
3 # type: cell
4 # rows: 3
5 # columns: 16
6 # name: <cell-element>
7 # type: sq_string
8 # elements: 1
9 # length: 7
10 dlgtest
11
12
13 # name: <cell-element>
14 # type: sq_string
15 # elements: 1
16 # length: 124
17
18  Install the java package.
19  Test the dlg... functions of the java package.
20
21  Author: Martin Hepperle
22  Version August 2010
23
24
25
26
27 # name: <cell-element>
28 # type: sq_string
29 # elements: 1
30 # length: 27
31
32  Install the java package.
33
34
35
36 # name: <cell-element>
37 # type: sq_string
38 # elements: 1
39 # length: 8
40 errordlg
41
42
43 # name: <cell-element>
44 # type: sq_string
45 # elements: 1
46 # length: 273
47  -- Function file: P = errordlg (MESSAGE [,TITLE])
48      Displays the MESSAGE using an error dialog box.  The TITLE can be
49      used optionally to decorate the dialog caption.  The return value
50      is always 1.
51
52
53    See also: helpdlg, inputdlg, listdlg, questdlg, warndlg
54
55
56
57
58 # name: <cell-element>
59 # type: sq_string
60 # elements: 1
61 # length: 47
62 Displays the MESSAGE using an error dialog box.
63
64
65
66 # name: <cell-element>
67 # type: sq_string
68 # elements: 1
69 # length: 7
70 helpdlg
71
72
73 # name: <cell-element>
74 # type: sq_string
75 # elements: 1
76 # length: 353
77  -- Function file: P = helpdlg (MESSAGE [,TITLE])
78      Displays a MESSAGE in a help dialog box.  The help message can
79      have multiple lines, separated by a newline character '\n'.  The
80      TITLE can be used optionally to decorate the dialog caption.  The
81      return value is always 1.
82
83
84    See also: errordlg, inputdlg, listdlg, questdlg, warndlg
85
86
87
88
89 # name: <cell-element>
90 # type: sq_string
91 # elements: 1
92 # length: 40
93 Displays a MESSAGE in a help dialog box.
94
95
96
97 # name: <cell-element>
98 # type: sq_string
99 # elements: 1
100 # length: 8
101 inputdlg
102
103
104 # name: <cell-element>
105 # type: sq_string
106 # elements: 1
107 # length: 1168
108  -- Function file: P = inputdlg (PROMPT [,TITLE [,ROWSCOLS, DEFAULTS]])
109      Returns the user's inputs from a multi-textfield dialog box in
110      form of a cell array of strings.  If the dialog is closed by the
111      Cancel button, an empty cell array is returned.
112
113     `PROMPT'
114           The first argument PROMPT is mandatory.  It is a cell array
115           with strings labeling each textfield.
116
117     `TITLE'
118           The optional string TITLE can be used as the caption of the
119           dialog.
120
121     `ROWSCOLS'
122           The size of the text fields can be defined by the argument
123           ROWSCOLS,  which can have three forms: - a scalar value which
124           defines the number of rows used for each text field.  - a
125           vector which defines the individual number of rows used for
126           each text field.  - a matrix which defines the individual
127           number of rows and columns used for each text field.
128
129     `DEFAULTS'
130           It is possible to place default values into the text fields
131           by supplying the a cell array of strings or number for the
132           argument DEFAULTS.
133
134
135    See also: errordlg, helpdlg, listdlg, questdlg, warndlg
136
137
138
139
140 # name: <cell-element>
141 # type: sq_string
142 # elements: 1
143 # length: 80
144 Returns the user's inputs from a multi-textfield dialog box in form of
145 a cell ar
146
147
148
149 # name: <cell-element>
150 # type: sq_string
151 # elements: 1
152 # length: 4
153 java
154
155
156 # name: <cell-element>
157 # type: sq_string
158 # elements: 1
159 # length: 75
160 Please enter `doc java' to view the documentation for the package
161 `java'.
162
163
164
165
166 # name: <cell-element>
167 # type: sq_string
168 # elements: 1
169 # length: 73
170 Please enter `doc java' to view the documentation for the package
171 `java'.
172
173
174
175 # name: <cell-element>
176 # type: sq_string
177 # elements: 1
178 # length: 9
179 javaArray
180
181
182 # name: <cell-element>
183 # type: sq_string
184 # elements: 1
185 # length: 551
186  -- Function file: A = javaArray (CLASS,[M,N,...])
187  -- Function file: A = javaArray (CLASS,M,N,...)
188      Creates a Java array of size [M,N,...] with elements of class
189      CLASS. CLASS can be a Java object representing a class or a string
190      containing the fully qualified class name.
191
192      The generated array is uninitialized, all elements are set to null
193      if CLASS is a reference type, or to a default value (usually 0) if
194      CLASS is a primitive type.
195
196             a = javaArray ("java.lang.String", 2, 2);
197             a(1,1) = "Hello";
198
199
200
201
202
203 # name: <cell-element>
204 # type: sq_string
205 # elements: 1
206 # length: 35
207 Creates a Java array of size [M,N,.
208
209
210
211 # name: <cell-element>
212 # type: sq_string
213 # elements: 1
214 # length: 11
215 javaaddpath
216
217
218 # name: <cell-element>
219 # type: sq_string
220 # elements: 1
221 # length: 253
222  -- Function file:  javaaddpath (PATH)
223      Adds PATH to the dynamic class path of the Java virtual machine.
224      PATH can be either a directory where .class files can be found, or
225      a .jar file containing Java classes.
226
227
228    See also: javaclasspath
229
230
231
232
233 # name: <cell-element>
234 # type: sq_string
235 # elements: 1
236 # length: 64
237 Adds PATH to the dynamic class path of the Java virtual machine.
238
239
240
241 # name: <cell-element>
242 # type: sq_string
243 # elements: 1
244 # length: 13
245 javaclasspath
246
247
248 # name: <cell-element>
249 # type: sq_string
250 # elements: 1
251 # length: 1049
252  -- Function file:  javaclasspath
253  -- Function file: STATIC = javaclasspath
254  -- Function file: [STATIC, DYNAMIC] = javaclasspath
255  -- Function file: PATH = javaclasspath (WHAT)
256      Returns the class path of the Java virtual machine in the form of
257      a cell array of strings.
258
259      If called without input parameter:
260         * If no output variable is given, the result is simply printed
261           on the standard output.
262
263         * If one output variable STATIC is given, the result is the
264           static classpath.
265
266         * If two output variables STATIC and DYNAMIC are given, the
267           first variable will contain the static classpath, the second
268           will be filled with the dynamic claspath.
269
270      If called with a single input parameter WHAT:
271         * If WHAT is '-static' the static classpath is returned.
272
273         * If WHAT is '-dynamic' the dynamic  classpath is returned.
274
275         * If WHAT is '-all' the static and the dynamic classpath are
276           returned in a single cell array
277
278    See also: javaaddpath, javarmpath
279
280
281
282
283 # name: <cell-element>
284 # type: sq_string
285 # elements: 1
286 # length: 80
287 Returns the class path of the Java virtual machine in the form of a
288 cell array o
289
290
291
292 # name: <cell-element>
293 # type: sq_string
294 # elements: 1
295 # length: 10
296 javafields
297
298
299 # name: <cell-element>
300 # type: sq_string
301 # elements: 1
302 # length: 246
303  -- Function file: P = javafields (CLASS)
304      Returns the fields of a Java object in the form of a cell array of
305      strings. If no output variable is given, the result is simply
306      printed on the standard output.
307
308
309    See also: javamethods
310
311
312
313
314 # name: <cell-element>
315 # type: sq_string
316 # elements: 1
317 # length: 75
318 Returns the fields of a Java object in the form of a cell array of
319 strings.
320
321
322
323 # name: <cell-element>
324 # type: sq_string
325 # elements: 1
326 # length: 7
327 javamem
328
329
330 # name: <cell-element>
331 # type: sq_string
332 # elements: 1
333 # length: 1589
334  -- Function File: javamem
335  -- Function File: [ JMEM] = javamem
336      Show current memory status of the Java virtual machine (JVM) & run
337      garbage collector.
338
339      When no return argument is given the info is echoed to the screen.
340      Otherwise, output cell array JMEM contains Maximum, Total, and
341      Free memory (in bytes).
342
343      All Java-based routines are run in the JVM's shared memory pool, a
344      dedicated and separate part of memory claimed by the JVM from your
345      computer's total memory (which comprises physical RAM and virtual
346      memory / swap space on hard disk).
347
348      The maximum available memory can be set using the file java.opts
349      (in the same subdirectory where javaaddpath.m lives, see "which
350      javaaddpath". Usually that is:
351      [/usr]/share/octave/packages/java-<version>.
352
353      java.opts is a plain text file, one option per line. The default
354      initial memory size and default maximum memory size (which are
355      both system dependent) can be overridden like so:
356      -Xms64m
357      -Xmx512m
358      (in megabytes in this example.)  You can adapt these values to
359      your own requirements if your system has limited available
360      physical memory or when you get Java memory errors.
361
362      "Total memory" is what the operating system has currently assigned
363      to the JVM and depends on actual and active memory usage.  "Free
364      memory" is self-explanatory. During operation of Java-based octave
365      functions the amounts of Total and Free memory will vary, due to
366      Java's own cleaning up and your operating system's memory
367      management.
368
369
370
371
372
373 # name: <cell-element>
374 # type: sq_string
375 # elements: 1
376 # length: 80
377 Show current memory status of the Java virtual machine (JVM) & run
378 garbage colle
379
380
381
382 # name: <cell-element>
383 # type: sq_string
384 # elements: 1
385 # length: 11
386 javamethods
387
388
389 # name: <cell-element>
390 # type: sq_string
391 # elements: 1
392 # length: 244
393  -- Function file: P = javamethods (CLASS)
394      Returns the methods of a Java object in the form of a cell array
395      of strings. If no output variable is given, the result is simply
396      printed on the standard output.
397
398
399    See also: methods
400
401
402
403
404 # name: <cell-element>
405 # type: sq_string
406 # elements: 1
407 # length: 76
408 Returns the methods of a Java object in the form of a cell array of
409 strings.
410
411
412
413 # name: <cell-element>
414 # type: sq_string
415 # elements: 1
416 # length: 10
417 javarmpath
418
419
420 # name: <cell-element>
421 # type: sq_string
422 # elements: 1
423 # length: 270
424  -- Function file:  javarmpath (PATH)
425      Removes PATH from the dynamic class path of the Java virtual
426      machine. PATH can be either a directory where .class files can be
427      found, or a .jar file containing Java classes.
428
429
430    See also: javaaddpath, javaclasspath
431
432
433
434
435 # name: <cell-element>
436 # type: sq_string
437 # elements: 1
438 # length: 69
439 Removes PATH from the dynamic class path of the Java virtual machine.
440
441
442
443 # name: <cell-element>
444 # type: sq_string
445 # elements: 1
446 # length: 7
447 listdlg
448
449
450 # name: <cell-element>
451 # type: sq_string
452 # elements: 1
453 # length: 1661
454  -- Function file: [SEL,OK] = listdlg (KEY ,VALUE [, KEY ,VALUE, ...]])
455      Returns the user's inputs from a list dialog box in form of a
456      vector of selection indices SEL and a flag OK indicating how the
457      user closed the dialog box.  The returned flag OK is 1 if the user
458      closed the box with the OK button, otherwise it is 0 and SEL is
459      empty.  The indices in SEL are 1 based, i.e. the first list item
460      carries the index 1.
461
462      The arguments are specified in form of KEY, VALUE pairs.  At least
463      the 'ListString' argument pair must be specified.
464
465      KEYs and VALUEs pairs can be selected from the following list:
466
467     `ListString'
468           a cell array of strings comprising the content of the list.
469
470     `SelectionMode'
471           can be either `Single' or `Multiple'.
472
473     `ListSize'
474           a vector with two elements [width, height] defining the size
475           of the list field in pixels.
476
477     `InitialValue'
478           a vector containing 1-based indices of preselected elements.
479
480     `Name'
481           a string to be used as the dialog caption.
482
483     `PromptString'
484           a cell array of strings to be displayed above the list field.
485
486     `OKString'
487           a string used to label the OK button.
488
489     `CancelString'
490           a string used to label the Cancel  button.
491
492      Example:
493
494             [sel, ok] = listdlg ( 'ListString',{'An item', 'another', 'yet another'}, 'SelectionMode','Multiple' );
495             if ok == 1
496                imax = length(sel);
497                for i=1:1:imax
498                   disp(sel(i));
499                end
500             end
501
502
503    See also: errordlg, helpdlg, inputdlg, questdlg, warndlg
504
505
506
507
508 # name: <cell-element>
509 # type: sq_string
510 # elements: 1
511 # length: 80
512 Returns the user's inputs from a list dialog box in form of a vector of
513 selectio
514
515
516
517 # name: <cell-element>
518 # type: sq_string
519 # elements: 1
520 # length: 6
521 msgbox
522
523
524 # name: <cell-element>
525 # type: sq_string
526 # elements: 1
527 # length: 393
528  -- Function file: P = msgbox (MESSAGE [,TITLE [,ICON]])
529      Displays the MESSAGE using a message dialog.  The TITLE is an
530      optional string, which can be used to decorate the dialog caption.
531      The ICON can be used optionally to select a dialog icon.  It can
532      be one of `'error'', `'help'' or `'warn''.  The return value is
533      always 1.
534
535
536    See also: helpdlg, questdlg, warndlg
537
538
539
540
541 # name: <cell-element>
542 # type: sq_string
543 # elements: 1
544 # length: 44
545 Displays the MESSAGE using a message dialog.
546
547
548
549 # name: <cell-element>
550 # type: sq_string
551 # elements: 1
552 # length: 8
553 questdlg
554
555
556 # name: <cell-element>
557 # type: sq_string
558 # elements: 1
559 # length: 991
560  -- Function file: P = questdlg (MESSAGE, TITLE)
561  -- Function file: P = questdlg (MESSAGE, TITLE, DEFAULT)
562  -- Function file: P = questdlg (MESSAGE, TITLE, BTN1, BTN2, DEFAULT)
563  -- Function file: P = questdlg (MESSAGE, TITLE, BTN1, BTN2, BTN3,
564           DEFAULT)
565      Displays the MESSAGE using a question dialog box.  The dialog
566      contains two or three buttons which all close the dialog.  It
567      returns the caption of the activated button.
568
569      The TITLE can be used optionally to decorate the dialog caption.
570      The string DEFAULT identifies the default button, which is
571      activated by pressing the ENTER key.  It must match one of the
572      strings given in BTN1, BTN2 or BTN3.
573
574      If only MESSAGE and TITLE are specified, three buttons with the
575      default captions "Yes", "No", "Cancel" are used.
576
577      If only two button captions BTN1 and BTN2 are specified, the
578      dialog will have only these two buttons.
579
580
581    See also: errordlg, helpdlg, inputdlg, listdlg, warndlg
582
583
584
585
586 # name: <cell-element>
587 # type: sq_string
588 # elements: 1
589 # length: 49
590 Displays the MESSAGE using a question dialog box.
591
592
593
594 # name: <cell-element>
595 # type: sq_string
596 # elements: 1
597 # length: 7
598 warndlg
599
600
601 # name: <cell-element>
602 # type: sq_string
603 # elements: 1
604 # length: 231
605  -- Function file: P = warndlg (MESSAGE [,TITLE])
606      Displays the MESSAGE using a warning dialog box.  The TITLE can be
607      used optionally to decorate the dialog caption.
608
609
610    See also: helpdlg, inputdlg, listdlg, questiondlg
611
612
613
614
615 # name: <cell-element>
616 # type: sq_string
617 # elements: 1
618 # length: 48
619 Displays the MESSAGE using a warning dialog box.
620
621
622
623
624