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