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