< prev index next >

src/java.desktop/share/classes/java/awt/Adjustable.java

Print this page

        

*** 37,65 **** * @author Tim Prinzing */ public interface Adjustable { /** ! * Indicates that the <code>Adjustable</code> has horizontal orientation. */ @Native public static final int HORIZONTAL = 0; /** ! * Indicates that the <code>Adjustable</code> has vertical orientation. */ @Native public static final int VERTICAL = 1; /** ! * Indicates that the <code>Adjustable</code> 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> */ int getOrientation(); /** * Sets the minimum value of the adjustable object. --- 37,65 ---- * @author Tim Prinzing */ public interface Adjustable { /** ! * Indicates that the {@code Adjustable} has horizontal orientation. */ @Native public static final int HORIZONTAL = 0; /** ! * Indicates that the {@code Adjustable} has vertical orientation. */ @Native public static final int VERTICAL = 1; /** ! * 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 VERTICAL}, ! * or {@code NO_ORIENTATION} */ int getOrientation(); /** * Sets the minimum value of the adjustable object.
*** 122,140 **** */ 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>, * then one of those values is substituted, as appropriate. * <p> * Calling this method does not fire an ! * <code>AdjustmentEvent</code>. * ! * @param v the current value, between <code>minimum</code> ! * and <code>maximum</code> - <code>visibleAmount</code> */ void setValue(int v); /** * Gets the current value of the adjustable object. --- 122,140 ---- */ int getVisibleAmount(); /** * Sets the current value of the adjustable object. If ! * 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}. * ! * @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 >