jdk/src/share/classes/javax/swing/plaf/synth/doc-files/synthFileFormat.html
changeset 7959 2e05332a8f5c
parent 2 90ce3da70b43
child 21254 f6d36ee3f269
equal deleted inserted replaced
7793:bcc54a3c2825 7959:2e05332a8f5c
    89       
    89       
    90     <h3>The style element</h3>
    90     <h3>The style element</h3>
    91 <div class="dtd-fragment">
    91 <div class="dtd-fragment">
    92 <pre class="dtd-fragment">
    92 <pre class="dtd-fragment">
    93 &lt;!ELEMENT <a name="e.style">style</a> (<a href="#e.property">property</a> | <a href="#e.defaultsProperty">defaultsProperty</a> | <a href="#e.state">state</a> | <a href="#e.font">font</a> | <a href="#e.graphicsUtils">graphicsUtils</a> |
    93 &lt;!ELEMENT <a name="e.style">style</a> (<a href="#e.property">property</a> | <a href="#e.defaultsProperty">defaultsProperty</a> | <a href="#e.state">state</a> | <a href="#e.font">font</a> | <a href="#e.graphicsUtils">graphicsUtils</a> |
    94                  <a href="#e.insets">insets</a> | <a href="#e.painter">painter</a> | <a href="#e.imagePainter">imagePainter</a> | <a href="#e.opaque">opaque</a> | (<a href="#beansPersistance">%beansPersistance;</a>) |
    94                  <a href="#e.insets">insets</a> | <a href="#e.painter">painter</a> | <a href="#e.imagePainter">imagePainter</a> | <a href="#e.opaque">opaque</a> | (<a href="#ee.beansPersistance">%beansPersistance;</a>) |
    95                  <a href="#e.imageIcon">imageIcon</a>)*>
    95                  <a href="#e.imageIcon">imageIcon</a>)*>
    96 &lt;!ATTLIST style
    96 &lt;!ATTLIST style
    97           <a href="#style.id">id</a>              ID          #IMPLIED
    97           <a href="#style.id">id</a>              ID          #IMPLIED
    98           <a href="#style.clone">clone</a>           IDREF       #IMPLIED
    98           <a href="#style.clone">clone</a>           IDREF       #IMPLIED
    99 &gt;
    99 &gt;
   248       <dd>Size of the font, in pixels</dd>
   248       <dd>Size of the font, in pixels</dd>
   249     </dl>
   249     </dl>
   250     <p>
   250     <p>
   251       Defines the font for the current <a href="#e.state">state</a>,
   251       Defines the font for the current <a href="#e.state">state</a>,
   252       or <a href="#e.style">style</a>. You must
   252       or <a href="#e.style">style</a>. You must
   253       specify either an <a href="#state.idref">idref</a> or a
   253       specify either an <a href="#font.idref">idref</a> or a
   254       <a href="#state.name">name</a> and <a href="#state.size">size</a>.
   254       <a href="#font.name">name</a> and <a href="#font.size">size</a>.
   255     </p>
   255     </p>
   256     <p>
   256     <p>
   257       The following example creates a style with a Font of
   257       The following example creates a style with a Font of
   258       Dialog 12 Bold.
   258       Dialog 12 Bold.
   259     </p>
   259     </p>
   795           <a href="#imagePainter.method">method</a>                CDATA          #IMPLIED
   795           <a href="#imagePainter.method">method</a>                CDATA          #IMPLIED
   796           <a href="#imagePainter.direction">direction</a>             (north|south|east|west|top|left|bottom|right|horizontal|vertical|horizontal_split|vertical_split)          #IMPLIED
   796           <a href="#imagePainter.direction">direction</a>             (north|south|east|west|top|left|bottom|right|horizontal|vertical|horizontal_split|vertical_split)          #IMPLIED
   797           <a href="#imagePainter.path">path</a>                  CDATA          #REQUIRED
   797           <a href="#imagePainter.path">path</a>                  CDATA          #REQUIRED
   798           <a href="#imagePainter.sourceInsets">sourceInsets</a>          CDATA          #IMPLIED
   798           <a href="#imagePainter.sourceInsets">sourceInsets</a>          CDATA          #IMPLIED
   799           <a href="#imagePainter.destinationInsets">destinationInsets</a>     CDATA          #IMPLIED
   799           <a href="#imagePainter.destinationInsets">destinationInsets</a>     CDATA          #IMPLIED
   800           <a href="#imagePainter.paintCenter">paintCenter</a>           (true|false)   "true"
   800           <a href="#imagePainter.painterCenter">paintCenter</a>           (true|false)   "true"
   801           <a href="#imagePainter.stretch">stretch</a>               (true|false)   "true"
   801           <a href="#imagePainter.stretch">stretch</a>               (true|false)   "true"
   802           <a href="#imagePainter.center">center</a>                (true|false)   "false"
   802           <a href="#imagePainter.center">center</a>                (true|false)   "false"
   803 &gt;
   803 &gt;
   804 </pre>
   804 </pre>
   805 </div>
   805 </div>