< prev index next >

src/java.desktop/share/classes/javax/swing/plaf/synth/doc-files/componentProperties.html

Print this page




1284         <code>javax.swing.AbstractButton#setMargin(java.awt.Insets)</code> for
1285         details of how the margin is used.
1286       </td>
1287     </tr>
1288     <tr>
1289       <th scope="row">prefix.textShiftOffset</th>
1290       <td>Integer</td>
1291       <td>0        </td>
1292       <td>Amount to shift the text and icon, along the x and y     axis,
1293 from where it would normally be layed out. This is          only used when
1294 the button is in a pressed state and does           not have a pressed icon. </td>
1295     </tr>
1296   </tbody>
1297 </table>
1298 <p> <code>Prefix</code> is one of: Button, CheckBox, RadioButton or
1299 JToggleButton.<br>
1300 </p>
1301 <h2><a id="textProperties"></a>Text Properties<br>
1302 </h2>
1303 <table cellpadding="2" cellspacing="2" border="1" style="text-align: left; width: 100%;">

1304   <thead><tr>
1305       <th scope="col" style="vertical-align: top; text-align: center;">Property</th>
1306       <th scope="col" style="vertical-align: top; text-align: center;">Expected Type<br>
1307       </th>
1308       <th scope="col" style="vertical-align: top; text-align: center;">Default Value<br>
1309       </th>
1310       <th scope="col" style="vertical-align: top; text-align: center;">Description<br>
1311       </th>
1312     </tr>
1313   </thead> <tbody>
1314     <tr>
1315       <th scope="row" style="vertical-align: top;">prefix.caretForeground<br>
1316       </th>
1317       <td style="vertical-align: top;">Color<br>
1318       </td>
1319       <td style="vertical-align: top;">#000000</td>
1320       <td style="vertical-align: top;">Color of the caret.<br>
1321       </td>
1322     </tr>
1323     <tr>




1284         <code>javax.swing.AbstractButton#setMargin(java.awt.Insets)</code> for
1285         details of how the margin is used.
1286       </td>
1287     </tr>
1288     <tr>
1289       <th scope="row">prefix.textShiftOffset</th>
1290       <td>Integer</td>
1291       <td>0        </td>
1292       <td>Amount to shift the text and icon, along the x and y     axis,
1293 from where it would normally be layed out. This is          only used when
1294 the button is in a pressed state and does           not have a pressed icon. </td>
1295     </tr>
1296   </tbody>
1297 </table>
1298 <p> <code>Prefix</code> is one of: Button, CheckBox, RadioButton or
1299 JToggleButton.<br>
1300 </p>
1301 <h2><a id="textProperties"></a>Text Properties<br>
1302 </h2>
1303 <table cellpadding="2" cellspacing="2" border="1" style="text-align: left; width: 100%;">
1304 <caption>Text classes common properties</caption>
1305   <thead><tr>
1306       <th scope="col" style="vertical-align: top; text-align: center;">Property</th>
1307       <th scope="col" style="vertical-align: top; text-align: center;">Expected Type<br>
1308       </th>
1309       <th scope="col" style="vertical-align: top; text-align: center;">Default Value<br>
1310       </th>
1311       <th scope="col" style="vertical-align: top; text-align: center;">Description<br>
1312       </th>
1313     </tr>
1314   </thead> <tbody>
1315     <tr>
1316       <th scope="row" style="vertical-align: top;">prefix.caretForeground<br>
1317       </th>
1318       <td style="vertical-align: top;">Color<br>
1319       </td>
1320       <td style="vertical-align: top;">#000000</td>
1321       <td style="vertical-align: top;">Color of the caret.<br>
1322       </td>
1323     </tr>
1324     <tr>


< prev index next >