jdk/src/share/classes/javax/swing/plaf/synth/doc-files/componentProperties.html
changeset 21278 ef8a3a2a72f2
parent 5551 327690766109
child 23010 6dadb192ad81
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
    45 Components will create it       to render a button with an arrow. The
    45 Components will create it       to render a button with an arrow. The
    46       components that make       use of ArrowButton       are:
    46       components that make       use of ArrowButton       are:
    47 JComboBox, JScrollBar and JSplitPane (for the buttons on the divider).
    47 JComboBox, JScrollBar and JSplitPane (for the buttons on the divider).
    48 In       addition to the <a
    48 In       addition to the <a
    49  href="#buttonProperties">Button 	properties</a>, ArrowButton supports
    49  href="#buttonProperties">Button 	properties</a>, ArrowButton supports
    50 the following propeties: </p>
    50 the following properties: </p>
    51 <h5>ArrowButton Specific Properties</h5>
    51 <h5>ArrowButton Specific Properties</h5>
    52 <table border="1">
    52 <table border="1">
    53   <thead><tr>
    53   <thead><tr>
    54     <th>Property</th>
    54     <th>Property</th>
    55     <th>Expected Type</th>
    55     <th>Expected Type</th>
   885 <h4><a name="JScrollPane">JScrollPane</a></h4>
   885 <h4><a name="JScrollPane">JScrollPane</a></h4>
   886 <p> 
   886 <p> 
   887       JScrollPane is unique in that it provides a method for setting
   887       JScrollPane is unique in that it provides a method for setting
   888       the Border around the JViewport with JViewport throwing an
   888       the Border around the JViewport with JViewport throwing an
   889       IllegalArgumentException from <code>setBorder</code>. To
   889       IllegalArgumentException from <code>setBorder</code>. To
   890       accomodate this a special border is installed on the
   890       accommodate this a special border is installed on the
   891       <code>JScrollPane</code> that uses the 
   891       <code>JScrollPane</code> that uses the 
   892       insets from the key
   892       insets from the key
   893       <code>ScrollPane.viewportBorderInsets</code>. The
   893       <code>ScrollPane.viewportBorderInsets</code>. The
   894       <code>SynthPainter</code> method
   894       <code>SynthPainter</code> method
   895       <code>paintViewportBorder</code> is called to paint the
   895       <code>paintViewportBorder</code> is called to paint the
  1188     </tr>
  1188     </tr>
  1189     <tr>
  1189     <tr>
  1190       <td>Tree.scrollsHorizontallyAndVertically</td>
  1190       <td>Tree.scrollsHorizontallyAndVertically</td>
  1191       <td>Boolean</td>
  1191       <td>Boolean</td>
  1192       <td>false 	 </td>
  1192       <td>false 	 </td>
  1193       <td>If false and scrolling needs to happen to accomodate 	 cells
  1193       <td>If false and scrolling needs to happen to accommodate 	 cells
  1194 it will only happen along the vertical axis, if 	    true, scrolling
  1194 it will only happen along the vertical axis, if 	    true, scrolling
  1195 may happen along both the horizontal and 	    vertical axis. 	</td>
  1195 may happen along both the horizontal and 	    vertical axis. 	</td>
  1196     </tr>
  1196     </tr>
  1197     <tr>
  1197     <tr>
  1198       <td>Tree.scrollsOnExpand</td>
  1198       <td>Tree.scrollsOnExpand</td>