1 /* Copyright (C) 1999, 2000 Free Software Foundation
3 This file is part of libjava.
5 This software is copyrighted work licensed under the terms of the
6 Libjava License. Please consult the file "LIBJAVA_LICENSE" for
10 import java
.awt
.event
.*;
13 * @author Tom Tromey <tromey@cygnus.com>
17 /* Status: Believed complete and correct to JDK 1.2. */
19 public interface Adjustable
21 public static final int HORIZONTAL
= 0;
22 public static final int VERTICAL
= 1;
24 public void addAdjustmentListener (AdjustmentListener l
);
25 public int getBlockIncrement ();
26 public int getMaximum ();
27 public int getMinimum ();
28 public int getOrientation ();
29 public int getUnitIncrement ();
30 public int getValue ();
31 public int getVisibleAmount ();
32 public void removeAdjustmentListener (AdjustmentListener l
);
33 public void setBlockIncrement (int b
);
34 public void setMaximum (int max
);
35 public void setMinimum (int min
);
36 public void setUnitIncrement (int u
);
37 public void setValue (int v
);
38 public void setVisibleAmount (int v
);