< prev index next >

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

Print this page

        

@@ -261,12 +261,12 @@
     /**
      * Determines the minimum span for this view along an
      * axis.  Returns 0 if the view is not visible, otherwise
      * it calls the superclass method to get the minimum span.
      *
-     * @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 javax.swing.text.ParagraphView#getMinimumSpan
      */
     public float getMinimumSpan(int axis) {
         if (!isVisible()) {

@@ -278,12 +278,12 @@
     /**
      * Determines the maximum span for this view along an
      * axis.  Returns 0 if the view is not visible, otherwise
      * it calls the superclass method ot get the maximum span.
      *
-     * @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 maximum span the view can be rendered into
      * @see javax.swing.text.ParagraphView#getMaximumSpan
      */
     public float getMaximumSpan(int axis) {
         if (!isVisible()) {
< prev index next >