< prev index next >
src/java.desktop/share/classes/java/awt/Adjustable.java
Print this page
@@ -37,29 +37,29 @@
* @author Tim Prinzing
*/
public interface Adjustable {
/**
- * Indicates that the <code>Adjustable</code> has horizontal orientation.
+ * Indicates that the {@code Adjustable} has horizontal orientation.
*/
@Native public static final int HORIZONTAL = 0;
/**
- * Indicates that the <code>Adjustable</code> has vertical orientation.
+ * Indicates that the {@code Adjustable} has vertical orientation.
*/
@Native public static final int VERTICAL = 1;
/**
- * Indicates that the <code>Adjustable</code> has no orientation.
+ * Indicates that the {@code Adjustable} has no orientation.
*/
@Native public static final int NO_ORIENTATION = 2;
/**
* Gets the orientation of the adjustable object.
* @return the orientation of the adjustable object;
- * either <code>HORIZONTAL</code>, <code>VERTICAL</code>,
- * or <code>NO_ORIENTATION</code>
+ * either {@code HORIZONTAL}, {@code VERTICAL},
+ * or {@code NO_ORIENTATION}
*/
int getOrientation();
/**
* Sets the minimum value of the adjustable object.
@@ -122,19 +122,19 @@
*/
int getVisibleAmount();
/**
* Sets the current value of the adjustable object. If
- * the value supplied is less than <code>minimum</code>
- * or greater than <code>maximum</code> - <code>visibleAmount</code>,
+ * the value supplied is less than {@code minimum}
+ * or greater than {@code maximum} - {@code visibleAmount},
* then one of those values is substituted, as appropriate.
* <p>
* Calling this method does not fire an
- * <code>AdjustmentEvent</code>.
+ * {@code AdjustmentEvent}.
*
- * @param v the current value, between <code>minimum</code>
- * and <code>maximum</code> - <code>visibleAmount</code>
+ * @param v the current value, between {@code minimum}
+ * and {@code maximum} - {@code visibleAmount}
*/
void setValue(int v);
/**
* Gets the current value of the adjustable object.
< prev index next >