< prev index next >

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

Print this page

        

*** 181,191 **** * <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"> * <tr> * <th>Example</th> * <th><code>insertAfterStart</code></th> * <th><code>insertBeforeEnd</code></th> * <th><code>insertBeforeStart</code></th> --- 181,192 ---- * <h3>Summary</h3> * * <p>The following table shows the example document and the results * of various methods described above.</p> * ! * <table class="plain"> ! * <caption style="display:none">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,2138 **** * &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"> * <tr><th>Tag</th><th>Action</th></tr> * <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 --- 2128,2144 ---- * &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 class="striped"> ! * <caption style="display:none">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,2210 **** --- 2207,2217 ---- * <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,3396 **** * 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"> * <tr> * <th>Element Type * <th>Model Type * <tr> * <td>input, type button * <td>{@link DefaultButtonModel} * <tr> * <td>input, type checkbox --- 3390,3410 ---- * 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 class="striped"> ! * <caption style="display:none">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,3426 **** --- 3431,3441 ---- * <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 >