0N/A<!
DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
0N/ACopyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved. 0N/ADO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/AThis code is free software; you can redistribute it and/or modify it 0N/Aunder the terms of the GNU General Public License version 2 only, as 0N/Apublished by the Free Software Foundation. Sun designates this 0N/Aparticular file as subject to the "Classpath" exception as provided 0N/Aby Sun in the LICENSE file that accompanied this code. 0N/AThis code is distributed in the hope that it will be useful, but WITHOUT 0N/AANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/AFITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/Aversion 2 for more details (a copy is included in the LICENSE file that 0N/Aaccompanied this code). 0N/AYou should have received a copy of the GNU General Public License version 0N/A2 along with this work; if not, write to the Free Software Foundation, 0N/AInc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 0N/APlease contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 0N/ACA 95054 USA or visit www.sun.com if you need additional information or 0N/A<
body bgcolor="white">
0N/A<
h3>Component Specific Properties</
h3>
0N/A<
p> The look, and to some degree the feel of Synth
0N/Acan be customized by way of component specific properties.
0N/AThese properties are accessed from <
a 0N/A This file specifies the expected class type each of the values
0N/A are to take. The behavior of supplying the wrong type is
0N/A unspecified: typically a <
code>ClassCastException</
code> is
0N/A thrown, but it is implementation specific.
0N/A<
p> ArrowButton is a special type of JButton that renders an arrow.
0N/AArrowButton is typically not created directly, rather some of the
0N/AComponents will create it to render a button with an arrow. The
0N/A components that make use of ArrowButton are:
0N/AJComboBox, JScrollBar and JSplitPane (for the buttons on the divider).
0N/AIn addition to the <
a 0N/A href="#buttonProperties">Button properties</
a>, ArrowButton supports
0N/Athe following propeties: </
p>
0N/A<
h5>ArrowButton Specific Properties</
h5>
0N/A <
th>Expected Type</
th>
0N/A <
th>Default Value</
th>
0N/A <
th>Description </
th>
0N/A <
td>Preferred size of the arrow button. </
td>
0N/A<
h4><
a name="JButton">JButton</
a></
h4>
0N/A<
p> JButton paints text using the TEXT_FOREGROUND ColorType. In addition
0N/Ato the <
a href="#buttonProperties">Button properties</
a>, JButton
0N/Asupports the following property: </
p>
0N/A<
h5>JButton Specific Properties</
h5>
0N/A <
th>Expected Type</
th>
0N/A <
th>Default Value</
th>
0N/A <
th>Description </
th>
0N/A <
td>Whether or not the default JButton should change to the
0N/Abutton that is receiving focus. </
td>
0N/A<
h4><
a name="JCheckBox">JCheckBox</
a></
h4>
0N/A<
p> JCheckBox paints text using the TEXT_FOREGROUND ColorType. In
0N/Aaddition to the <
a href="#buttonProperties">Button properties</
a>,
0N/AJCheckBox supports the following property: </
p>
0N/A<
h5>JCheckBox Specific Properties</
h5>
0N/A <
th>Expected Type</
th>
0N/A <
th>Default Value</
th>
0N/A <
th>Description </
th>
0N/A <
td>Icon used to render the check. </
td>
0N/A<
h4><
a name="JComboBox">JComboBox</
a></
h4>
0N/A<
p> JComboBox is a composite component that consists of the following
0N/Achild Components: </
p>
0N/A <
th>Description </
th>
0N/A <
td>SynthArrowButton </
td>
0N/A <
td>Renders the drop down indicator. </
td>
0N/A <
td>JList used to render the values. </
td>
0N/A <
td>The renderer used for the JComboBox's JList. </
td>
0N/A <
td>JPopupMenu </
td>
0N/A <
td>The renderer used for the JComboBox. This is ONLY set if
0N/Athe renderer is a UIResource. </
td>
0N/A <
td>JScrollPane </
td>
0N/A <
td>JScrollPane containing the JList. </
td>
0N/A <
td>JTextField </
td>
0N/A <
td>The editor. </
td>
0N/A<
h5>JComboBox Specific Properties</
h5>
0N/A <
th>Expected Type</
th>
0N/A <
th>Default Value</
th>
0N/A <
th>Description </
th>
0N/A <
td>Whether or not the JPopupMenu should appear when navigating
0N/Awith the keyboard. </
td>
0N/A<
h4>JFileChooser</
h4>
0N/A<
h5>JFileChooser Specific Properties</
h5>
0N/A<
table cellpadding="2" cellspacing="2" border="1" 0N/A style="width: 100%; text-align: left;">
0N/A <
th style="vertical-align: top; text-align: center;">Property</
th>
0N/A <
th style="vertical-align: top; text-align: center;">Expected Type<
br>
0N/A <
th style="vertical-align: top; text-align: center;">Default Value<
br>
0N/A <
th style="vertical-align: top; text-align: center;">Description</
th>
0N/A <
td style="vertical-align: top;">Icon<
br>
0N/A <
td style="vertical-align: top;">null<
br>
0N/A <
td style="vertical-align: top;">Icon displayed on cancel button
0N/Aof the file chooser.<
br>
0N/A <
td style="vertical-align: top;">Icon<
br>
0N/A <
td style="vertical-align: top;">null<
br>
0N/A <
td style="vertical-align: top;">Icon displayed on the ok button
0N/Aof the file chooser.<
br>
0N/A <
td style="vertical-align: top;">Icon<
br>
0N/A <
td style="vertical-align: top;">null<
br>
0N/A <
td style="vertical-align: top;">Icon used for directories.
0N/A <
td style="vertical-align: top;">Icon<
br>
0N/A <
td style="vertical-align: top;">null<
br>
0N/A <
td style="vertical-align: top;">Icon used for files.
0N/A <
td style="vertical-align: top;">Icon<
br>
0N/A <
td style="vertical-align: top;">null<
br>
0N/A <
td style="vertical-align: top;">Icon used for directories that
0N/A represent the computer. Not all platforms will make use
0N/A <
td style="vertical-align: top;">Icon<
br>
0N/A <
td style="vertical-align: top;">null<
br>
0N/A <
td style="vertical-align: top;">Icon used to represent the root
0N/A of a hard drive. For example, on Windows this would be
0N/A used when viewing the C drive.
0N/A <
td style="vertical-align: top;">Icon<
br>
0N/A <
td style="vertical-align: top;">null<
br>
0N/A <
td style="vertical-align: top;">Icon used to represent a floppy
0N/A <
td style="vertical-align: top;">Icon<
br>
0N/A <
td style="vertical-align: top;">null<
br>
0N/A <
td style="vertical-align: top;">Icon used by the button that creates a new
0N/A <
td style="vertical-align: top;">Icon<
br>
0N/A <
td style="vertical-align: top;">null<
br>
0N/A <
td style="vertical-align: top;">Icon used by the button that navigates to the
0N/A <
td style="vertical-align: top;">Icon<
br>
0N/A <
td style="vertical-align: top;">null<
br>
0N/A <
td style="vertical-align: top;">Icon used by the button that navigates to the
0N/A current user's home directory.
0N/A <
td style="vertical-align: top;">Icon<
br>
0N/A <
td style="vertical-align: top;">null<
br>
0N/A <
td style="vertical-align: top;">Icon used by the button that toggles the
0N/A detailed files list view.
0N/A <
td style="vertical-align: top;">Icon<
br>
0N/A <
td style="vertical-align: top;">null<
br>
0N/A <
td style="vertical-align: top;">Icon used by the button that toggles the
0N/A regular files list view, showing only an icon and the name of each
0N/A <
td style="vertical-align: top;">Icon<
br>
0N/A <
td style="vertical-align: top;">null<
br>
0N/A <
td style="vertical-align: top;">Icon used by the button that shows popup menu
0N/A for selection of a view mode.
0N/A<
h4><
a name="JInternalFrame"></
a>JInternalFrame</
h4>
0N/A<
h5>JInternalFrame Specific Properties</
h5>
0N/A<
table cellpadding="2" cellspacing="2" border="1" 0N/A style="text-align: left; width: 100%;">
0N/A <
th style="vertical-align: top; text-align: center;">Property<
br>
0N/A <
th style="vertical-align: top; text-align: center;">Expected Type<
br>
0N/A <
th style="vertical-align: top; text-align: center;">DefaultValue<
br>
0N/A <
th style="vertical-align: top; text-align: center;">Description<
br>
0N/A <
td style="vertical-align: top;">Icon</
td>
0N/A <
td style="vertical-align: top;">null<
br>
0N/A <
td style="vertical-align: top;">Icon drawn representing the
0N/Aicon of the internal frame. If pressed<
br>
0N/Athe system menu will be shown.<
br>
0N/A<
h4><
a name="JInternalFrameTitlePane"></
a>JInternalFrameTitlePane</
h4>
0N/A<
p>JInternalFrameTitlePane is the control bar located at the top of the
0N/Ainternal frame similar to that found in a frame.<
br>
0N/A<
h5>JInternalFrameTitlePane Specific Properties</
h5>
0N/A<
table cellpadding="2" cellspacing="2" border="1" 0N/A style="text-align: left; width: 100%;">
0N/A <
th style="vertical-align: top; text-align: center;">Property<
br>
0N/A <
th style="vertical-align: top; text-align: center;">Expected Type<
br>
0N/A <
th style="vertical-align: top; text-align: center;">Default Value<
br>
0N/A <
th style="vertical-align: top; text-align: center;">Description<
br>
0N/A <
td style="vertical-align: top;">Icon</
td>
0N/A <
td style="vertical-align: top;">null<
br>
0N/A <
td style="vertical-align: top;">Icon drawn to indicate the
0N/Aability to maximize the internal frame.<
br>
0N/A <
td style="vertical-align: top;">Icon</
td>
0N/A <
td style="vertical-align: top;">null<
br>
0N/A <
td style="vertical-align: top;">Icon drawn to indicate the
0N/Aability to restore the internal frame back to its previous state.<
br>
0N/A <
td style="vertical-align: top;">Icon</
td>
0N/A <
td style="vertical-align: top;">null<
br>
0N/A <
td style="vertical-align: top;">Icon drawn to indicate the
0N/Aability to minimize the internal frame.<
br>
0N/A <
td style="vertical-align: top;">Icon</
td>
0N/A <
td style="vertical-align: top;">null<
br>
0N/A <
td style="vertical-align: top;">Icon drawn to indicate the
0N/Aabililty to close the internal frame.
0N/A <
td style="vertical-align: top;">Integer</
td>
0N/A <
td style="vertical-align: top;">2</
td>
0N/A <
td style="vertical-align: top;">Space between the
0N/A buttons on the title pane and the title.
0N/A <
td style="vertical-align: top;">Integer</
td>
0N/A <
td style="vertical-align: top;">2</
td>
0N/A <
td style="vertical-align: top;">Space between the buttons on
0N/A <
td style="vertical-align: top;">Dimension</
td>
0N/A <
td style="vertical-align: top;">16x16</
td>
0N/A <
td style="vertical-align: top;">Maximum size of the frame
0N/A icon that will be rendered on the title pane. If the icon
0N/A is bigger than this size, it will be scaled down.
0N/A <
td style="vertical-align: top;">leading|trailing|center</
td>
0N/A <
td style="vertical-align: top;">leading</
td>
0N/A <
td style="vertical-align: top;">Alignment for the title.
0N/A With a left to right component orientation leading is left
0N/A and trailing right. With a right to left component
0N/A orientation leading is right and trailing left.
0N/A<
h4><
a name="JList">JList</
a></
h4>
0N/Asupports the following properties: </
p>
0N/A<
h5>JList Specific Properties</
h5>
0N/A <
th>Expected Type</
th>
0N/A <
th>Default Value</
th>
0N/A <
th>Description </
th>
0N/A <
td>If true the renderers state is not updated, and the text
0N/Acolors come from JList's getSelectionBackground and
0N/AgetSelectionForeground methods. If false, the renderer's state is
0N/Aupdated and the colors will instead come from the Style. </
td>
0N/A <
td>If true setBorder on the renderer will succeed regardless
0N/Aof the border passed in, otherwise setBorder on the renderer will
0N/Aonly succeed if it is a Synth Border. </
td>
0N/A <
td>Cell height of the JList. Is this is -1, <
code>setFixedCellHeight</
code>
0N/Ais not invoked. </
td>
0N/A<
h4><
a name="menuProperties">Menu Properties</
a></
h4>
0N/A<
p> The Menu classes (JCheckBoxMenuItem, JMenu, JMenuItem, and
0N/AJRadioButtonMenuItem) all support the same set of properties and behave
0N/Asimilarly. Each component consists of two Regions: the region
0N/AMENU_ITEM_ACCELERATOR is used for painting the accelerator. Both Regions
0N/Apaint text using the TEXT_FOREGROUND ColorType. The following set of
0N/Aproperties are supported: </
p>
0N/A <
th>Expected Type</
th>
0N/A <
th>Default Value</
th>
0N/A <
th>Description </
th>
0N/A <
td>String separator between the description of the modifiers
0N/Aand the key, for example <
code>Ctrl <acceleratorDelimiter> X</
code>.
0N/A <
td>Icon drawn to the right of the text (or left when the
0N/AComponentOrientation is right to left) of the text. This is
0N/Atypically only defined for JMenu. </
td>
0N/A <
td>Icon drawn to the left of the text (or right when the
0N/AComponentOrientation is right to left) of the text. This is
0N/Atypically only defined for JCheckBoxMenuItem and JRadioButtonMenuItem
0N/Ato provide the check or radio button. </
td>
0N/A <
td>Empty Insets (0, 0, 0, 0) </
td>
0N/A <
td>Margin for the JMenuItem. Refer to the javadoc of
0N/Aof how the margin is used. </
td>
0N/A <
td>Padding between the icon and text. Refer to the javadoc for
0N/A<
p> <
code>Prefix</
code> is one of: CheckBoxMenuItem, Menu, MenuItem, or
0N/ARadioButtonMenuItem. </
p>
0N/A<
p> JMenu also supports the following properties: </
p>
0N/A <
th>Expected Type</
th>
0N/A <
th>Default Value</
th>
0N/A <
th>Description </
th>
0N/A <
td>Sets the delay before the menu appears. </
td>
0N/A <
td>Array of the KeyEvent modifiers to use for shortcut keys. </
td>
0N/A<
h4><
a name="JOptionPane">JOptionPane</
a></
h4>
0N/A<
p> JOptionPane is a composite component and may consist of numerous child
0N/A<
h5>JOptionPane Specific Properties</
h5>
0N/A <
th>Expected Type</
th>
0N/A <
th>Default Value</
th>
0N/A <
th>Description </
th>
0N/A <
td>Border around the button area. </
td>
0N/A <
td>Passed to the created buttons setMultiClickThreshhold. </
td>
0N/A <
td>How the buttons should be layed out, one of
0N/A(this will be flipped when in a right to left locale). </
td>
0N/A <
td>Amount of space between buttons. </
td>
0N/A <
td>Icon for the cancel button. </
td>
0N/A <
td>Icon used for ERROR_MESSAGE. </
td>
0N/A <
td>Icon used for INFORMATION_MESSAGE. </
td>
0N/A <
td>If true the 'yes' button leads other buttons, otherwise
0N/Ait follows the other buttons. </
td>
0N/A <
td>Icon used for error QUESTION_MESSAGE. </
td>
0N/A <
td>Minimum size for the JOptionPane. </
td>
0N/A <
td>Icon for the no button. </
td>
0N/A <
td>Icon for the ok button. </
td>
0N/A <
td>Whether or not all the buttons should be the same size. </
td>
0N/A <
td>Amount of padding between the message area and separator. </
td>
0N/A <
td>Icon for the yes button. </
td>
0N/A <
td>Icon used for error WARNING_MESSAGE </
td>
0N/A<
h4><
a name="JProgressBar"></
a>JProgressBar<
br>
0N/A<
h5>JProgressBar Specific Properties<
br>
0N/A<
table cellpadding="2" cellspacing="2" border="1" 0N/A style="text-align: left; width: 100%;">
0N/A <
th style="vertical-align: top; text-align: center;">Property</
th>
0N/A <
th style="vertical-align: top; text-align: center;">Expected Type<
br>
0N/A <
th style="vertical-align: top; text-align: center;">Default Value<
br>
0N/A <
th style="vertical-align: top; text-align: center;">Description</
th>
0N/A <
td style="vertical-align: top;">Integer<
br>
0N/A <
td style="vertical-align: top;">50<
br>
0N/A <
td style="vertical-align: top;">Number of milliseconds between
0N/Arepaints for indeterminate progress bars.<
br>
0N/A <
td style="vertical-align: top;">Integer<
br>
0N/A <
td style="vertical-align: top;">3000<
br>
0N/A <
td style="vertical-align: top;">Number of milliseconds used to
0N/Adetermine how far to move<
br>
0N/Athe bouncing box per frame when the progress bar is indeterminate.<
br>
0N/A<
h4><
a name="JRadioButton">JRadioButton</
a></
h4>
0N/A<
p> JRadioButton paints text using the TEXT_FOREGROUND ColorType. In
0N/Aaddition to the <
a href="#buttonProperties">Button properties</
a>,
0N/AJRadioButton supports the following property: </
p>
0N/A<
h5>JRadioButton Specific Properties</
h5>
0N/A <
th>Expected Type</
th>
0N/A <
th>Default Value</
th>
0N/A <
th>Description </
th>
0N/A <
td>Icon used to render the radio indicator. </
td>
0N/A<
h4><
a name="JScrollBar">JScrollBar</
a></
h4>
0N/A<
p> JScrollBar is a composite component that consists of the following
0N/Achild Components: </
p>
0N/A <
th>Description </
th>
0N/A <
td>SynthArrowButton </
td>
0N/A<
h5>JScrollBar Specific Properties</
h5>
0N/A <
th>Expected Type</
th>
0N/A <
th>Default Value</
th>
0N/A <
th>Description </
th>
0N/A <
td>If true, middle mouse click in the track will set the
0N/Aposition of the track to where the mouse is. </
td>
0N/A <
td>Maximum thumb size. </
td>
0N/A <
td>The minimum thumb size. If this is not specified the
0N/A of the scrollbar along the opposite axis of the scrollbar
0N/A and 7 along the other axis. For example, if you have not
0N/A specified Insets for a scrollbar, and the orientation of
0N/A the scrollbar is vertical, than the minimum thumb
0N/A <
td>If true, the width and height of the scrollbar buttons
0N/Awill be made equal. </
td>
0N/A <
td>The preferred height, when the orientation of the
0N/A scrollbar is horizontal, or preferred width when the
0N/A orientation of the scrollbar is vertical.</
td>
0N/A<
h4><
a name="Separator">Separators</
a></
h4>
0N/A <
th>Expected Type</
th>
0N/A <
th>Default Value</
th>
0N/A <
th>Description </
th>
0N/A <
td>Preferred width, for vertically aligned separators, or
0N/Apreferred height for horizontally aligned separators. The resulting
0N/Apreferred size will include the Insets. </
td>
0N/A <
th>Expected Type</
th>
0N/A <
th>Default Value</
th>
0N/A <
th>Description </
th>
0N/Amethod. If unspecified <
code>setSeparatorSize</
code> is not
0N/A<
h4><
a name="JScrollPane">JScrollPane</
a></
h4>
0N/A JScrollPane is unique in that it provides a method for setting
0N/A the Border around the JViewport with JViewport throwing an
0N/A IllegalArgumentException from <
code>setBorder</
code>. To
0N/A accomodate this a special border is installed on the
0N/A <
code>JScrollPane</
code> that uses the
0N/A <
code>SynthPainter</
code> method
0N/A <
code>paintViewportBorder</
code> is called to paint the
0N/A <
code>Viewport</
code>s border.
0N/A<
h5>JScrollPane Specific Properties</
h5>
0N/A <
th>Expected Type</
th>
0N/A <
th>Default Value</
th>
0N/A <
th>Description </
th>
0N/A <
td>Insets for the viewport Border. </
td>
0N/A<
h4><
a name="JSplitPane">JSplitPane</
a></
h4>
0N/A<
p> JSplitPane is a composite component that will contain a divider and
0N/Apotentially two buttons, if setOneTouchExpandable(true) has been
0N/Ainvoked. The two buttons will be named:
0N/A<
h5>JSplitPane Specific Properties</
h5>
0N/A <
th>Expected Type</
th>
0N/A <
th>Default Value</
th>
0N/A <
th>Description </
th>
0N/A <
td>If true, the one touch buttons are centered on the divider. </
td>
0N/A <
td>Distance between the one touch buttons. </
td>
0N/A <
td>Size to make the one touch buttons. </
td>
0N/A <
td>If non null, the value of this is passed to
0N/AsetOneTouchExpandable. </
td>
0N/A <
td>Size of the divider </
td>
0N/A<
h4><
a name="JSlider"></
a>JSlider</
h4>
0N/A<
h5>JSlider Specific Properties</
h5>
0N/A<
table cellpadding="2" cellspacing="2" border="1" 0N/A style="text-align: left; width: 100%;">
0N/A <
th style="vertical-align: top; text-align: center;">Property<
br>
0N/A <
th style="vertical-align: top; text-align: center;">Expected Type<
br>
0N/A <
th style="vertical-align: top; text-align: center;">Default Value<
br>
0N/A <
th style="vertical-align: top; text-align: center;">Description<
br>
0N/A <
td style="vertical-align: top;">Integer<
br>
0N/A <
td style="vertical-align: top;">30<
br>
0N/A <
td style="vertical-align: top;">Width of the slider thumb<
br>
0N/A <
td style="vertical-align: top;">Integer<
br>
0N/A <
td style="vertical-align: top;">14<
br>
0N/A <
td style="vertical-align: top;">Height of the slider thumb<
br>
0N/A <
td style="vertical-align: top;">Integer<
br>
0N/A <
td style="vertical-align: top;">1<
br>
0N/A <
td style="vertical-align: top;">Width of the track border<
br>
0N/A <
td style="vertical-align: top;">Boolean<
br>
0N/A <
td style="vertical-align: top;">true<
br>
0N/A <
td style="vertical-align: top;">Whether or not to paint the
0N/A<
h4><
a name="JTabbedPane"></
a>JTabbedPane</
h4>
0N/A<
h5>JTabbedPane Specific Properties</
h5>
0N/A<
table cellpadding="2" cellspacing="2" border="1" 0N/A style="text-align: left; width: 100%;">
0N/A <
th style="vertical-align: top; text-align: center;">Property</
th>
0N/A <
th style="vertical-align: top; text-align: center;">Expected Type<
br>
0N/A <
th style="vertical-align: top; text-align: center;">Default Value<
br>
0N/A <
th style="vertical-align: top; text-align: center;">Description</
th>
0N/A <
td style="vertical-align: top;">Integer<
br>
0N/A <
td style="vertical-align: top;">0<
br>
0N/A <
td style="vertical-align: top;">Number of pixels to overlap
0N/A tabs when there is more than one row. <
br>
0N/A <
td style="vertical-align: top;">Integer<
br>
0N/A <
td style="vertical-align: top;">0<
br>
0N/A <
td style="vertical-align: top;">Padding added between the icon
0N/A and text on a tab. If there is no text or icon this value
0N/A <
td style="vertical-align: top;">Insets<
br>
0N/A <
td style="vertical-align: top;">Empty Insets (0, 0, 0, 0)<
br>
0N/A <
td style="vertical-align: top;">Extra insets added to the
0N/A <
td style="vertical-align: top;">Boolean<
br>
0N/A <
td style="vertical-align: top;">true<
br>
0N/A <
td style="vertical-align: top;">If true the selection of the
0N/A tabbed pane changes as the user navigates the tabs with a
0N/A<
h4><
a name="JTable">JTable</
a></
h4>
0N/AJTable supports the following properties: </
p>
0N/A<
h5>JTable Specific Properties</
h5>
0N/A <
th>Expected Type</
th>
0N/A <
th>Default Value</
th>
0N/A <
th>Description </
th>
0N/A <
td>Color used for the grid. If null the foreground from the
0N/A <
td>If true the renderers state is not updated, and the text
0N/Acolors come from JTable's getSelectionBackground and
0N/AgetSelectionForeground methods. If false, the renderer's state is
0N/Aupdated and the colors will instead come from the Style. </
td>
0N/A <
td>If true setBorder on the renderer will succeed
0N/Aregardless of the border passed in, otherwise setBorder on the
0N/Arenderer will only succeed if it is a Synth Border. </
td>
0N/A <
td>If not -1 setRowHeight is invoked on the JTable. </
td>
0N/A<
h4><
a name="JTree">JTree</
a></
h4>
0N/A<
h5>JTree Specific Properties</
h5>
0N/A <
th>Expected Type</
th>
0N/A <
th>Default Value</
th>
0N/A <
th>Description </
th>
0N/A <
td>Icon to use when a node is collapsed. </
td>
0N/A <
td>If true nodes have a horizontal connecting them to the
0N/Aleading edge of their parent. </
td>
0N/A <
td>If true a vertical line is drawn down from expanded nodes. </
td>
0N/A <
td>Icon to use when a node has been expanded. </
td>
0N/Aspace, along the y axis, to offset nodes from their parent. </
td>
0N/Aspace, along the y axis, to offset nodes from their parent. </
td>
0N/A <
td>Row height for the Tree.</
td>
0N/A <
td>If false and scrolling needs to happen to accomodate cells
0N/Ait will only happen along the vertical axis, if true, scrolling
0N/Amay happen along both the horizontal and vertical axis. </
td>
0N/A <
td>Whether or not the JTree should scroll when a node is
0N/A <
td>The styles of the lines in the tree. Synth supports solid lines
0N/A(empty value) and dashed lines ("dashed" value). It is possible to add new
0N/A<
h4><
a name="JToggleButton">JToggleButton</
a></
h4>
0N/A<
p> JToggleButton paints text using the TEXT_FOREGROUND ColorType. In
0N/Aaddition to the <
a href="#buttonProperties">Button properties</
a>,
0N/AJToggleButton supports the following property: </
p>
0N/A<
h5>JToggleButton Specific Properties</
h5>
0N/A <
th>Expected Type</
th>
0N/A <
th>Default Value</
th>
0N/A <
th>Description </
th>
0N/A <
td>Icon used to render the radio indicator. </
td>
0N/A<
h4><
a name="buttonProperties">Button Properties</
a></
h4>
0N/A<
p> Each of the Button classes (JButton, JCheckBox, JRadioButton,
0N/AJToggleButton and SynthArrowButton) support a similar set of properties.
0N/AThese properties are: </
p>
0N/A <
th>Expected Type</
th>
0N/A <
th>Default Value</
th>
0N/A <
th>Description </
th>
0N/Aof how this is used. It is up to the Painter to properly honor this
0N/A <
td>Padding between the icon and text. Refer to the javadoc of <
code>
javax.
swing.
AbstractButton#setIconTextGap(int)</
code> for details of how
0N/A <
td>Empty Insets (0, 0, 0, 0) </
td>
0N/Aof how the margin is used. </
td>
0N/A <
td>Amount to shift the text and icon, along the x and y axis,
0N/Afrom where it would normally be layed out. This is only used when
0N/Athe button is in a pressed state and does not have a pressed icon. </
td>
0N/A<
p> <
code>Prefix</
code> is one of: Button, CheckBox, RadioButton or
0N/A<
h4><
a name="textProperties"></
a>Text Properties<
br>
0N/A<
table cellpadding="2" cellspacing="2" border="1" 0N/A style="text-align: left; width: 100%;">
0N/A <
th style="vertical-align: top; text-align: center;">Property</
th>
0N/A <
th style="vertical-align: top; text-align: center;">Expected Type<
br>
0N/A <
th style="vertical-align: top; text-align: center;">Default Value<
br>
0N/A <
th style="vertical-align: top; text-align: center;">Description<
br>
0N/A <
td style="vertical-align: top;">Color<
br>
0N/A <
td style="vertical-align: top;">#000000</
td>
0N/A <
td style="vertical-align: top;">Color of the caret.<
br>
0N/A <
td style="vertical-align: top;">Insets</
td>
0N/A <
td style="vertical-align: top;">Empty Insets (0, 0, 0, 0),<
br>
0N/AEditorPane and TextPane (3, 3, 3, 3)<
br>
0N/A <
td style="vertical-align: top;">Margins of the text component.<
br>
0N/A <
td style="vertical-align: top;">Integer<
br>
0N/A <
td style="vertical-align: top;">500<
br>
0N/A <
td style="vertical-align: top;">Number of milliseconds defining
0N/Athe blink rate fo the caret.<
br>
0N/A<
p><
code>Prefix</
code> is one of: EditorPane, FormattedTextField,
0N/APasswordField, TextArea, TextField or TextPane.<
br>