< prev index next >

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

Print this page

        

@@ -348,12 +348,12 @@
 
     /**
      * Determines the preferred span for this view along an
      * axis.
      *
-     * @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 span the view would like to be rendered into &gt;= 0;
      *           typically the view is told to render into the span
      *           that is returned, although there is no guarantee;
      *           the parent may choose to resize or break the view
      * @exception IllegalArgumentException for an invalid axis type

@@ -364,12 +364,12 @@
 
     /**
      * Determines the minimum span for this view along an
      * axis.
      *
-     * @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 span the view would like to be rendered into &gt;= 0;
      *           typically the view is told to render into the span
      *           that is returned, although there is no guarantee;
      *           the parent may choose to resize or break the view
      * @exception IllegalArgumentException for an invalid axis type

@@ -380,12 +380,12 @@
 
     /**
      * Determines the maximum span for this view along an
      * axis.
      *
-     * @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 span the view would like to be rendered into &gt;= 0;
      *           typically the view is told to render into the span
      *           that is returned, although there is no guarantee;
      *           the parent may choose to resize or break the view
      * @exception IllegalArgumentException for an invalid axis type

@@ -426,12 +426,12 @@
         HTMLDocument doc = (HTMLDocument) getDocument();
         return doc.getStyleSheet();
     }
 
     /**
-     * Constrains <code>want</code> to fit in the minimum size specified
-     * by <code>min</code>.
+     * Constrains {@code want} to fit in the minimum size specified
+     * by {@code min}.
      */
     private void constrainSize(int axis, SizeRequirements want,
                                SizeRequirements min) {
         if (min.minimum > want.minimum) {
             want.minimum = want.preferred = min.minimum;
< prev index next >