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