2001-05-03 Mo DeJong <mdejong@redhat.com>
[official-gcc.git] / libjava / java / awt / Adjustable.java
blobbfdbb39531b3e0b659543bd31bf261bab8146453
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
7 details. */
9 package java.awt;
10 import java.awt.event.*;
12 /**
13 * @author Tom Tromey <tromey@cygnus.com>
14 * @date April 8, 2000
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);