3 <head> |
3 <head> |
4 <meta charset="utf-8"/> |
4 <meta charset="utf-8"/> |
5 <title>Component Specific Properties</title> |
5 <title>Component Specific Properties</title> |
6 </head> |
6 </head> |
7 <!-- |
7 <!-- |
8 Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved. |
8 Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved. |
9 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
9 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
10 |
10 |
11 This code is free software; you can redistribute it and/or modify it |
11 This code is free software; you can redistribute it and/or modify it |
12 under the terms of the GNU General Public License version 2 only, as |
12 under the terms of the GNU General Public License version 2 only, as |
13 published by the Free Software Foundation. Oracle designates this |
13 published by the Free Software Foundation. Oracle designates this |
27 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
27 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
28 or visit www.oracle.com if you need additional information or have any |
28 or visit www.oracle.com if you need additional information or have any |
29 questions. |
29 questions. |
30 --> |
30 --> |
31 |
31 |
32 <body bgcolor="white"> |
32 <body> |
33 <h3>Component Specific Properties</h3> |
33 <main role="main"> |
|
34 <h1>Component Specific Properties</h1> |
34 <p> The look, and to some degree the feel of Synth |
35 <p> The look, and to some degree the feel of Synth |
35 can be customized by way of component specific properties. |
36 can be customized by way of component specific properties. |
36 These properties are accessed from <a |
37 These properties are accessed from <a |
37 href="../SynthStyle.html">SynthStyle#get</a>. Refer to <a |
38 href="../SynthStyle.html">SynthStyle#get</a>. Refer to <a |
38 href="synthFileFormat.html#e.property">synth file format</a> for examples |
39 href="synthFileFormat.html#e.property">synth file format</a> for examples |
41 This file specifies the expected class type each of the values |
42 This file specifies the expected class type each of the values |
42 are to take. The behavior of supplying the wrong type is |
43 are to take. The behavior of supplying the wrong type is |
43 unspecified: typically a <code>ClassCastException</code> is |
44 unspecified: typically a <code>ClassCastException</code> is |
44 thrown, but it is implementation specific. |
45 thrown, but it is implementation specific. |
45 </p> |
46 </p> |
46 <h4>ArrowButton</h4> |
47 <h2>ArrowButton</h2> |
47 <p> ArrowButton is a special type of JButton that renders an arrow. |
48 <p> ArrowButton is a special type of JButton that renders an arrow. |
48 ArrowButton is typically not created directly, rather some of the |
49 ArrowButton is typically not created directly, rather some of the |
49 Components will create it to render a button with an arrow. The |
50 Components will create it to render a button with an arrow. The |
50 components that make use of ArrowButton are: |
51 components that make use of ArrowButton are: |
51 JComboBox, JScrollBar and JSplitPane (for the buttons on the divider). |
52 JComboBox, JScrollBar and JSplitPane (for the buttons on the divider). |
52 In addition to the <a |
53 In addition to the <a |
53 href="#buttonProperties">Button properties</a>, ArrowButton supports |
54 href="#buttonProperties">Button properties</a>, ArrowButton supports |
54 the following properties: </p> |
55 the following properties: </p> |
55 <h5>ArrowButton Specific Properties</h5> |
56 <h3>ArrowButton Specific Properties</h3> |
56 <table border="1" summary="ArrowButton specific properties"> |
57 <table border="1" summary="ArrowButton specific properties"> |
57 <thead><tr> |
58 <thead><tr> |
58 <th>Property</th> |
59 <th>Property</th> |
59 <th>Expected Type</th> |
60 <th>Expected Type</th> |
60 <th>Default Value</th> |
61 <th>Default Value</th> |
68 <td>Preferred size of the arrow button. </td> |
69 <td>Preferred size of the arrow button. </td> |
69 </tr> |
70 </tr> |
70 </tbody> |
71 </tbody> |
71 </table> |
72 </table> |
72 <br> |
73 <br> |
73 <h4><a id="JButton">JButton</a></h4> |
74 <h2><a id="JButton">JButton</a></h2> |
74 <p> JButton paints text using the TEXT_FOREGROUND ColorType. In addition |
75 <p> JButton paints text using the TEXT_FOREGROUND ColorType. In addition |
75 to the <a href="#buttonProperties">Button properties</a>, JButton |
76 to the <a href="#buttonProperties">Button properties</a>, JButton |
76 supports the following property: </p> |
77 supports the following property: </p> |
77 <h5>JButton Specific Properties</h5> |
78 <h3>JButton Specific Properties</h3> |
78 <table border="1" summary="JButton specific properties"> |
79 <table border="1" summary="JButton specific properties"> |
79 <thead><tr> |
80 <thead><tr> |
80 <th>Property</th> |
81 <th>Property</th> |
81 <th>Expected Type</th> |
82 <th>Expected Type</th> |
82 <th>Default Value</th> |
83 <th>Default Value</th> |
91 button that is receiving focus. </td> |
92 button that is receiving focus. </td> |
92 </tr> |
93 </tr> |
93 </tbody> |
94 </tbody> |
94 </table> |
95 </table> |
95 <br> |
96 <br> |
96 <h4><a id="JCheckBox">JCheckBox</a></h4> |
97 <h2><a id="JCheckBox">JCheckBox</a></h2> |
97 <p> JCheckBox paints text using the TEXT_FOREGROUND ColorType. In |
98 <p> JCheckBox paints text using the TEXT_FOREGROUND ColorType. In |
98 addition to the <a href="#buttonProperties">Button properties</a>, |
99 addition to the <a href="#buttonProperties">Button properties</a>, |
99 JCheckBox supports the following property: </p> |
100 JCheckBox supports the following property: </p> |
100 <h5>JCheckBox Specific Properties</h5> |
101 <h3>JCheckBox Specific Properties</h3> |
101 <table border="1" summary="JCheckBox specific properties"> |
102 <table border="1" summary="JCheckBox specific properties"> |
102 <thead><tr> |
103 <thead><tr> |
103 <th>Property</th> |
104 <th>Property</th> |
104 <th>Expected Type</th> |
105 <th>Expected Type</th> |
105 <th>Default Value</th> |
106 <th>Default Value</th> |
113 <td>Icon used to render the check. </td> |
114 <td>Icon used to render the check. </td> |
114 </tr> |
115 </tr> |
115 </tbody> |
116 </tbody> |
116 </table> |
117 </table> |
117 <br> |
118 <br> |
118 <h4><a id="JComboBox">JComboBox</a></h4> |
119 <h2><a id="JComboBox">JComboBox</a></h2> |
119 <p> JComboBox is a composite component that consists of the following |
120 <p> JComboBox is a composite component that consists of the following |
120 child Components: </p> |
121 child Components: </p> |
121 <table border="1" summary="JComboBox child components"> |
122 <table border="1" summary="JComboBox child components"> |
122 <thead><tr> |
123 <thead><tr> |
123 <th>Name</th> |
124 <th>Name</th> |
162 <td>The editor. </td> |
163 <td>The editor. </td> |
163 </tr> |
164 </tr> |
164 </tbody> |
165 </tbody> |
165 </table> |
166 </table> |
166 |
167 |
167 <h5>JComboBox Specific Properties</h5> |
168 <h3>JComboBox Specific Properties</h3> |
168 <table border="1" summary="JComboBox specific properties"> |
169 <table border="1" summary="JComboBox specific properties"> |
169 <thead><tr> |
170 <thead><tr> |
170 <th>Property</th> |
171 <th>Property</th> |
171 <th>Expected Type</th> |
172 <th>Expected Type</th> |
172 <th>Default Value</th> |
173 <th>Default Value</th> |
181 with the keyboard. </td> |
182 with the keyboard. </td> |
182 </tr> |
183 </tr> |
183 </tbody> |
184 </tbody> |
184 </table> |
185 </table> |
185 <br> |
186 <br> |
186 <h4>JFileChooser</h4> |
187 <h2>JFileChooser</h2> |
187 <h5>JFileChooser Specific Properties</h5> |
188 <h3>JFileChooser Specific Properties</h3> |
188 <table cellpadding="2" cellspacing="2" border="1" summary="JFileChooser specific properties" |
189 <table cellpadding="2" cellspacing="2" border="1" summary="JFileChooser specific properties" |
189 style="width: 100%; text-align: left;"> |
190 style="width: 100%; text-align: left;"> |
190 <tbody> |
191 <tbody> |
191 <tr> |
192 <tr> |
192 <th style="vertical-align: top; text-align: center;">Property</th> |
193 <th style="vertical-align: top; text-align: center;">Property</th> |
341 </td> |
342 </td> |
342 </tr> |
343 </tr> |
343 </tbody> |
344 </tbody> |
344 </table> |
345 </table> |
345 <br> |
346 <br> |
346 <h4><a id="JInternalFrame"></a>JInternalFrame</h4> |
347 <h2><a id="JInternalFrame"></a>JInternalFrame</h2> |
347 <h5>JInternalFrame Specific Properties</h5> |
348 <h3>JInternalFrame Specific Properties</h3> |
348 <table cellpadding="2" cellspacing="2" border="1" summary="JInternalFrame specific properties" |
349 <table cellpadding="2" cellspacing="2" border="1" summary="JInternalFrame specific properties" |
349 style="text-align: left; width: 100%;"> |
350 style="text-align: left; width: 100%;"> |
350 <tbody> |
351 <tbody> |
351 <tr> |
352 <tr> |
352 <th style="vertical-align: top; text-align: center;">Property<br> |
353 <th style="vertical-align: top; text-align: center;">Property<br> |
371 </td> |
372 </td> |
372 </tr> |
373 </tr> |
373 </tbody> |
374 </tbody> |
374 </table> |
375 </table> |
375 <br> |
376 <br> |
376 <h4><a id="JInternalFrameTitlePane"></a>JInternalFrameTitlePane</h4> |
377 <h2><a id="JInternalFrameTitlePane"></a>JInternalFrameTitlePane</h2> |
377 <p>JInternalFrameTitlePane is the control bar located at the top of the |
378 <p>JInternalFrameTitlePane is the control bar located at the top of the |
378 internal frame similar to that found in a frame.<br> |
379 internal frame similar to that found in a frame.<br> |
379 </p> |
380 </p> |
380 <h5>JInternalFrameTitlePane Specific Properties</h5> |
381 <h3>JInternalFrameTitlePane Specific Properties</h3> |
381 <table cellpadding="2" cellspacing="2" border="1" summary="JInternalFrameTitlePane specific properties" |
382 <table cellpadding="2" cellspacing="2" border="1" summary="JInternalFrameTitlePane specific properties" |
382 style="text-align: left; width: 100%;"> |
383 style="text-align: left; width: 100%;"> |
383 <tbody> |
384 <tbody> |
384 <tr> |
385 <tr> |
385 <th style="vertical-align: top; text-align: center;">Property<br> |
386 <th style="vertical-align: top; text-align: center;">Property<br> |
471 </td> |
472 </td> |
472 </tr> |
473 </tr> |
473 </tbody> |
474 </tbody> |
474 </table> |
475 </table> |
475 <br> |
476 <br> |
476 <h4><a id="JList">JList</a></h4> |
477 <h2><a id="JList">JList</a></h2> |
477 <p> JList's sets the name of the renderer to List.renderer. JList |
478 <p> JList's sets the name of the renderer to List.renderer. JList |
478 supports the following properties: </p> |
479 supports the following properties: </p> |
479 <h5>JList Specific Properties</h5> |
480 <h3>JList Specific Properties</h3> |
480 <table border="1" summary="JList specific properties"> |
481 <table border="1" summary="JList specific properties"> |
481 <thead><tr> |
482 <thead><tr> |
482 <th>Property</th> |
483 <th>Property</th> |
483 <th>Expected Type</th> |
484 <th>Expected Type</th> |
484 <th>Default Value</th> |
485 <th>Default Value</th> |
510 is not invoked. </td> |
511 is not invoked. </td> |
511 </tr> |
512 </tr> |
512 </tbody> |
513 </tbody> |
513 </table> |
514 </table> |
514 <br> |
515 <br> |
515 <h4><a id="menuProperties">Menu Properties</a></h4> |
516 <h2><a id="menuProperties">Menu Properties</a></h2> |
516 <p> The Menu classes (JCheckBoxMenuItem, JMenu, JMenuItem, and |
517 <p> The Menu classes (JCheckBoxMenuItem, JMenu, JMenuItem, and |
517 JRadioButtonMenuItem) all support the same set of properties and behave |
518 JRadioButtonMenuItem) all support the same set of properties and behave |
518 similarly. Each component consists of two Regions: the region |
519 similarly. Each component consists of two Regions: the region |
519 specific to the component and Region.MENU_ITEM_ACCELERATOR. |
520 specific to the component and Region.MENU_ITEM_ACCELERATOR. |
520 MENU_ITEM_ACCELERATOR is used for painting the accelerator. Both Regions |
521 MENU_ITEM_ACCELERATOR is used for painting the accelerator. Both Regions |
595 <td>Array of the KeyEvent modifiers to use for shortcut keys. </td> |
596 <td>Array of the KeyEvent modifiers to use for shortcut keys. </td> |
596 </tr> |
597 </tr> |
597 </tbody> |
598 </tbody> |
598 </table> |
599 </table> |
599 <br> |
600 <br> |
600 <h4><a id="JOptionPane">JOptionPane</a></h4> |
601 <h2><a id="JOptionPane">JOptionPane</a></h2> |
601 <p> JOptionPane is a composite component and may consist of numerous child |
602 <p> JOptionPane is a composite component and may consist of numerous child |
602 components, they are: OptionPane.button, OptionPane.label, |
603 components, they are: OptionPane.button, OptionPane.label, |
603 OptionPane.comboBox, OptionPane.scrollPane, OptionPane.list, |
604 OptionPane.comboBox, OptionPane.scrollPane, OptionPane.list, |
604 OptionPane.textField, OptionPane.iconLabel. </p> |
605 OptionPane.textField, OptionPane.iconLabel. </p> |
605 <h5>JOptionPane Specific Properties</h5> |
606 <h3>JOptionPane Specific Properties</h3> |
606 <table border="1" summary="JOptionPane specific properties"> |
607 <table border="1" summary="JOptionPane specific properties"> |
607 <thead><tr> |
608 <thead><tr> |
608 <th>Property</th> |
609 <th>Property</th> |
609 <th>Expected Type</th> |
610 <th>Expected Type</th> |
610 <th>Default Value</th> |
611 <th>Default Value</th> |
711 <td>Icon used for error WARNING_MESSAGE </td> |
712 <td>Icon used for error WARNING_MESSAGE </td> |
712 </tr> |
713 </tr> |
713 </tbody> |
714 </tbody> |
714 </table> |
715 </table> |
715 <br> |
716 <br> |
716 <h4><a id="JProgressBar"></a>JProgressBar<br> |
717 <h2><a id="JProgressBar"></a>JProgressBar<br> |
717 </h4> |
718 </h2> |
718 <h5>JProgressBar Specific Properties<br> |
719 <h3>JProgressBar Specific Properties<br> |
719 </h5> |
720 </h3> |
720 <table cellpadding="2" cellspacing="2" border="1" summary="JProgressBar specific properties" |
721 <table cellpadding="2" cellspacing="2" border="1" summary="JProgressBar specific properties" |
721 style="text-align: left; width: 100%;"> |
722 style="text-align: left; width: 100%;"> |
722 <tbody> |
723 <tbody> |
723 <tr> |
724 <tr> |
724 <th style="vertical-align: top; text-align: center;">Property</th> |
725 <th style="vertical-align: top; text-align: center;">Property</th> |
751 the bouncing box per frame when the progress bar is indeterminate.<br> |
752 the bouncing box per frame when the progress bar is indeterminate.<br> |
752 </td> |
753 </td> |
753 </tr> |
754 </tr> |
754 </tbody> |
755 </tbody> |
755 </table> |
756 </table> |
756 <h4><a id="JRadioButton">JRadioButton</a></h4> |
757 <h2><a id="JRadioButton">JRadioButton</a></h2> |
757 <p> JRadioButton paints text using the TEXT_FOREGROUND ColorType. In |
758 <p> JRadioButton paints text using the TEXT_FOREGROUND ColorType. In |
758 addition to the <a href="#buttonProperties">Button properties</a>, |
759 addition to the <a href="#buttonProperties">Button properties</a>, |
759 JRadioButton supports the following property: </p> |
760 JRadioButton supports the following property: </p> |
760 <h5>JRadioButton Specific Properties</h5> |
761 <h3>JRadioButton Specific Properties</h3> |
761 <table border="1" summary="JRadioButton specific properties"> |
762 <table border="1" summary="JRadioButton specific properties"> |
762 <thead><tr> |
763 <thead><tr> |
763 <th>Property</th> |
764 <th>Property</th> |
764 <th>Expected Type</th> |
765 <th>Expected Type</th> |
765 <th>Default Value</th> |
766 <th>Default Value</th> |
773 <td>Icon used to render the radio indicator. </td> |
774 <td>Icon used to render the radio indicator. </td> |
774 </tr> |
775 </tr> |
775 </tbody> |
776 </tbody> |
776 </table> |
777 </table> |
777 <br> |
778 <br> |
778 <h4><a id="JScrollBar">JScrollBar</a></h4> |
779 <h2><a id="JScrollBar">JScrollBar</a></h2> |
779 <p> JScrollBar is a composite component that consists of the following |
780 <p> JScrollBar is a composite component that consists of the following |
780 child Components: </p> |
781 child Components: </p> |
781 <table border="1" summary="JScrollBar child components"> |
782 <table border="1" summary="JScrollBar child components"> |
782 <thead><tr> |
783 <thead><tr> |
783 <th>Name</th> |
784 <th>Name</th> |
791 <td>Identifies the increment/decrement buttons. </td> |
792 <td>Identifies the increment/decrement buttons. </td> |
792 </tr> |
793 </tr> |
793 </tbody> |
794 </tbody> |
794 </table> |
795 </table> |
795 |
796 |
796 <h5>JScrollBar Specific Properties</h5> |
797 <h3>JScrollBar Specific Properties</h3> |
797 <table border="1" summary="JScrollBar specific properties"> |
798 <table border="1" summary="JScrollBar specific properties"> |
798 <thead><tr> |
799 <thead><tr> |
799 <th>Property</th> |
800 <th>Property</th> |
800 <th>Expected Type</th> |
801 <th>Expected Type</th> |
801 <th>Default Value</th> |
802 <th>Default Value</th> |
843 orientation of the scrollbar is vertical.</td> |
844 orientation of the scrollbar is vertical.</td> |
844 </tr> |
845 </tr> |
845 </tbody> |
846 </tbody> |
846 </table> |
847 </table> |
847 <br> |
848 <br> |
848 <h4><a id="Separator">Separators</a></h4> |
849 <h2><a id="Separator">Separators</a></h2> |
849 <p> All of the separator classes, JSeparator, JPopupMenu.Separator and |
850 <p> All of the separator classes, JSeparator, JPopupMenu.Separator and |
850 JToolBar.Separator use the same property: </p> |
851 JToolBar.Separator use the same property: </p> |
851 <table border="1" summary="Separator classes common properties"> |
852 <table border="1" summary="Separator classes common properties"> |
852 <thead><tr> |
853 <thead><tr> |
853 <th>Property</th> |
854 <th>Property</th> |
885 </td> |
886 </td> |
886 </tr> |
887 </tr> |
887 </tbody> |
888 </tbody> |
888 </table> |
889 </table> |
889 <br> |
890 <br> |
890 <h4><a id="JScrollPane">JScrollPane</a></h4> |
891 <h2><a id="JScrollPane">JScrollPane</a></h2> |
891 <p> |
892 <p> |
892 JScrollPane is unique in that it provides a method for setting |
893 JScrollPane is unique in that it provides a method for setting |
893 the Border around the JViewport with JViewport throwing an |
894 the Border around the JViewport with JViewport throwing an |
894 IllegalArgumentException from <code>setBorder</code>. To |
895 IllegalArgumentException from <code>setBorder</code>. To |
895 accommodate this a special border is installed on the |
896 accommodate this a special border is installed on the |
898 <code>ScrollPane.viewportBorderInsets</code>. The |
899 <code>ScrollPane.viewportBorderInsets</code>. The |
899 <code>SynthPainter</code> method |
900 <code>SynthPainter</code> method |
900 <code>paintViewportBorder</code> is called to paint the |
901 <code>paintViewportBorder</code> is called to paint the |
901 <code>Viewport</code>s border. |
902 <code>Viewport</code>s border. |
902 </p> |
903 </p> |
903 <h5>JScrollPane Specific Properties</h5> |
904 <h3>JScrollPane Specific Properties</h3> |
904 <table border="1" summary="JScrollPane specific properties"> |
905 <table border="1" summary="JScrollPane specific properties"> |
905 <thead><tr> |
906 <thead><tr> |
906 <th>Property</th> |
907 <th>Property</th> |
907 <th>Expected Type</th> |
908 <th>Expected Type</th> |
908 <th>Default Value</th> |
909 <th>Default Value</th> |
916 <td>Insets for the viewport Border. </td> |
917 <td>Insets for the viewport Border. </td> |
917 </tr> |
918 </tr> |
918 </tbody> |
919 </tbody> |
919 </table> |
920 </table> |
920 <br> |
921 <br> |
921 <h4><a id="JSplitPane">JSplitPane</a></h4> |
922 <h2><a id="JSplitPane">JSplitPane</a></h2> |
922 <p> JSplitPane is a composite component that will contain a divider and |
923 <p> JSplitPane is a composite component that will contain a divider and |
923 potentially two buttons, if setOneTouchExpandable(true) has been |
924 potentially two buttons, if setOneTouchExpandable(true) has been |
924 invoked. The two buttons will be named: |
925 invoked. The two buttons will be named: |
925 SplitPaneDivider.leftOneTouchButton and |
926 SplitPaneDivider.leftOneTouchButton and |
926 SplitPaneDivider.rightOneTouchButton. </p> |
927 SplitPaneDivider.rightOneTouchButton. </p> |
927 <h5>JSplitPane Specific Properties</h5> |
928 <h3>JSplitPane Specific Properties</h3> |
928 <table border="1" summary="JSplitPane specific properties"> |
929 <table border="1" summary="JSplitPane specific properties"> |
929 <thead><tr> |
930 <thead><tr> |
930 <th>Property</th> |
931 <th>Property</th> |
931 <th>Expected Type</th> |
932 <th>Expected Type</th> |
932 <th>Default Value</th> |
933 <th>Default Value</th> |
965 <td>Size of the divider </td> |
966 <td>Size of the divider </td> |
966 </tr> |
967 </tr> |
967 </tbody> |
968 </tbody> |
968 </table> |
969 </table> |
969 <br> |
970 <br> |
970 <h4><a id="JSlider"></a>JSlider</h4> |
971 <h2><a id="JSlider"></a>JSlider</h2> |
971 <h5>JSlider Specific Properties</h5> |
972 <h3>JSlider Specific Properties</h3> |
972 <table cellpadding="2" cellspacing="2" border="1" summary="JSlider specific properties" |
973 <table cellpadding="2" cellspacing="2" border="1" summary="JSlider specific properties" |
973 style="text-align: left; width: 100%;"> |
974 style="text-align: left; width: 100%;"> |
974 <tbody> |
975 <tbody> |
975 <tr> |
976 <tr> |
976 <th style="vertical-align: top; text-align: center;">Property<br> |
977 <th style="vertical-align: top; text-align: center;">Property<br> |
1025 </td> |
1026 </td> |
1026 </tr> |
1027 </tr> |
1027 </tbody> |
1028 </tbody> |
1028 </table> |
1029 </table> |
1029 <br> |
1030 <br> |
1030 <h4><a id="JTabbedPane"></a>JTabbedPane</h4> |
1031 <h2><a id="JTabbedPane"></a>JTabbedPane</h2> |
1031 <h5>JTabbedPane Specific Properties</h5> |
1032 <h3>JTabbedPane Specific Properties</h3> |
1032 <table cellpadding="2" cellspacing="2" border="1" summary="JTabbedPane specific properties" |
1033 <table cellpadding="2" cellspacing="2" border="1" summary="JTabbedPane specific properties" |
1033 style="text-align: left; width: 100%;"> |
1034 style="text-align: left; width: 100%;"> |
1034 <tbody> |
1035 <tbody> |
1035 <tr> |
1036 <tr> |
1036 <th style="vertical-align: top; text-align: center;">Property</th> |
1037 <th style="vertical-align: top; text-align: center;">Property</th> |
1087 </td> |
1088 </td> |
1088 </tr> |
1089 </tr> |
1089 </tbody> |
1090 </tbody> |
1090 </table> |
1091 </table> |
1091 <br> |
1092 <br> |
1092 <h4><a id="JTable">JTable</a></h4> |
1093 <h2><a id="JTable">JTable</a></h2> |
1093 <p> JTable sets the name of the renderer to Table.cellRenderer. |
1094 <p> JTable sets the name of the renderer to Table.cellRenderer. |
1094 JTable supports the following properties: </p> |
1095 JTable supports the following properties: </p> |
1095 <h5>JTable Specific Properties</h5> |
1096 <h3>JTable Specific Properties</h3> |
1096 <table border="1" summary="JTable specific properties"> |
1097 <table border="1" summary="JTable specific properties"> |
1097 <thead><tr> |
1098 <thead><tr> |
1098 <th>Property</th> |
1099 <th>Property</th> |
1099 <th>Expected Type</th> |
1100 <th>Expected Type</th> |
1100 <th>Default Value</th> |
1101 <th>Default Value</th> |
1132 <td>If not -1 setRowHeight is invoked on the JTable. </td> |
1133 <td>If not -1 setRowHeight is invoked on the JTable. </td> |
1133 </tr> |
1134 </tr> |
1134 </tbody> |
1135 </tbody> |
1135 </table> |
1136 </table> |
1136 <br> |
1137 <br> |
1137 <h4><a id="JTree">JTree</a></h4> |
1138 <h2><a id="JTree">JTree</a></h2> |
1138 <p> JTree sets the name of the renderer to Tree.renderer, the name of |
1139 <p> JTree sets the name of the renderer to Tree.renderer, the name of |
1139 the editor is Tree.cellEditor.</p> |
1140 the editor is Tree.cellEditor.</p> |
1140 <h5>JTree Specific Properties</h5> |
1141 <h3>JTree Specific Properties</h3> |
1141 <table border="1" summary="JTree specific properties"> |
1142 <table border="1" summary="JTree specific properties"> |
1142 <thead><tr> |
1143 <thead><tr> |
1143 <th>Property</th> |
1144 <th>Property</th> |
1144 <th>Expected Type</th> |
1145 <th>Expected Type</th> |
1145 <th>Default Value</th> |
1146 <th>Default Value</th> |
1215 styles by creating a new <a href="../SynthGraphicsUtils.html">SynthGraphicsUtils</a> |
1216 styles by creating a new <a href="../SynthGraphicsUtils.html">SynthGraphicsUtils</a> |
1216 and <a href="synthFileFormat.html#e.graphicsUtils">binding it</a> to the tree.</td> |
1217 and <a href="synthFileFormat.html#e.graphicsUtils">binding it</a> to the tree.</td> |
1217 </tr> |
1218 </tr> |
1218 </tbody> |
1219 </tbody> |
1219 </table> |
1220 </table> |
1220 <h4><a id="JToggleButton">JToggleButton</a></h4> |
1221 <h2><a id="JToggleButton">JToggleButton</a></h2> |
1221 <p> JToggleButton paints text using the TEXT_FOREGROUND ColorType. In |
1222 <p> JToggleButton paints text using the TEXT_FOREGROUND ColorType. In |
1222 addition to the <a href="#buttonProperties">Button properties</a>, |
1223 addition to the <a href="#buttonProperties">Button properties</a>, |
1223 JToggleButton supports the following property: </p> |
1224 JToggleButton supports the following property: </p> |
1224 <h5>JToggleButton Specific Properties</h5> |
1225 <h3>JToggleButton Specific Properties</h3> |
1225 <table border="1" summary="JToggleButton specific properties"> |
1226 <table border="1" summary="JToggleButton specific properties"> |
1226 <thead><tr> |
1227 <thead><tr> |
1227 <th>Property</th> |
1228 <th>Property</th> |
1228 <th>Expected Type</th> |
1229 <th>Expected Type</th> |
1229 <th>Default Value</th> |
1230 <th>Default Value</th> |
1237 <td>Icon used to render the radio indicator. </td> |
1238 <td>Icon used to render the radio indicator. </td> |
1238 </tr> |
1239 </tr> |
1239 </tbody> |
1240 </tbody> |
1240 </table> |
1241 </table> |
1241 <br> |
1242 <br> |
1242 <h4><a id="buttonProperties">Button Properties</a></h4> |
1243 <h2><a id="buttonProperties">Button Properties</a></h2> |
1243 <p> Each of the Button classes (JButton, JCheckBox, JRadioButton, |
1244 <p> Each of the Button classes (JButton, JCheckBox, JRadioButton, |
1244 JToggleButton and SynthArrowButton) support a similar set of properties. |
1245 JToggleButton and SynthArrowButton) support a similar set of properties. |
1245 These properties are: </p> |
1246 These properties are: </p> |
1246 <table border="1" summary="Button classes common properties"> |
1247 <table border="1" summary="Button classes common properties"> |
1247 <thead><tr> |
1248 <thead><tr> |
1290 </tbody> |
1291 </tbody> |
1291 </table> |
1292 </table> |
1292 <p> <code>Prefix</code> is one of: Button, CheckBox, RadioButton or |
1293 <p> <code>Prefix</code> is one of: Button, CheckBox, RadioButton or |
1293 JToggleButton.<br> |
1294 JToggleButton.<br> |
1294 </p> |
1295 </p> |
1295 <h4><a id="textProperties"></a>Text Properties<br> |
1296 <h2><a id="textProperties"></a>Text Properties<br> |
1296 </h4> |
1297 </h2> |
1297 <table cellpadding="2" cellspacing="2" border="1" summary="Text properties" |
1298 <table cellpadding="2" cellspacing="2" border="1" summary="Text properties" |
1298 style="text-align: left; width: 100%;"> |
1299 style="text-align: left; width: 100%;"> |
1299 <tbody> |
1300 <tbody> |
1300 <tr> |
1301 <tr> |
1301 <th style="vertical-align: top; text-align: center;">Property</th> |
1302 <th style="vertical-align: top; text-align: center;">Property</th> |