< prev index next >

src/java.desktop/share/classes/javax/swing/text/html/HTMLDocument.java

Print this page

        

@@ -181,11 +181,12 @@
  * <h3>Summary</h3>
  *
  * <p>The following table shows the example document and the results
  * of various methods described above.</p>
  *
- * <table border=1 cellspacing=0 summary="HTML Content of example above">
+ * <table class="plain">
+ * <caption>HTML Content of example above</caption>
  *   <tr>
  *     <th>Example</th>
  *     <th><code>insertAfterStart</code></th>
  *     <th><code>insertBeforeEnd</code></th>
  *     <th><code>insertBeforeStart</code></th>

@@ -2127,12 +2128,17 @@
      * &lt;SCRIPT&gt; and &lt;STYLE&gt; are unsupported.
      *
      * <p>
      * The assignment of the actions described is shown in the
      * following table for the tags defined in <code>HTML.Tag</code>.
-     * <table border=1 summary="HTML tags and assigned actions">
+     *
+     * <table class="striped">
+     * <caption>HTML tags and assigned actions</caption>
+     * <thead>
      * <tr><th>Tag</th><th>Action</th></tr>
+     * </thead>
+     * <tbody>
      * <tr><td><code>HTML.Tag.A</code>         <td>CharacterAction
      * <tr><td><code>HTML.Tag.ADDRESS</code>   <td>CharacterAction
      * <tr><td><code>HTML.Tag.APPLET</code>    <td>HiddenAction
      * <tr><td><code>HTML.Tag.AREA</code>      <td>AreaAction
      * <tr><td><code>HTML.Tag.B</code>         <td>CharacterAction

@@ -2201,10 +2207,11 @@
      * <tr><td><code>HTML.Tag.TR</code>        <td>BlockAction
      * <tr><td><code>HTML.Tag.TT</code>        <td>CharacterAction
      * <tr><td><code>HTML.Tag.U</code>         <td>CharacterAction
      * <tr><td><code>HTML.Tag.UL</code>        <td>BlockAction
      * <tr><td><code>HTML.Tag.VAR</code>       <td>CharacterAction
+     * </tbody>
      * </table>
      * <p>
      * Once &lt;/html&gt; is encountered, the Actions are no longer notified.
      */
     public class HTMLReader extends HTMLEditorKit.ParserCallback {

@@ -3383,14 +3390,21 @@
          * the model that holds the state for the form control.
          * This enables multiple views, and allows document to
          * be iterated over picking up the data of the form.
          * The following are the model assignments for the
          * various type of form elements.
-         * <table summary="model assignments for the various types of form elements">
+         *
+         * <table class="striped">
+         * <caption>Model assignments for the various types of form elements
+         * </caption>
+         * <thead>
          * <tr>
          *   <th>Element Type
          *   <th>Model Type
+         * </tr>
+         * </thead>
+         * <tbody>
          * <tr>
          *   <td>input, type button
          *   <td>{@link DefaultButtonModel}
          * <tr>
          *   <td>input, type checkbox

@@ -3417,10 +3431,11 @@
          *   <td>select
          *   <td>{@link DefaultComboBoxModel} or an {@link DefaultListModel}, with an item type of Option
          * <tr>
          *   <td>textarea
          *   <td>{@link PlainDocument}
+         * </tbody>
          * </table>
          *
          */
         public class FormAction extends SpecialAction {
 
< prev index next >