1 7 8 package java.awt; 9 10 import java.awt.event.*; 11 12 20 21 public interface Adjustable { 22 23 26 public static final int HORIZONTAL = 0; 27 28 31 public static final int VERTICAL = 1; 32 33 36 public static final int NO_ORIENTATION = 2; 37 38 44 int getOrientation(); 45 46 50 void setMinimum(int min); 51 52 56 int getMinimum(); 57 58 62 void setMaximum(int max); 63 64 68 int getMaximum(); 69 70 74 void setUnitIncrement(int u); 75 76 80 int getUnitIncrement(); 81 82 86 void setBlockIncrement(int b); 87 88 92 int getBlockIncrement(); 93 94 99 void setVisibleAmount(int v); 100 101 105 int getVisibleAmount(); 106 107 119 void setValue(int v); 120 121 125 int getValue(); 126 127 133 void addAdjustmentListener(AdjustmentListener l); 134 135 140 void removeAdjustmentListener(AdjustmentListener l); 141 142 } 143 | Popular Tags |