< prev index next >

src/java.desktop/share/classes/java/awt/event/AdjustmentEvent.java

Print this page

        

@@ -105,21 +105,21 @@
      * @see #getAdjustable
      */
     Adjustable adjustable;
 
     /**
-     * <code>value</code> will contain the new value of the
+     * {@code value} will contain the new value of the
      * adjustable object.  This value will always be  in a
      * range associated adjustable object.
      *
      * @serial
      * @see #getValue
      */
     int value;
 
     /**
-     * The <code>adjustmentType</code> describes how the adjustable
+     * The {@code adjustmentType} describes how the adjustable
      * object value has changed.
      * This value can be increased/decreased by a block or unit amount
      * where the block is associated with page increments/decrements,
      * and a unit is associated with line increments/decrements.
      *

@@ -128,11 +128,11 @@
      */
     int adjustmentType;
 
 
     /**
-     * The <code>isAdjusting</code> is true if the event is one
+     * The {@code isAdjusting} is true if the event is one
      * of the series of multiple adjustment events.
      *
      * @since 1.4
      * @serial
      * @see #getValueIsAdjusting

@@ -145,56 +145,56 @@
      */
      private static final long serialVersionUID = 5700290645205279921L;
 
 
     /**
-     * Constructs an <code>AdjustmentEvent</code> object with the
-     * specified <code>Adjustable</code> source, event type,
+     * Constructs an {@code AdjustmentEvent} object with the
+     * specified {@code Adjustable} source, event type,
      * adjustment type, and value.
      * <p> This method throws an
-     * <code>IllegalArgumentException</code> if <code>source</code>
-     * is <code>null</code>.
+     * {@code IllegalArgumentException} if {@code source}
+     * is {@code null}.
      *
-     * @param source The <code>Adjustable</code> object where the
+     * @param source The {@code Adjustable} object where the
      *               event originated
      * @param id     An integer indicating the type of event.
      *                     For information on allowable values, see
      *                     the class description for {@link AdjustmentEvent}
      * @param type   An integer indicating the adjustment type.
      *                     For information on allowable values, see
      *                     the class description for {@link AdjustmentEvent}
      * @param value  The current value of the adjustment
-     * @throws IllegalArgumentException if <code>source</code> is null
+     * @throws IllegalArgumentException if {@code source} is null
      * @see #getSource()
      * @see #getID()
      * @see #getAdjustmentType()
      * @see #getValue()
      */
     public AdjustmentEvent(Adjustable source, int id, int type, int value) {
         this(source, id, type, value, false);
     }
 
     /**
-     * Constructs an <code>AdjustmentEvent</code> object with the
+     * Constructs an {@code AdjustmentEvent} object with the
      * specified Adjustable source, event type, adjustment type, and value.
      * <p> This method throws an
-     * <code>IllegalArgumentException</code> if <code>source</code>
-     * is <code>null</code>.
+     * {@code IllegalArgumentException} if {@code source}
+     * is {@code null}.
      *
-     * @param source The <code>Adjustable</code> object where the
+     * @param source The {@code Adjustable} object where the
      *               event originated
      * @param id     An integer indicating the type of event.
      *                     For information on allowable values, see
      *                     the class description for {@link AdjustmentEvent}
      * @param type   An integer indicating the adjustment type.
      *                     For information on allowable values, see
      *                     the class description for {@link AdjustmentEvent}
      * @param value  The current value of the adjustment
-     * @param isAdjusting A boolean that equals <code>true</code> if the event is one
+     * @param isAdjusting A boolean that equals {@code true} if the event is one
      *               of a series of multiple adjusting events,
-     *               otherwise <code>false</code>
-     * @throws IllegalArgumentException if <code>source</code> is null
+     *               otherwise {@code false}
+     * @throws IllegalArgumentException if {@code source} is null
      * @since 1.4
      * @see #getSource()
      * @see #getID()
      * @see #getAdjustmentType()
      * @see #getValue()

@@ -207,13 +207,13 @@
         this.value = value;
         this.isAdjusting = isAdjusting;
     }
 
     /**
-     * Returns the <code>Adjustable</code> object where this event originated.
+     * Returns the {@code Adjustable} object where this event originated.
      *
-     * @return the <code>Adjustable</code> object where this event originated
+     * @return the {@code Adjustable} object where this event originated
      */
     public Adjustable getAdjustable() {
         return adjustable;
     }
 

@@ -241,15 +241,15 @@
     public int getAdjustmentType() {
         return adjustmentType;
     }
 
     /**
-     * Returns <code>true</code> if this is one of multiple
+     * Returns {@code true} if this is one of multiple
      * adjustment events.
      *
-     * @return <code>true</code> if this is one of multiple
-     *         adjustment events, otherwise returns <code>false</code>
+     * @return {@code true} if this is one of multiple
+     *         adjustment events, otherwise returns {@code false}
      * @since 1.4
      */
     public boolean getValueIsAdjusting() {
         return isAdjusting;
     }
< prev index next >