< prev index next >

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

Print this page

        

*** 38,48 **** * for form elements, &lt;input&gt;, &lt;textarea&gt;, * and &lt;select&gt;. The model for the component is stored * as an attribute of the element (using StyleConstants.ModelAttribute), * and is used to build the component of the view. The type * of the model is assumed to of the type that would be set by ! * <code>HTMLDocument.HTMLReader.FormAction</code>. If there are * multiple views mapped over the document, they will share the * embedded component models. * <p> * The following table shows what components get built * by this view. --- 38,48 ---- * for form elements, &lt;input&gt;, &lt;textarea&gt;, * and &lt;select&gt;. The model for the component is stored * as an attribute of the element (using StyleConstants.ModelAttribute), * and is used to build the component of the view. The type * of the model is assumed to of the type that would be set by ! * {@code HTMLDocument.HTMLReader.FormAction}. If there are * multiple views mapped over the document, they will share the * embedded component models. * <p> * The following table shows what components get built * by this view.
*** 628,638 **** * initial state. */ /** ! * Returns the Element representing the <code>FORM</code>. */ private Element getFormElement() { Element elem = getElement(); while (elem != null) { if (elem.getAttributes().getAttribute --- 628,638 ---- * initial state. */ /** ! * Returns the Element representing the {@code FORM}. */ private Element getFormElement() { Element elem = getElement(); while (elem != null) { if (elem.getAttributes().getAttribute
*** 828,838 **** String encodedValue = URLEncoder.encode(value); buffer.append(encodedValue); } /** ! * Returns true if the Element <code>elem</code> represents a control. */ private boolean isControl(Element elem) { return elem.isLeaf(); } --- 828,838 ---- String encodedValue = URLEncoder.encode(value); buffer.append(encodedValue); } /** ! * Returns true if the Element {@code elem} represents a control. */ private boolean isControl(Element elem) { return elem.isLeaf(); }
< prev index next >