< prev index next >

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

Print this page

        

@@ -63,12 +63,12 @@
     /**
      * Determines the minimum span for this view along an
      * axis.  The preformatted line should refuse to be
      * sized less than the preferred size.
      *
-     * @param axis may be either <code>View.X_AXIS</code> or
-     *  <code>View.Y_AXIS</code>
+     * @param axis may be either {@code View.X_AXIS} or
+     *  {@code View.Y_AXIS}
      * @return  the minimum span the view can be rendered into
      * @see View#getPreferredSpan
      */
     public float getMinimumSpan(int axis) {
         return getPreferredSpan(axis);

@@ -107,11 +107,11 @@
     /**
      * Lays out the children.  If the layout span has changed,
      * the rows are rebuilt.  The superclass functionality
      * is called after checking and possibly rebuilding the
      * rows.  If the height has changed, the
-     * <code>preferenceChanged</code> method is called
+     * {@code preferenceChanged} method is called
      * on the parent since the vertical preference is
      * rigid.
      *
      * @param width  the width to lay out against >= 0.  This is
      *   the width inside of the inset area.

@@ -124,18 +124,18 @@
     }
 
     /**
      * Returns the next tab stop position given a reference position.
      * This view implements the tab coordinate system, and calls
-     * <code>getTabbedSpan</code> on the logical children in the process
+     * {@code getTabbedSpan} on the logical children in the process
      * of layout to determine the desired span of the children.  The
      * logical children can delegate their tab expansion upward to
      * the paragraph which knows how to expand tabs.
-     * <code>LabelView</code> is an example of a view that delegates
+     * {@code LabelView} is an example of a view that delegates
      * its tab expansion needs upward to the paragraph.
      * <p>
-     * This is implemented to try and locate a <code>TabSet</code>
+     * This is implemented to try and locate a {@code TabSet}
      * in the paragraph element's attribute set.  If one can be
      * found, its settings will be used, otherwise a default expansion
      * will be provided.  The base location for tab expansion
      * is the left inset from the paragraphs most recent allocation
      * (which is what the layout of the children is based upon).
< prev index next >