1 16 package swingwt.awt; 17 18 import swingwt.awt.event.*; 19 20 27 public interface Adjustable { 28 public static final int HORIZONTAL=0; 29 public static final int VERTICAL=1; 30 public static final int NO_ORIENTATION=2; 31 int getOrientation(); 32 void setMinimum(int min); 33 int getMinimum(); 34 void setMaximum(int max); 35 int getMaximum(); 36 void setUnitIncrement(int u); 37 int getUnitIncrement(); 38 void setBlockIncrement(int b); 39 int getBlockIncrement(); 40 void setVisibleAmount(int v); 41 int getVisibleAmount(); 42 void setValue(int v); 43 int getValue(); 44 void addAdjustmentListener(AdjustmentListener l); 45 void removeAdjustmentListener(AdjustmentListener l); 46 47 } 48 | Popular Tags |