< prev index next >

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

Print this page

        

@@ -107,11 +107,11 @@
         return null;
     }
 
     /**
      * Returns the AttributeSet that contains the passed in location,
-     * <code>x</code>, <code>y</code>. <code>width</code>, <code>height</code>
+     * {@code x}, {@code y}. {@code width}, {@code height}
      * gives the size of the region the map is defined over. If a matching
      * area is found, the AttribueSet for it is returned.
      */
     public AttributeSet getArea(int x, int y, int width, int height) {
         int      numAttributes = (areaAttributes != null) ?

@@ -174,11 +174,11 @@
         return null;
     }
 
     /**
      * Creates and returns an array of integers from the String
-     * <code>stringCoords</code>. If one of the values represents a
+     * {@code stringCoords}. If one of the values represents a
      * % the returned value with be negative. If a parse error results
      * from trying to parse one of the numbers null is returned.
      */
     protected static int[] extractCoords(Object stringCoords) {
         if (stringCoords == null || !(stringCoords instanceof String)) {

@@ -232,13 +232,13 @@
      * Defines the interface used for to check if a point is inside a
      * region.
      */
     interface RegionContainment {
         /**
-         * Returns true if the location <code>x</code>, <code>y</code>
+         * Returns true if the location {@code x}, {@code y}
          * falls inside the region defined in the receiver.
-         * <code>width</code>, <code>height</code> is the size of
+         * {@code width}, {@code height} is the size of
          * the enclosing region.
          */
         public boolean contains(int x, int y, int width, int height);
     }
 
< prev index next >