author | serb |
Thu, 31 May 2018 09:52:32 -0700 | |
changeset 50358 | 1ba28f0dbc33 |
parent 48264 | efda6932a433 |
child 52965 | fcbea0fb586c |
permissions | -rw-r--r-- |
48264
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
1 |
<!doctype html> |
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
2 |
<html lang="en"> |
2 | 3 |
<head> |
48264
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
4 |
<meta charset="utf-8"/> |
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
5 |
<title>Component Specific Properties</title> |
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
6 |
</head> |
2 | 7 |
<!-- |
50358 | 8 |
Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved. |
2 | 9 |
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
10 |
||
11 |
This code is free software; you can redistribute it and/or modify it |
|
12 |
under the terms of the GNU General Public License version 2 only, as |
|
5506 | 13 |
published by the Free Software Foundation. Oracle designates this |
2 | 14 |
particular file as subject to the "Classpath" exception as provided |
5506 | 15 |
by Oracle in the LICENSE file that accompanied this code. |
2 | 16 |
|
17 |
This code is distributed in the hope that it will be useful, but WITHOUT |
|
18 |
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
19 |
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
20 |
version 2 for more details (a copy is included in the LICENSE file that |
|
21 |
accompanied this code). |
|
22 |
||
23 |
You should have received a copy of the GNU General Public License version |
|
24 |
2 along with this work; if not, write to the Free Software Foundation, |
|
25 |
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
26 |
||
5551
327690766109
6956202: Fix a few missed rebranding issues, please contact lines etc.
ohair
parents:
5506
diff
changeset
|
27 |
Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
327690766109
6956202: Fix a few missed rebranding issues, please contact lines etc.
ohair
parents:
5506
diff
changeset
|
28 |
or visit www.oracle.com if you need additional information or have any |
327690766109
6956202: Fix a few missed rebranding issues, please contact lines etc.
ohair
parents:
5506
diff
changeset
|
29 |
questions. |
48264
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
30 |
--> |
2 | 31 |
|
50358 | 32 |
<body> |
33 |
<main role="main"> |
|
34 |
<h1>Component Specific Properties</h1> |
|
2 | 35 |
<p> The look, and to some degree the feel of Synth |
48264
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
36 |
can be customized by way of component specific properties. |
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
37 |
These properties are accessed from <a |
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
38 |
href="../SynthStyle.html">SynthStyle#get</a>. Refer to <a |
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
39 |
href="synthFileFormat.html#e.property">synth file format</a> for examples |
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
40 |
of how to specify these properties in a synth configuration file.</p> |
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
41 |
<p> |
2 | 42 |
This file specifies the expected class type each of the values |
43 |
are to take. The behavior of supplying the wrong type is |
|
44 |
unspecified: typically a <code>ClassCastException</code> is |
|
45 |
thrown, but it is implementation specific. |
|
46 |
</p> |
|
50358 | 47 |
<h2>ArrowButton</h2> |
2 | 48 |
<p> ArrowButton is a special type of JButton that renders an arrow. |
49 |
ArrowButton is typically not created directly, rather some of the |
|
50 |
Components will create it to render a button with an arrow. The |
|
51 |
components that make use of ArrowButton are: |
|
52 |
JComboBox, JScrollBar and JSplitPane (for the buttons on the divider). |
|
53 |
In addition to the <a |
|
54 |
href="#buttonProperties">Button properties</a>, ArrowButton supports |
|
21278 | 55 |
the following properties: </p> |
50358 | 56 |
<h3>ArrowButton Specific Properties</h3> |
23715 | 57 |
<table border="1" summary="ArrowButton specific properties"> |
2 | 58 |
<thead><tr> |
59 |
<th>Property</th> |
|
60 |
<th>Expected Type</th> |
|
61 |
<th>Default Value</th> |
|
62 |
<th>Description </th> |
|
63 |
</tr> |
|
64 |
</thead> <tbody> |
|
65 |
<tr> |
|
66 |
<td>ArrowButton.size</td> |
|
67 |
<td>Integer</td> |
|
68 |
<td>16 </td> |
|
69 |
<td>Preferred size of the arrow button. </td> |
|
70 |
</tr> |
|
71 |
</tbody> |
|
72 |
</table> |
|
73 |
<br> |
|
50358 | 74 |
<h2><a id="JButton">JButton</a></h2> |
2 | 75 |
<p> JButton paints text using the TEXT_FOREGROUND ColorType. In addition |
76 |
to the <a href="#buttonProperties">Button properties</a>, JButton |
|
77 |
supports the following property: </p> |
|
50358 | 78 |
<h3>JButton Specific Properties</h3> |
23715 | 79 |
<table border="1" summary="JButton specific properties"> |
2 | 80 |
<thead><tr> |
81 |
<th>Property</th> |
|
82 |
<th>Expected Type</th> |
|
83 |
<th>Default Value</th> |
|
84 |
<th>Description </th> |
|
85 |
</tr> |
|
86 |
</thead> <tbody> |
|
87 |
<tr> |
|
88 |
<td>Button.defaultButtonFollowsFocus</td> |
|
89 |
<td>Boolean</td> |
|
90 |
<td>true </td> |
|
91 |
<td>Whether or not the default JButton should change to the |
|
92 |
button that is receiving focus. </td> |
|
93 |
</tr> |
|
94 |
</tbody> |
|
95 |
</table> |
|
96 |
<br> |
|
50358 | 97 |
<h2><a id="JCheckBox">JCheckBox</a></h2> |
2 | 98 |
<p> JCheckBox paints text using the TEXT_FOREGROUND ColorType. In |
99 |
addition to the <a href="#buttonProperties">Button properties</a>, |
|
100 |
JCheckBox supports the following property: </p> |
|
50358 | 101 |
<h3>JCheckBox Specific Properties</h3> |
23715 | 102 |
<table border="1" summary="JCheckBox specific properties"> |
2 | 103 |
<thead><tr> |
104 |
<th>Property</th> |
|
105 |
<th>Expected Type</th> |
|
106 |
<th>Default Value</th> |
|
107 |
<th>Description </th> |
|
108 |
</tr> |
|
109 |
</thead> <tbody> |
|
110 |
<tr> |
|
111 |
<td>CheckBox.icon</td> |
|
112 |
<td>Icon</td> |
|
113 |
<td>null </td> |
|
114 |
<td>Icon used to render the check. </td> |
|
115 |
</tr> |
|
116 |
</tbody> |
|
117 |
</table> |
|
118 |
<br> |
|
50358 | 119 |
<h2><a id="JComboBox">JComboBox</a></h2> |
2 | 120 |
<p> JComboBox is a composite component that consists of the following |
121 |
child Components: </p> |
|
23715 | 122 |
<table border="1" summary="JComboBox child components"> |
2 | 123 |
<thead><tr> |
124 |
<th>Name</th> |
|
125 |
<th>Type</th> |
|
126 |
<th>Description </th> |
|
127 |
</tr> |
|
128 |
</thead> <tbody> |
|
129 |
<tr> |
|
130 |
<td>ComboBox.arrowButton</td> |
|
131 |
<td>SynthArrowButton </td> |
|
132 |
<td>Renders the drop down indicator. </td> |
|
133 |
</tr> |
|
134 |
<tr> |
|
135 |
<td>ComboBox.list</td> |
|
136 |
<td>JList </td> |
|
137 |
<td>JList used to render the values. </td> |
|
138 |
</tr> |
|
139 |
<tr> |
|
140 |
<td>ComboBox.listRenderer</td> |
|
141 |
<td>Component </td> |
|
142 |
<td>The renderer used for the JComboBox's JList. </td> |
|
143 |
</tr> |
|
144 |
<tr> |
|
145 |
<td>ComboBox.popup</td> |
|
146 |
<td>JPopupMenu </td> |
|
147 |
<td>JPopupMenu used to show the ComboBox.list of the JComboBox. </td> |
|
148 |
</tr> |
|
149 |
<tr> |
|
150 |
<td>ComboBox.renderer</td> |
|
151 |
<td>Component </td> |
|
48264
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
152 |
<td>The renderer used for the JComboBox. This is ONLY set if |
2 | 153 |
the renderer is a UIResource. </td> |
154 |
</tr> |
|
155 |
<tr> |
|
156 |
<td>ComboBox.scrollPane</td> |
|
157 |
<td>JScrollPane </td> |
|
158 |
<td>JScrollPane containing the JList. </td> |
|
159 |
</tr> |
|
160 |
<tr> |
|
161 |
<td>ComboBox.textField</td> |
|
162 |
<td>JTextField </td> |
|
163 |
<td>The editor. </td> |
|
164 |
</tr> |
|
165 |
</tbody> |
|
166 |
</table> |
|
23715 | 167 |
|
50358 | 168 |
<h3>JComboBox Specific Properties</h3> |
23715 | 169 |
<table border="1" summary="JComboBox specific properties"> |
2 | 170 |
<thead><tr> |
171 |
<th>Property</th> |
|
172 |
<th>Expected Type</th> |
|
173 |
<th>Default Value</th> |
|
174 |
<th>Description </th> |
|
175 |
</tr> |
|
176 |
</thead> <tbody> |
|
177 |
<tr> |
|
178 |
<td>ComboBox.showPopupOnNavigation</td> |
|
179 |
<td>Boolean</td> |
|
180 |
<td>false </td> |
|
181 |
<td>Whether or not the JPopupMenu should appear when navigating |
|
182 |
with the keyboard. </td> |
|
183 |
</tr> |
|
184 |
</tbody> |
|
185 |
</table> |
|
186 |
<br> |
|
50358 | 187 |
<h2>JFileChooser</h2> |
188 |
<h3>JFileChooser Specific Properties</h3> |
|
23715 | 189 |
<table cellpadding="2" cellspacing="2" border="1" summary="JFileChooser specific properties" |
2 | 190 |
style="width: 100%; text-align: left;"> |
191 |
<tbody> |
|
192 |
<tr> |
|
193 |
<th style="vertical-align: top; text-align: center;">Property</th> |
|
194 |
<th style="vertical-align: top; text-align: center;">Expected Type<br> |
|
195 |
</th> |
|
196 |
<th style="vertical-align: top; text-align: center;">Default Value<br> |
|
197 |
</th> |
|
198 |
<th style="vertical-align: top; text-align: center;">Description</th> |
|
199 |
</tr> |
|
200 |
<tr> |
|
201 |
<td style="vertical-align: top;">FileChooser.cancelIcon<br> |
|
202 |
</td> |
|
203 |
<td style="vertical-align: top;">Icon<br> |
|
204 |
</td> |
|
205 |
<td style="vertical-align: top;">null<br> |
|
206 |
</td> |
|
207 |
<td style="vertical-align: top;">Icon displayed on cancel button |
|
208 |
of the file chooser.<br> |
|
209 |
</td> |
|
210 |
</tr> |
|
211 |
<tr> |
|
212 |
<td style="vertical-align: top;">FileChooser.okIcon<br> |
|
213 |
</td> |
|
214 |
<td style="vertical-align: top;">Icon<br> |
|
215 |
</td> |
|
216 |
<td style="vertical-align: top;">null<br> |
|
217 |
</td> |
|
218 |
<td style="vertical-align: top;">Icon displayed on the ok button |
|
219 |
of the file chooser.<br> |
|
220 |
</td> |
|
221 |
</tr> |
|
222 |
<tr> |
|
223 |
<td style="vertical-align: top;">FileView.directoryIcon<br> |
|
224 |
</td> |
|
225 |
<td style="vertical-align: top;">Icon<br> |
|
226 |
</td> |
|
227 |
<td style="vertical-align: top;">null<br> |
|
228 |
</td> |
|
229 |
<td style="vertical-align: top;">Icon used for directories. |
|
230 |
</td> |
|
231 |
</tr> |
|
232 |
<tr> |
|
233 |
<td style="vertical-align: top;">FileView.fileIcon<br> |
|
234 |
</td> |
|
235 |
<td style="vertical-align: top;">Icon<br> |
|
236 |
</td> |
|
237 |
<td style="vertical-align: top;">null<br> |
|
238 |
</td> |
|
239 |
<td style="vertical-align: top;">Icon used for files. |
|
240 |
</td> |
|
241 |
</tr> |
|
242 |
<tr> |
|
243 |
<td style="vertical-align: top;">FileView.computerIcon<br> |
|
244 |
</td> |
|
245 |
<td style="vertical-align: top;">Icon<br> |
|
246 |
</td> |
|
247 |
<td style="vertical-align: top;">null<br> |
|
248 |
</td> |
|
249 |
<td style="vertical-align: top;">Icon used for directories that |
|
250 |
represent the computer. Not all platforms will make use |
|
251 |
of this icon. |
|
252 |
</td> |
|
253 |
</tr> |
|
254 |
<tr> |
|
255 |
<td style="vertical-align: top;">FileView.hardDriveIcon<br> |
|
256 |
</td> |
|
257 |
<td style="vertical-align: top;">Icon<br> |
|
258 |
</td> |
|
259 |
<td style="vertical-align: top;">null<br> |
|
260 |
</td> |
|
261 |
<td style="vertical-align: top;">Icon used to represent the root |
|
262 |
of a hard drive. For example, on Windows this would be |
|
263 |
used when viewing the C drive. |
|
264 |
</td> |
|
265 |
</tr> |
|
266 |
<tr> |
|
267 |
<td style="vertical-align: top;">FileView.floppyDriveIcon<br> |
|
268 |
</td> |
|
269 |
<td style="vertical-align: top;">Icon<br> |
|
270 |
</td> |
|
271 |
<td style="vertical-align: top;">null<br> |
|
272 |
</td> |
|
273 |
<td style="vertical-align: top;">Icon used to represent a floppy |
|
274 |
disk. |
|
275 |
</td> |
|
276 |
</tr> |
|
277 |
<tr> |
|
278 |
<td style="vertical-align: top;">FileChooser.newFolderIcon<br> |
|
279 |
</td> |
|
280 |
<td style="vertical-align: top;">Icon<br> |
|
281 |
</td> |
|
282 |
<td style="vertical-align: top;">null<br> |
|
283 |
</td> |
|
284 |
<td style="vertical-align: top;">Icon used by the button that creates a new |
|
285 |
folder. |
|
286 |
</td> |
|
48264
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
287 |
</tr> |
2 | 288 |
<tr> |
289 |
<td style="vertical-align: top;">FileChooser.upFolderIcon<br> |
|
290 |
</td> |
|
291 |
<td style="vertical-align: top;">Icon<br> |
|
292 |
</td> |
|
293 |
<td style="vertical-align: top;">null<br> |
|
294 |
</td> |
|
295 |
<td style="vertical-align: top;">Icon used by the button that navigates to the |
|
296 |
parent folder. |
|
297 |
</td> |
|
298 |
</tr> |
|
299 |
<tr> |
|
300 |
<td style="vertical-align: top;">FileChooser.homeFolderIcon<br> |
|
301 |
</td> |
|
302 |
<td style="vertical-align: top;">Icon<br> |
|
303 |
</td> |
|
304 |
<td style="vertical-align: top;">null<br> |
|
305 |
</td> |
|
306 |
<td style="vertical-align: top;">Icon used by the button that navigates to the |
|
307 |
current user's home directory. |
|
308 |
</td> |
|
48264
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
309 |
</tr> |
2 | 310 |
<tr> |
311 |
<td style="vertical-align: top;">FileChooser.detailsViewIcon<br> |
|
312 |
</td> |
|
313 |
<td style="vertical-align: top;">Icon<br> |
|
314 |
</td> |
|
315 |
<td style="vertical-align: top;">null<br> |
|
316 |
</td> |
|
317 |
<td style="vertical-align: top;">Icon used by the button that toggles the |
|
318 |
detailed files list view. |
|
319 |
</td> |
|
48264
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
320 |
</tr> |
2 | 321 |
<tr> |
322 |
<td style="vertical-align: top;">FileChooser.listViewIcon<br> |
|
323 |
</td> |
|
324 |
<td style="vertical-align: top;">Icon<br> |
|
325 |
</td> |
|
326 |
<td style="vertical-align: top;">null<br> |
|
327 |
</td> |
|
328 |
<td style="vertical-align: top;">Icon used by the button that toggles the |
|
329 |
regular files list view, showing only an icon and the name of each |
|
330 |
file and directory. |
|
331 |
</td> |
|
48264
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
332 |
</tr> |
2 | 333 |
<tr> |
334 |
<td style="vertical-align: top;">FileChooser.viewMenuIcon<br> |
|
335 |
</td> |
|
336 |
<td style="vertical-align: top;">Icon<br> |
|
337 |
</td> |
|
338 |
<td style="vertical-align: top;">null<br> |
|
339 |
</td> |
|
340 |
<td style="vertical-align: top;">Icon used by the button that shows popup menu |
|
341 |
for selection of a view mode. |
|
342 |
</td> |
|
343 |
</tr> |
|
344 |
</tbody> |
|
345 |
</table> |
|
346 |
<br> |
|
50358 | 347 |
<h2><a id="JInternalFrame"></a>JInternalFrame</h2> |
348 |
<h3>JInternalFrame Specific Properties</h3> |
|
23715 | 349 |
<table cellpadding="2" cellspacing="2" border="1" summary="JInternalFrame specific properties" |
2 | 350 |
style="text-align: left; width: 100%;"> |
351 |
<tbody> |
|
352 |
<tr> |
|
353 |
<th style="vertical-align: top; text-align: center;">Property<br> |
|
354 |
</th> |
|
355 |
<th style="vertical-align: top; text-align: center;">Expected Type<br> |
|
356 |
</th> |
|
357 |
<th style="vertical-align: top; text-align: center;">DefaultValue<br> |
|
358 |
</th> |
|
359 |
<th style="vertical-align: top; text-align: center;">Description<br> |
|
360 |
</th> |
|
361 |
</tr> |
|
362 |
<tr> |
|
363 |
<td style="vertical-align: top;">InternalFrame.icon<br> |
|
364 |
</td> |
|
365 |
<td style="vertical-align: top;">Icon</td> |
|
366 |
<td style="vertical-align: top;">null<br> |
|
367 |
</td> |
|
368 |
<td style="vertical-align: top;">Icon drawn representing the |
|
369 |
system<br> |
|
370 |
icon of the internal frame. If pressed<br> |
|
371 |
the system menu will be shown.<br> |
|
372 |
</td> |
|
373 |
</tr> |
|
374 |
</tbody> |
|
375 |
</table> |
|
376 |
<br> |
|
50358 | 377 |
<h2><a id="JInternalFrameTitlePane"></a>JInternalFrameTitlePane</h2> |
2 | 378 |
<p>JInternalFrameTitlePane is the control bar located at the top of the |
379 |
internal frame similar to that found in a frame.<br> |
|
380 |
</p> |
|
50358 | 381 |
<h3>JInternalFrameTitlePane Specific Properties</h3> |
23715 | 382 |
<table cellpadding="2" cellspacing="2" border="1" summary="JInternalFrameTitlePane specific properties" |
2 | 383 |
style="text-align: left; width: 100%;"> |
384 |
<tbody> |
|
385 |
<tr> |
|
386 |
<th style="vertical-align: top; text-align: center;">Property<br> |
|
387 |
</th> |
|
388 |
<th style="vertical-align: top; text-align: center;">Expected Type<br> |
|
389 |
</th> |
|
390 |
<th style="vertical-align: top; text-align: center;">Default Value<br> |
|
391 |
</th> |
|
392 |
<th style="vertical-align: top; text-align: center;">Description<br> |
|
393 |
</th> |
|
394 |
</tr> |
|
395 |
<tr> |
|
396 |
<td style="vertical-align: top;">InternalFrameTitlePane.maximizeIcon<br> |
|
397 |
</td> |
|
398 |
<td style="vertical-align: top;">Icon</td> |
|
399 |
<td style="vertical-align: top;">null<br> |
|
400 |
</td> |
|
401 |
<td style="vertical-align: top;">Icon drawn to indicate the |
|
402 |
ability to maximize the internal frame.<br> |
|
403 |
</td> |
|
404 |
</tr> |
|
405 |
<tr> |
|
406 |
<td style="vertical-align: top;">InternalFrameTitlePane.minimizeIcon<br> |
|
407 |
</td> |
|
408 |
<td style="vertical-align: top;">Icon</td> |
|
409 |
<td style="vertical-align: top;">null<br> |
|
410 |
</td> |
|
411 |
<td style="vertical-align: top;">Icon drawn to indicate the |
|
412 |
ability to restore the internal frame back to its previous state.<br> |
|
413 |
</td> |
|
414 |
</tr> |
|
415 |
<tr> |
|
416 |
<td style="vertical-align: top;">InternalFrameTitlePane.iconifyIcon<br> |
|
417 |
</td> |
|
418 |
<td style="vertical-align: top;">Icon</td> |
|
419 |
<td style="vertical-align: top;">null<br> |
|
420 |
</td> |
|
421 |
<td style="vertical-align: top;">Icon drawn to indicate the |
|
422 |
ability to minimize the internal frame.<br> |
|
423 |
</td> |
|
424 |
</tr> |
|
425 |
<tr> |
|
426 |
<td style="vertical-align: top;">InternalFrameTitlePane.closeIcon<br> |
|
427 |
</td> |
|
428 |
<td style="vertical-align: top;">Icon</td> |
|
429 |
<td style="vertical-align: top;">null<br> |
|
430 |
</td> |
|
431 |
<td style="vertical-align: top;">Icon drawn to indicate the |
|
432 |
abililty to close the internal frame. |
|
433 |
</td> |
|
434 |
</tr> |
|
435 |
<tr> |
|
436 |
<td style="vertical-align: top;">InternalFrameTitlePane.titleSpacing<br> |
|
437 |
</td> |
|
438 |
<td style="vertical-align: top;">Integer</td> |
|
439 |
<td style="vertical-align: top;">2</td> |
|
440 |
<td style="vertical-align: top;">Space between the |
|
441 |
buttons on the title pane and the title. |
|
442 |
</td> |
|
443 |
</tr> |
|
444 |
<tr> |
|
445 |
<td style="vertical-align: top;">InternalFrameTitlePane.buttonSpacing<br> |
|
446 |
</td> |
|
447 |
<td style="vertical-align: top;">Integer</td> |
|
448 |
<td style="vertical-align: top;">2</td> |
|
449 |
<td style="vertical-align: top;">Space between the buttons on |
|
450 |
the title pane. |
|
451 |
</td> |
|
452 |
</tr> |
|
453 |
<tr> |
|
454 |
<td style="vertical-align: top;">InternalFrameTitlePane.maxFrameIconSize<br> |
|
455 |
</td> |
|
456 |
<td style="vertical-align: top;">Dimension</td> |
|
457 |
<td style="vertical-align: top;">16x16</td> |
|
458 |
<td style="vertical-align: top;">Maximum size of the frame |
|
459 |
icon that will be rendered on the title pane. If the icon |
|
460 |
is bigger than this size, it will be scaled down. |
|
461 |
</td> |
|
462 |
</tr> |
|
463 |
<tr> |
|
464 |
<td style="vertical-align: top;">InternalFrameTitlePane.titleAlignment<br> |
|
465 |
</td> |
|
466 |
<td style="vertical-align: top;">leading|trailing|center</td> |
|
467 |
<td style="vertical-align: top;">leading</td> |
|
468 |
<td style="vertical-align: top;">Alignment for the title. |
|
469 |
With a left to right component orientation leading is left |
|
470 |
and trailing right. With a right to left component |
|
471 |
orientation leading is right and trailing left. |
|
472 |
</td> |
|
473 |
</tr> |
|
474 |
</tbody> |
|
475 |
</table> |
|
476 |
<br> |
|
50358 | 477 |
<h2><a id="JList">JList</a></h2> |
2 | 478 |
<p> JList's sets the name of the renderer to List.renderer. JList |
479 |
supports the following properties: </p> |
|
50358 | 480 |
<h3>JList Specific Properties</h3> |
23715 | 481 |
<table border="1" summary="JList specific properties"> |
2 | 482 |
<thead><tr> |
483 |
<th>Property</th> |
|
484 |
<th>Expected Type</th> |
|
485 |
<th>Default Value</th> |
|
486 |
<th>Description </th> |
|
487 |
</tr> |
|
488 |
</thead> <tbody> |
|
489 |
<tr> |
|
490 |
<td>List.rendererUseListColors</td> |
|
491 |
<td>Boolean</td> |
|
492 |
<td>true </td> |
|
493 |
<td>If true the renderers state is not updated, and the text |
|
48264
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
494 |
colors come from JList's getSelectionBackground and |
2 | 495 |
getSelectionForeground methods. If false, the renderer's state is |
496 |
updated and the colors will instead come from the Style. </td> |
|
497 |
</tr> |
|
498 |
<tr> |
|
499 |
<td>List.rendererUseUIBorder</td> |
|
500 |
<td>Boolean</td> |
|
501 |
<td>true </td> |
|
502 |
<td>If true setBorder on the renderer will succeed regardless |
|
503 |
of the border passed in, otherwise setBorder on the renderer will |
|
504 |
only succeed if it is a Synth Border. </td> |
|
505 |
</tr> |
|
506 |
<tr> |
|
507 |
<td>List.cellHeight</td> |
|
508 |
<td>Integer</td> |
|
509 |
<td>-1 </td> |
|
510 |
<td>Cell height of the JList. Is this is -1, <code>setFixedCellHeight</code> |
|
511 |
is not invoked. </td> |
|
512 |
</tr> |
|
513 |
</tbody> |
|
514 |
</table> |
|
515 |
<br> |
|
50358 | 516 |
<h2><a id="menuProperties">Menu Properties</a></h2> |
2 | 517 |
<p> The Menu classes (JCheckBoxMenuItem, JMenu, JMenuItem, and |
518 |
JRadioButtonMenuItem) all support the same set of properties and behave |
|
519 |
similarly. Each component consists of two Regions: the region |
|
520 |
specific to the component and Region.MENU_ITEM_ACCELERATOR. |
|
521 |
MENU_ITEM_ACCELERATOR is used for painting the accelerator. Both Regions |
|
522 |
paint text using the TEXT_FOREGROUND ColorType. The following set of |
|
523 |
properties are supported: </p> |
|
23715 | 524 |
<table border="1" summary="Menu classes common properties"> |
2 | 525 |
<thead><tr> |
526 |
<th>Property</th> |
|
527 |
<th>Expected Type</th> |
|
528 |
<th>Default Value</th> |
|
529 |
<th>Description </th> |
|
530 |
</tr> |
|
531 |
</thead> <tbody> |
|
532 |
<tr> |
|
533 |
<td>prefix.acceleratorDelimiter</td> |
|
534 |
<td>String</td> |
|
535 |
<td>+ </td> |
|
536 |
<td>String separator between the description of the modifiers |
|
537 |
and the key, for example <code>Ctrl <acceleratorDelimiter> X</code>. |
|
538 |
</td> |
|
539 |
</tr> |
|
540 |
<tr> |
|
541 |
<td>prefix.arrowIcon</td> |
|
542 |
<td>Icon</td> |
|
543 |
<td>null </td> |
|
48264
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
544 |
<td>Icon drawn to the right of the text (or left when the |
2 | 545 |
ComponentOrientation is right to left) of the text. This is |
546 |
typically only defined for JMenu. </td> |
|
547 |
</tr> |
|
548 |
<tr> |
|
549 |
<td>prefix.checkIcon</td> |
|
550 |
<td>Icon</td> |
|
551 |
<td>null </td> |
|
48264
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
552 |
<td>Icon drawn to the left of the text (or right when the |
2 | 553 |
ComponentOrientation is right to left) of the text. This is |
554 |
typically only defined for JCheckBoxMenuItem and JRadioButtonMenuItem |
|
555 |
to provide the check or radio button. </td> |
|
556 |
</tr> |
|
557 |
<tr> |
|
558 |
<td>prefix.margin</td> |
|
559 |
<td>Insets</td> |
|
560 |
<td>Empty Insets (0, 0, 0, 0) </td> |
|
561 |
<td>Margin for the JMenuItem. Refer to the javadoc of |
|
562 |
<code>javax.swing.AbstractButton#setMargin(java.awt.Insets)</code> for details |
|
563 |
of how the margin is used. </td> |
|
564 |
</tr> |
|
565 |
<tr> |
|
566 |
<td>prefix.textIconGap</td> |
|
567 |
<td>Integer</td> |
|
568 |
<td>4 </td> |
|
48264
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
569 |
<td>Padding between the icon and text. Refer to the javadoc for |
2 | 570 |
<code>javax.swing.AbstractButton#setIconTextGap(int)</code> for details of how |
571 |
this is used. </td> |
|
572 |
</tr> |
|
573 |
</tbody> |
|
574 |
</table> |
|
575 |
<p> <code>Prefix</code> is one of: CheckBoxMenuItem, Menu, MenuItem, or |
|
576 |
RadioButtonMenuItem. </p> |
|
577 |
<p> JMenu also supports the following properties: </p> |
|
23715 | 578 |
<table border="1" summary="JMenu specific properties"> |
2 | 579 |
<thead><tr> |
580 |
<th>Property</th> |
|
581 |
<th>Expected Type</th> |
|
582 |
<th>Default Value</th> |
|
583 |
<th>Description </th> |
|
584 |
</tr> |
|
585 |
</thead> <tbody> |
|
586 |
<tr> |
|
587 |
<td>Menu.delay</td> |
|
588 |
<td>Integer</td> |
|
589 |
<td>200 </td> |
|
590 |
<td>Sets the delay before the menu appears. </td> |
|
591 |
</tr> |
|
592 |
<tr> |
|
593 |
<td>Menu.shortcutKeys</td> |
|
594 |
<td>int[]</td> |
|
595 |
<td>KeyEvent.ALT_MASK </td> |
|
596 |
<td>Array of the KeyEvent modifiers to use for shortcut keys. </td> |
|
597 |
</tr> |
|
598 |
</tbody> |
|
599 |
</table> |
|
600 |
<br> |
|
50358 | 601 |
<h2><a id="JOptionPane">JOptionPane</a></h2> |
2 | 602 |
<p> JOptionPane is a composite component and may consist of numerous child |
603 |
components, they are: OptionPane.button, OptionPane.label, |
|
604 |
OptionPane.comboBox, OptionPane.scrollPane, OptionPane.list, |
|
605 |
OptionPane.textField, OptionPane.iconLabel. </p> |
|
50358 | 606 |
<h3>JOptionPane Specific Properties</h3> |
23715 | 607 |
<table border="1" summary="JOptionPane specific properties"> |
2 | 608 |
<thead><tr> |
609 |
<th>Property</th> |
|
610 |
<th>Expected Type</th> |
|
611 |
<th>Default Value</th> |
|
612 |
<th>Description </th> |
|
613 |
</tr> |
|
614 |
</thead> <tbody> |
|
615 |
<tr> |
|
616 |
<td>OptionPane.buttonAreaBorder</td> |
|
617 |
<td>Border </td> |
|
618 |
<td>null </td> |
|
619 |
<td>Border around the button area. </td> |
|
620 |
</tr> |
|
621 |
<tr> |
|
622 |
<td>OptionPane.buttonClickThreshhold</td> |
|
623 |
<td>Integer </td> |
|
624 |
<td>0 </td> |
|
625 |
<td>Passed to the created buttons setMultiClickThreshhold. </td> |
|
626 |
</tr> |
|
627 |
<tr> |
|
628 |
<td>OptionPane.buttonOrientation</td> |
|
629 |
<td>Integer </td> |
|
630 |
<td>SwingConstants.CENTER </td> |
|
48264
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
631 |
<td>How the buttons should be layed out, one of |
2 | 632 |
SwingConstants.LEFT, SwingConstants.RIGHT or SwingConstants.CENTER |
633 |
(this will be flipped when in a right to left locale). </td> |
|
634 |
</tr> |
|
635 |
<tr> |
|
636 |
<td>OptionPane.buttonPadding</td> |
|
637 |
<td>Integer </td> |
|
638 |
<td>6 </td> |
|
639 |
<td>Amount of space between buttons. </td> |
|
640 |
</tr> |
|
641 |
<tr> |
|
642 |
<td>OptionPane.cancelIcon</td> |
|
643 |
<td>Icon </td> |
|
644 |
<td>null </td> |
|
645 |
<td>Icon for the cancel button. </td> |
|
646 |
</tr> |
|
647 |
<tr> |
|
648 |
<td>OptionPane.errorIcon</td> |
|
649 |
<td>Icon </td> |
|
650 |
<td>null </td> |
|
651 |
<td>Icon used for ERROR_MESSAGE. </td> |
|
652 |
</tr> |
|
653 |
<tr> |
|
654 |
<td>OptionPane.informationIcon</td> |
|
655 |
<td>Icon </td> |
|
656 |
<td>null </td> |
|
657 |
<td>Icon used for INFORMATION_MESSAGE. </td> |
|
658 |
</tr> |
|
659 |
<tr> |
|
660 |
<td>OptionPane.isYesLast</td> |
|
661 |
<td>Boolean </td> |
|
662 |
<td>false </td> |
|
663 |
<td>If true the 'yes' button leads other buttons, otherwise |
|
664 |
it follows the other buttons. </td> |
|
665 |
</tr> |
|
666 |
<tr> |
|
667 |
<td>OptionPane.questionIcon</td> |
|
668 |
<td>Icon </td> |
|
669 |
<td>null </td> |
|
670 |
<td>Icon used for error QUESTION_MESSAGE. </td> |
|
671 |
</tr> |
|
672 |
<tr> |
|
673 |
<td>OptionPane.minimumSize</td> |
|
674 |
<td>Dimension </td> |
|
675 |
<td>262x90</td> |
|
676 |
<td>Minimum size for the JOptionPane. </td> |
|
677 |
</tr> |
|
678 |
<tr> |
|
679 |
<td>OptionPane.noIcon</td> |
|
680 |
<td>Icon </td> |
|
681 |
<td>null </td> |
|
682 |
<td>Icon for the no button. </td> |
|
683 |
</tr> |
|
684 |
<tr> |
|
685 |
<td>OptionPane.okIcon</td> |
|
686 |
<td>Icon </td> |
|
687 |
<td>null </td> |
|
688 |
<td>Icon for the ok button. </td> |
|
689 |
</tr> |
|
690 |
<tr> |
|
691 |
<td>OptionPane.sameSizeButtons</td> |
|
692 |
<td>Boolean </td> |
|
693 |
<td>true </td> |
|
694 |
<td>Whether or not all the buttons should be the same size. </td> |
|
695 |
</tr> |
|
696 |
<tr> |
|
697 |
<td>OptionPane.separatorPadding</td> |
|
698 |
<td>Integer </td> |
|
699 |
<td>6</td> |
|
700 |
<td>Amount of padding between the message area and separator. </td> |
|
701 |
</tr> |
|
702 |
<tr> |
|
703 |
<td>OptionPane.yesIcon</td> |
|
704 |
<td>Icon </td> |
|
705 |
<td>null </td> |
|
706 |
<td>Icon for the yes button. </td> |
|
707 |
</tr> |
|
708 |
<tr> |
|
709 |
<td>OptionPane.warningIcon</td> |
|
710 |
<td>Icon </td> |
|
711 |
<td>null </td> |
|
712 |
<td>Icon used for error WARNING_MESSAGE </td> |
|
713 |
</tr> |
|
714 |
</tbody> |
|
715 |
</table> |
|
716 |
<br> |
|
50358 | 717 |
<h2><a id="JProgressBar"></a>JProgressBar<br> |
718 |
</h2> |
|
719 |
<h3>JProgressBar Specific Properties<br> |
|
720 |
</h3> |
|
23715 | 721 |
<table cellpadding="2" cellspacing="2" border="1" summary="JProgressBar specific properties" |
2 | 722 |
style="text-align: left; width: 100%;"> |
723 |
<tbody> |
|
724 |
<tr> |
|
725 |
<th style="vertical-align: top; text-align: center;">Property</th> |
|
726 |
<th style="vertical-align: top; text-align: center;">Expected Type<br> |
|
727 |
</th> |
|
728 |
<th style="vertical-align: top; text-align: center;">Default Value<br> |
|
729 |
</th> |
|
730 |
<th style="vertical-align: top; text-align: center;">Description</th> |
|
731 |
</tr> |
|
732 |
<tr> |
|
733 |
<td style="vertical-align: top;">ProgressBar.repaintInterval<br> |
|
734 |
</td> |
|
735 |
<td style="vertical-align: top;">Integer<br> |
|
736 |
</td> |
|
737 |
<td style="vertical-align: top;">50<br> |
|
738 |
</td> |
|
739 |
<td style="vertical-align: top;">Number of milliseconds between |
|
740 |
repaints for indeterminate progress bars.<br> |
|
741 |
</td> |
|
742 |
</tr> |
|
743 |
<tr> |
|
744 |
<td style="vertical-align: top;">ProgressBar.cycleTime<br> |
|
745 |
</td> |
|
746 |
<td style="vertical-align: top;">Integer<br> |
|
747 |
</td> |
|
748 |
<td style="vertical-align: top;">3000<br> |
|
749 |
</td> |
|
750 |
<td style="vertical-align: top;">Number of milliseconds used to |
|
751 |
determine how far to move<br> |
|
752 |
the bouncing box per frame when the progress bar is indeterminate.<br> |
|
753 |
</td> |
|
754 |
</tr> |
|
755 |
</tbody> |
|
756 |
</table> |
|
50358 | 757 |
<h2><a id="JRadioButton">JRadioButton</a></h2> |
2 | 758 |
<p> JRadioButton paints text using the TEXT_FOREGROUND ColorType. In |
759 |
addition to the <a href="#buttonProperties">Button properties</a>, |
|
760 |
JRadioButton supports the following property: </p> |
|
50358 | 761 |
<h3>JRadioButton Specific Properties</h3> |
23715 | 762 |
<table border="1" summary="JRadioButton specific properties"> |
2 | 763 |
<thead><tr> |
764 |
<th>Property</th> |
|
765 |
<th>Expected Type</th> |
|
766 |
<th>Default Value</th> |
|
767 |
<th>Description </th> |
|
768 |
</tr> |
|
769 |
</thead> <tbody> |
|
770 |
<tr> |
|
771 |
<td>RadioButton.icon</td> |
|
772 |
<td>Icon</td> |
|
773 |
<td>null </td> |
|
774 |
<td>Icon used to render the radio indicator. </td> |
|
775 |
</tr> |
|
776 |
</tbody> |
|
777 |
</table> |
|
778 |
<br> |
|
50358 | 779 |
<h2><a id="JScrollBar">JScrollBar</a></h2> |
2 | 780 |
<p> JScrollBar is a composite component that consists of the following |
781 |
child Components: </p> |
|
23715 | 782 |
<table border="1" summary="JScrollBar child components"> |
2 | 783 |
<thead><tr> |
784 |
<th>Name</th> |
|
785 |
<th>Type</th> |
|
786 |
<th>Description </th> |
|
787 |
</tr> |
|
788 |
</thead> <tbody> |
|
789 |
<tr> |
|
790 |
<td>ScrollBar.button</td> |
|
791 |
<td>SynthArrowButton </td> |
|
792 |
<td>Identifies the increment/decrement buttons. </td> |
|
793 |
</tr> |
|
794 |
</tbody> |
|
795 |
</table> |
|
23715 | 796 |
|
50358 | 797 |
<h3>JScrollBar Specific Properties</h3> |
23715 | 798 |
<table border="1" summary="JScrollBar specific properties"> |
2 | 799 |
<thead><tr> |
800 |
<th>Property</th> |
|
801 |
<th>Expected Type</th> |
|
802 |
<th>Default Value</th> |
|
803 |
<th>Description </th> |
|
804 |
</tr> |
|
805 |
</thead> <tbody> |
|
806 |
<tr> |
|
807 |
<td>ScrollBar.allowsAbsolutePositioning</td> |
|
808 |
<td>Boolean </td> |
|
809 |
<td>false</td> |
|
810 |
<td>If true, middle mouse click in the track will set the |
|
811 |
position of the track to where the mouse is. </td> |
|
812 |
</tr> |
|
813 |
<tr> |
|
814 |
<td>ScrollBar.maximumThumbSize</td> |
|
815 |
<td>Dimension</td> |
|
816 |
<td>4096x4096 </td> |
|
817 |
<td>Maximum thumb size. </td> |
|
818 |
</tr> |
|
819 |
<tr> |
|
820 |
<td>ScrollBar.minimumThumbSize</td> |
|
821 |
<td>Dimension</td> |
|
822 |
<td>Derived from ScrollBar.thumbHeight</td> |
|
823 |
<td>The minimum thumb size. If this is not specified the |
|
824 |
minimum thumb size is ScrollBar.thumbHeight plus the insets |
|
825 |
of the scrollbar along the opposite axis of the scrollbar |
|
826 |
and 7 along the other axis. For example, if you have not |
|
827 |
specified Insets for a scrollbar, and the orientation of |
|
828 |
the scrollbar is vertical, than the minimum thumb |
|
829 |
size width is ScrollBar.thumbHeight with a height of 7.</td> |
|
830 |
</tr> |
|
831 |
<tr> |
|
832 |
<td>ScrollBar.squareButtons</td> |
|
833 |
<td>Boolean </td> |
|
834 |
<td>false</td> |
|
835 |
<td>If true, the width and height of the scrollbar buttons |
|
836 |
will be made equal. </td> |
|
837 |
</tr> |
|
838 |
<tr> |
|
839 |
<td>ScrollBar.thumbHeight</td> |
|
840 |
<td>Integer</td> |
|
841 |
<td>14 </td> |
|
842 |
<td>The preferred height, when the orientation of the |
|
843 |
scrollbar is horizontal, or preferred width when the |
|
844 |
orientation of the scrollbar is vertical.</td> |
|
845 |
</tr> |
|
846 |
</tbody> |
|
847 |
</table> |
|
848 |
<br> |
|
50358 | 849 |
<h2><a id="Separator">Separators</a></h2> |
2 | 850 |
<p> All of the separator classes, JSeparator, JPopupMenu.Separator and |
851 |
JToolBar.Separator use the same property: </p> |
|
23715 | 852 |
<table border="1" summary="Separator classes common properties"> |
2 | 853 |
<thead><tr> |
854 |
<th>Property</th> |
|
855 |
<th>Expected Type</th> |
|
856 |
<th>Default Value</th> |
|
857 |
<th>Description </th> |
|
858 |
</tr> |
|
859 |
</thead> <tbody> |
|
860 |
<tr> |
|
861 |
<td>Separator.thickness</td> |
|
862 |
<td>Integer</td> |
|
863 |
<td>2 </td> |
|
48264
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
864 |
<td>Preferred width, for vertically aligned separators, or |
2 | 865 |
preferred height for horizontally aligned separators. The resulting |
866 |
preferred size will include the Insets. </td> |
|
867 |
</tr> |
|
868 |
</tbody> |
|
869 |
</table> |
|
870 |
<p> JToolBar.Separator also supports the following property: </p> |
|
23715 | 871 |
<table border="1" summary="JToolBar.Separator specific properties"> |
2 | 872 |
<thead><tr> |
873 |
<th>Property</th> |
|
874 |
<th>Expected Type</th> |
|
875 |
<th>Default Value</th> |
|
876 |
<th>Description </th> |
|
877 |
</tr> |
|
878 |
</thead> <tbody> |
|
879 |
<tr> |
|
880 |
<td>ToolBar.separatorSize</td> |
|
881 |
<td>Dimension</td> |
|
882 |
<td>null </td> |
|
48264
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
883 |
<td>The value of this is passed to the |
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
884 |
<code>javax.swing.JToolBar$Separator#setSeparatorSize(java.awt.Dimension)</code> |
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
885 |
method. If unspecified <code>setSeparatorSize</code> is not invoked. |
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
886 |
</td> |
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
887 |
</tr> |
2 | 888 |
</tbody> |
889 |
</table> |
|
890 |
<br> |
|
50358 | 891 |
<h2><a id="JScrollPane">JScrollPane</a></h2> |
48264
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
892 |
<p> |
2 | 893 |
JScrollPane is unique in that it provides a method for setting |
894 |
the Border around the JViewport with JViewport throwing an |
|
895 |
IllegalArgumentException from <code>setBorder</code>. To |
|
21278 | 896 |
accommodate this a special border is installed on the |
48264
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
897 |
<code>JScrollPane</code> that uses the |
2 | 898 |
insets from the key |
899 |
<code>ScrollPane.viewportBorderInsets</code>. The |
|
900 |
<code>SynthPainter</code> method |
|
901 |
<code>paintViewportBorder</code> is called to paint the |
|
902 |
<code>Viewport</code>s border. |
|
903 |
</p> |
|
50358 | 904 |
<h3>JScrollPane Specific Properties</h3> |
23715 | 905 |
<table border="1" summary="JScrollPane specific properties"> |
2 | 906 |
<thead><tr> |
907 |
<th>Property</th> |
|
908 |
<th>Expected Type</th> |
|
909 |
<th>Default Value</th> |
|
910 |
<th>Description </th> |
|
911 |
</tr> |
|
912 |
</thead> <tbody> |
|
913 |
<tr> |
|
914 |
<td>ScrollPane.viewportBorderInsets</td> |
|
915 |
<td>Insets</td> |
|
916 |
<td>null </td> |
|
917 |
<td>Insets for the viewport Border. </td> |
|
918 |
</tr> |
|
919 |
</tbody> |
|
920 |
</table> |
|
921 |
<br> |
|
50358 | 922 |
<h2><a id="JSplitPane">JSplitPane</a></h2> |
2 | 923 |
<p> JSplitPane is a composite component that will contain a divider and |
924 |
potentially two buttons, if setOneTouchExpandable(true) has been |
|
925 |
invoked. The two buttons will be named: |
|
926 |
SplitPaneDivider.leftOneTouchButton and |
|
927 |
SplitPaneDivider.rightOneTouchButton. </p> |
|
50358 | 928 |
<h3>JSplitPane Specific Properties</h3> |
23715 | 929 |
<table border="1" summary="JSplitPane specific properties"> |
2 | 930 |
<thead><tr> |
931 |
<th>Property</th> |
|
932 |
<th>Expected Type</th> |
|
933 |
<th>Default Value</th> |
|
934 |
<th>Description </th> |
|
935 |
</tr> |
|
936 |
</thead> <tbody> |
|
937 |
<tr> |
|
938 |
<td>SplitPane.centerOneTouchButtons</td> |
|
939 |
<td>Boolean</td> |
|
940 |
<td>true </td> |
|
941 |
<td>If true, the one touch buttons are centered on the divider. </td> |
|
942 |
</tr> |
|
943 |
<tr> |
|
944 |
<td>SplitPane.oneTouchButtonOffset</td> |
|
945 |
<td>Integer</td> |
|
946 |
<td>2 </td> |
|
947 |
<td>Distance between the one touch buttons. </td> |
|
948 |
</tr> |
|
949 |
<tr> |
|
950 |
<td>SplitPane.oneTouchButtonSize</td> |
|
951 |
<td>Integer</td> |
|
952 |
<td>6 </td> |
|
953 |
<td>Size to make the one touch buttons. </td> |
|
954 |
</tr> |
|
955 |
<tr> |
|
956 |
<td>SplitPane.oneTouchExpandable</td> |
|
957 |
<td>Boolean</td> |
|
958 |
<td>null </td> |
|
48264
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
959 |
<td>If non null, the value of this is passed to |
2 | 960 |
setOneTouchExpandable. </td> |
961 |
</tr> |
|
962 |
<tr> |
|
963 |
<td>SplitPane.size</td> |
|
964 |
<td>Integer</td> |
|
965 |
<td>6 </td> |
|
966 |
<td>Size of the divider </td> |
|
967 |
</tr> |
|
968 |
</tbody> |
|
969 |
</table> |
|
970 |
<br> |
|
50358 | 971 |
<h2><a id="JSlider"></a>JSlider</h2> |
972 |
<h3>JSlider Specific Properties</h3> |
|
23715 | 973 |
<table cellpadding="2" cellspacing="2" border="1" summary="JSlider specific properties" |
2 | 974 |
style="text-align: left; width: 100%;"> |
975 |
<tbody> |
|
976 |
<tr> |
|
977 |
<th style="vertical-align: top; text-align: center;">Property<br> |
|
978 |
</th> |
|
979 |
<th style="vertical-align: top; text-align: center;">Expected Type<br> |
|
980 |
</th> |
|
981 |
<th style="vertical-align: top; text-align: center;">Default Value<br> |
|
982 |
</th> |
|
983 |
<th style="vertical-align: top; text-align: center;">Description<br> |
|
984 |
</th> |
|
985 |
</tr> |
|
986 |
<tr> |
|
987 |
<td style="vertical-align: top;">Slider.thumbWidth<br> |
|
988 |
</td> |
|
989 |
<td style="vertical-align: top;">Integer<br> |
|
990 |
</td> |
|
991 |
<td style="vertical-align: top;">30<br> |
|
992 |
</td> |
|
993 |
<td style="vertical-align: top;">Width of the slider thumb<br> |
|
994 |
</td> |
|
995 |
</tr> |
|
996 |
<tr> |
|
997 |
<td style="vertical-align: top;">Slider.thumbHeight<br> |
|
998 |
</td> |
|
999 |
<td style="vertical-align: top;">Integer<br> |
|
1000 |
</td> |
|
1001 |
<td style="vertical-align: top;">14<br> |
|
1002 |
</td> |
|
1003 |
<td style="vertical-align: top;">Height of the slider thumb<br> |
|
1004 |
</td> |
|
1005 |
</tr> |
|
1006 |
<tr> |
|
1007 |
<td style="vertical-align: top;">Slider.trackBorder<br> |
|
1008 |
</td> |
|
1009 |
<td style="vertical-align: top;">Integer<br> |
|
1010 |
</td> |
|
1011 |
<td style="vertical-align: top;">1<br> |
|
1012 |
</td> |
|
1013 |
<td style="vertical-align: top;">Width of the track border<br> |
|
1014 |
</td> |
|
1015 |
</tr> |
|
1016 |
<tr> |
|
1017 |
<td style="vertical-align: top;">Slider.paintValue<br> |
|
1018 |
</td> |
|
1019 |
<td style="vertical-align: top;">Boolean<br> |
|
1020 |
</td> |
|
1021 |
<td style="vertical-align: top;">true<br> |
|
1022 |
</td> |
|
1023 |
<td style="vertical-align: top;">Whether or not to paint the |
|
1024 |
current value<br> |
|
1025 |
of the slider.<br> |
|
1026 |
</td> |
|
1027 |
</tr> |
|
1028 |
</tbody> |
|
1029 |
</table> |
|
1030 |
<br> |
|
50358 | 1031 |
<h2><a id="JTabbedPane"></a>JTabbedPane</h2> |
1032 |
<h3>JTabbedPane Specific Properties</h3> |
|
23715 | 1033 |
<table cellpadding="2" cellspacing="2" border="1" summary="JTabbedPane specific properties" |
2 | 1034 |
style="text-align: left; width: 100%;"> |
1035 |
<tbody> |
|
1036 |
<tr> |
|
1037 |
<th style="vertical-align: top; text-align: center;">Property</th> |
|
1038 |
<th style="vertical-align: top; text-align: center;">Expected Type<br> |
|
1039 |
</th> |
|
1040 |
<th style="vertical-align: top; text-align: center;">Default Value<br> |
|
1041 |
</th> |
|
1042 |
<th style="vertical-align: top; text-align: center;">Description</th> |
|
1043 |
</tr> |
|
1044 |
<tr> |
|
1045 |
<td style="vertical-align: top;">TabbedPane.tabRunOverlay<br> |
|
1046 |
</td> |
|
1047 |
<td style="vertical-align: top;">Integer<br> |
|
1048 |
</td> |
|
1049 |
<td style="vertical-align: top;">0<br> |
|
1050 |
</td> |
|
1051 |
<td style="vertical-align: top;">Number of pixels to overlap |
|
1052 |
tabs when there is more than one row. <br> |
|
1053 |
</td> |
|
1054 |
</tr> |
|
1055 |
<tr> |
|
1056 |
<td style="vertical-align: top;">TabbedPane.textIconGap<br> |
|
1057 |
</td> |
|
1058 |
<td style="vertical-align: top;">Integer<br> |
|
1059 |
</td> |
|
1060 |
<td style="vertical-align: top;">0<br> |
|
1061 |
</td> |
|
1062 |
<td style="vertical-align: top;">Padding added between the icon |
|
1063 |
and text on a tab. If there is no text or icon this value |
|
1064 |
is not used. |
|
1065 |
</td> |
|
1066 |
</tr> |
|
1067 |
<tr> |
|
1068 |
<td style="vertical-align: top;">TabbedPane.selectedTabPadInsets<br> |
|
1069 |
</td> |
|
1070 |
<td style="vertical-align: top;">Insets<br> |
|
1071 |
</td> |
|
1072 |
<td style="vertical-align: top;">Empty Insets (0, 0, 0, 0)<br> |
|
1073 |
</td> |
|
1074 |
<td style="vertical-align: top;">Extra insets added to the |
|
1075 |
selected tab.<br> |
|
1076 |
</td> |
|
1077 |
</tr> |
|
1078 |
<tr> |
|
1079 |
<td style="vertical-align: top;">TabbedPane.selectionFollowsFocus<br> |
|
1080 |
</td> |
|
1081 |
<td style="vertical-align: top;">Boolean<br> |
|
1082 |
</td> |
|
1083 |
<td style="vertical-align: top;">true<br> |
|
1084 |
</td> |
|
1085 |
<td style="vertical-align: top;">If true the selection of the |
|
1086 |
tabbed pane changes as the user navigates the tabs with a |
|
1087 |
mouse.<br> |
|
1088 |
</td> |
|
1089 |
</tr> |
|
1090 |
</tbody> |
|
1091 |
</table> |
|
1092 |
<br> |
|
50358 | 1093 |
<h2><a id="JTable">JTable</a></h2> |
48264
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
1094 |
<p> JTable sets the name of the renderer to Table.cellRenderer. |
2 | 1095 |
JTable supports the following properties: </p> |
50358 | 1096 |
<h3>JTable Specific Properties</h3> |
23715 | 1097 |
<table border="1" summary="JTable specific properties"> |
2 | 1098 |
<thead><tr> |
1099 |
<th>Property</th> |
|
1100 |
<th>Expected Type</th> |
|
1101 |
<th>Default Value</th> |
|
1102 |
<th>Description </th> |
|
1103 |
</tr> |
|
1104 |
</thead> <tbody> |
|
1105 |
<tr> |
|
1106 |
<td>Table.gridColor</td> |
|
1107 |
<td>Color</td> |
|
1108 |
<td>null </td> |
|
1109 |
<td>Color used for the grid. If null the foreground from the |
|
1110 |
style is used. </td> |
|
1111 |
</tr> |
|
1112 |
<tr> |
|
1113 |
<td>Table.rendererUseTableColors</td> |
|
1114 |
<td>Boolean</td> |
|
1115 |
<td>true </td> |
|
1116 |
<td>If true the renderers state is not updated, and the text |
|
48264
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
1117 |
colors come from JTable's getSelectionBackground and |
2 | 1118 |
getSelectionForeground methods. If false, the renderer's state is |
1119 |
updated and the colors will instead come from the Style. </td> |
|
1120 |
</tr> |
|
1121 |
<tr> |
|
1122 |
<td>Table.rendererUseUIBorder</td> |
|
1123 |
<td>Boolean</td> |
|
1124 |
<td>true </td> |
|
48264
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
1125 |
<td>If true setBorder on the renderer will succeed |
2 | 1126 |
regardless of the border passed in, otherwise setBorder on the |
1127 |
renderer will only succeed if it is a Synth Border. </td> |
|
1128 |
</tr> |
|
1129 |
<tr> |
|
1130 |
<td>Table.rowHeight</td> |
|
1131 |
<td>Integer</td> |
|
1132 |
<td>-1 </td> |
|
1133 |
<td>If not -1 setRowHeight is invoked on the JTable. </td> |
|
1134 |
</tr> |
|
1135 |
</tbody> |
|
1136 |
</table> |
|
1137 |
<br> |
|
50358 | 1138 |
<h2><a id="JTree">JTree</a></h2> |
2 | 1139 |
<p> JTree sets the name of the renderer to Tree.renderer, the name of |
1140 |
the editor is Tree.cellEditor.</p> |
|
50358 | 1141 |
<h3>JTree Specific Properties</h3> |
23715 | 1142 |
<table border="1" summary="JTree specific properties"> |
2 | 1143 |
<thead><tr> |
1144 |
<th>Property</th> |
|
1145 |
<th>Expected Type</th> |
|
1146 |
<th>Default Value</th> |
|
1147 |
<th>Description </th> |
|
1148 |
</tr> |
|
1149 |
</thead> <tbody> |
|
1150 |
<tr> |
|
1151 |
<td>Tree.collapsedIcon</td> |
|
1152 |
<td>Icon</td> |
|
1153 |
<td>null </td> |
|
1154 |
<td>Icon to use when a node is collapsed. </td> |
|
1155 |
</tr> |
|
1156 |
<tr> |
|
1157 |
<td>Tree.drawHorizontalLines</td> |
|
1158 |
<td>Boolean</td> |
|
1159 |
<td>true </td> |
|
48264
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
1160 |
<td>If true nodes have a horizontal connecting them to the |
2 | 1161 |
leading edge of their parent. </td> |
1162 |
</tr> |
|
1163 |
<tr> |
|
1164 |
<td>Tree.drawVerticalLines</td> |
|
1165 |
<td>Boolean</td> |
|
1166 |
<td>true </td> |
|
1167 |
<td>If true a vertical line is drawn down from expanded nodes. </td> |
|
1168 |
</tr> |
|
1169 |
<tr> |
|
1170 |
<td>Tree.expandedIcon</td> |
|
1171 |
<td>Icon</td> |
|
1172 |
<td>null </td> |
|
1173 |
<td>Icon to use when a node has been expanded. </td> |
|
1174 |
</tr> |
|
1175 |
<tr> |
|
1176 |
<td>Tree.leftChildIndent</td> |
|
1177 |
<td>Integer</td> |
|
1178 |
<td>0 </td> |
|
1179 |
<td>This plus Tree.rightChildIndent account for the total |
|
1180 |
space, along the y axis, to offset nodes from their parent. </td> |
|
1181 |
</tr> |
|
1182 |
<tr> |
|
1183 |
<td>Tree.rightChildIndent</td> |
|
1184 |
<td>Integer</td> |
|
1185 |
<td>0 </td> |
|
1186 |
<td>This plus Tree.leftChildIndent account for the total |
|
1187 |
space, along the y axis, to offset nodes from their parent. </td> |
|
1188 |
</tr> |
|
1189 |
<tr> |
|
1190 |
<td>Tree.rowHeight</td> |
|
1191 |
<td>Integer</td> |
|
1192 |
<td>-1 </td> |
|
1193 |
<td>Row height for the Tree.</td> |
|
1194 |
</tr> |
|
1195 |
<tr> |
|
1196 |
<td>Tree.scrollsHorizontallyAndVertically</td> |
|
1197 |
<td>Boolean</td> |
|
1198 |
<td>false </td> |
|
21278 | 1199 |
<td>If false and scrolling needs to happen to accommodate cells |
2 | 1200 |
it will only happen along the vertical axis, if true, scrolling |
1201 |
may happen along both the horizontal and vertical axis. </td> |
|
1202 |
</tr> |
|
1203 |
<tr> |
|
1204 |
<td>Tree.scrollsOnExpand</td> |
|
1205 |
<td>Boolean</td> |
|
1206 |
<td>true </td> |
|
48264
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
1207 |
<td>Whether or not the JTree should scroll when a node is |
2 | 1208 |
expanded. </td> |
1209 |
</tr> |
|
1210 |
<tr> |
|
1211 |
<td>Tree.linesStyle</td> |
|
1212 |
<td>String</td> |
|
1213 |
<td> </td> |
|
1214 |
<td>The styles of the lines in the tree. Synth supports solid lines |
|
1215 |
(empty value) and dashed lines ("dashed" value). It is possible to add new |
|
1216 |
styles by creating a new <a href="../SynthGraphicsUtils.html">SynthGraphicsUtils</a> |
|
1217 |
and <a href="synthFileFormat.html#e.graphicsUtils">binding it</a> to the tree.</td> |
|
1218 |
</tr> |
|
1219 |
</tbody> |
|
1220 |
</table> |
|
50358 | 1221 |
<h2><a id="JToggleButton">JToggleButton</a></h2> |
2 | 1222 |
<p> JToggleButton paints text using the TEXT_FOREGROUND ColorType. In |
1223 |
addition to the <a href="#buttonProperties">Button properties</a>, |
|
1224 |
JToggleButton supports the following property: </p> |
|
50358 | 1225 |
<h3>JToggleButton Specific Properties</h3> |
23715 | 1226 |
<table border="1" summary="JToggleButton specific properties"> |
2 | 1227 |
<thead><tr> |
1228 |
<th>Property</th> |
|
1229 |
<th>Expected Type</th> |
|
1230 |
<th>Default Value</th> |
|
1231 |
<th>Description </th> |
|
1232 |
</tr> |
|
1233 |
</thead> <tbody> |
|
1234 |
<tr> |
|
1235 |
<td>ToggleButton.icon</td> |
|
1236 |
<td>Icon</td> |
|
1237 |
<td>null </td> |
|
1238 |
<td>Icon used to render the radio indicator. </td> |
|
1239 |
</tr> |
|
1240 |
</tbody> |
|
1241 |
</table> |
|
1242 |
<br> |
|
50358 | 1243 |
<h2><a id="buttonProperties">Button Properties</a></h2> |
2 | 1244 |
<p> Each of the Button classes (JButton, JCheckBox, JRadioButton, |
1245 |
JToggleButton and SynthArrowButton) support a similar set of properties. |
|
1246 |
These properties are: </p> |
|
23715 | 1247 |
<table border="1" summary="Button classes common properties"> |
2 | 1248 |
<thead><tr> |
1249 |
<th>Property</th> |
|
1250 |
<th>Expected Type</th> |
|
1251 |
<th>Default Value</th> |
|
1252 |
<th>Description </th> |
|
1253 |
</tr> |
|
1254 |
</thead> <tbody> |
|
1255 |
<tr> |
|
1256 |
<td>prefix.contentAreaFilled</td> |
|
1257 |
<td>Integer</td> |
|
1258 |
<td>true </td> |
|
48264
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
1259 |
<td>Refer to the javadoc of |
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
1260 |
<code>javax.swing.AbstractButton#contentAreaFilled(boolean)</code> |
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
1261 |
for details of how this is used. It is up to the Painter to properly honor |
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
1262 |
this property. |
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
1263 |
</td> |
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
1264 |
</tr> |
2 | 1265 |
<tr> |
1266 |
<td>prefix.iconTextGap</td> |
|
1267 |
<td>Integer</td> |
|
48264
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
1268 |
<td>If unspecified, JButton.setIconTextGap is not invoked.</td> |
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
1269 |
<td>Padding between the icon and text. Refer to the javadoc of |
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
1270 |
<code>javax.swing.AbstractButton#setIconTextGap(int)</code> |
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
1271 |
for details of how this is used. |
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
1272 |
</td> |
2 | 1273 |
</tr> |
1274 |
<tr> |
|
1275 |
<td>prefix.margin</td> |
|
1276 |
<td>Insets</td> |
|
1277 |
<td>Empty Insets (0, 0, 0, 0) </td> |
|
48264
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
1278 |
<td>Margin for the JButton. Refer to the javadoc of |
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
1279 |
<code>javax.swing.AbstractButton#setMargin(java.awt.Insets)</code> for |
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
1280 |
details of how the margin is used. |
efda6932a433
8182410: missing 'title' in api/javax/swing/plaf/synth/doc-files/componentProperties.html
serb
parents:
47216
diff
changeset
|
1281 |
</td> |
2 | 1282 |
</tr> |
1283 |
<tr> |
|
1284 |
<td>prefix.textShiftOffset</td> |
|
1285 |
<td>Integer</td> |
|
1286 |
<td>0 </td> |
|
1287 |
<td>Amount to shift the text and icon, along the x and y axis, |
|
1288 |
from where it would normally be layed out. This is only used when |
|
1289 |
the button is in a pressed state and does not have a pressed icon. </td> |
|
1290 |
</tr> |
|
1291 |
</tbody> |
|
1292 |
</table> |
|
1293 |
<p> <code>Prefix</code> is one of: Button, CheckBox, RadioButton or |
|
1294 |
JToggleButton.<br> |
|
1295 |
</p> |
|
50358 | 1296 |
<h2><a id="textProperties"></a>Text Properties<br> |
1297 |
</h2> |
|
23715 | 1298 |
<table cellpadding="2" cellspacing="2" border="1" summary="Text properties" |
2 | 1299 |
style="text-align: left; width: 100%;"> |
1300 |
<tbody> |
|
1301 |
<tr> |
|
1302 |
<th style="vertical-align: top; text-align: center;">Property</th> |
|
1303 |
<th style="vertical-align: top; text-align: center;">Expected Type<br> |
|
1304 |
</th> |
|
1305 |
<th style="vertical-align: top; text-align: center;">Default Value<br> |
|
1306 |
</th> |
|
1307 |
<th style="vertical-align: top; text-align: center;">Description<br> |
|
1308 |
</th> |
|
1309 |
</tr> |
|
1310 |
<tr> |
|
1311 |
<td style="vertical-align: top;">prefix.caretForeground<br> |
|
1312 |
</td> |
|
1313 |
<td style="vertical-align: top;">Color<br> |
|
1314 |
</td> |
|
1315 |
<td style="vertical-align: top;">#000000</td> |
|
1316 |
<td style="vertical-align: top;">Color of the caret.<br> |
|
1317 |
</td> |
|
1318 |
</tr> |
|
1319 |
<tr> |
|
1320 |
<td style="vertical-align: top;">prefix.margin<br> |
|
1321 |
</td> |
|
1322 |
<td style="vertical-align: top;">Insets</td> |
|
1323 |
<td style="vertical-align: top;">Empty Insets (0, 0, 0, 0),<br> |
|
1324 |
EditorPane and TextPane (3, 3, 3, 3)<br> |
|
1325 |
</td> |
|
1326 |
<td style="vertical-align: top;">Margins of the text component.<br> |
|
1327 |
</td> |
|
1328 |
</tr> |
|
1329 |
<tr> |
|
1330 |
<td style="vertical-align: top;">prefix.caretBlinkRate<br> |
|
1331 |
</td> |
|
1332 |
<td style="vertical-align: top;">Integer<br> |
|
1333 |
</td> |
|
1334 |
<td style="vertical-align: top;">500<br> |
|
1335 |
</td> |
|
1336 |
<td style="vertical-align: top;">Number of milliseconds defining |
|
1337 |
the blink rate fo the caret.<br> |
|
1338 |
</td> |
|
1339 |
</tr> |
|
1340 |
</tbody> |
|
1341 |
</table> |
|
1342 |
<p><code>Prefix</code> is one of: EditorPane, FormattedTextField, |
|
1343 |
PasswordField, TextArea, TextField or TextPane.<br> |
|
1344 |
</p> |
|
50358 | 1345 |
</main> |
2 | 1346 |
</body> |
1347 |
</html> |