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