2003-03-18 Michael Koch <konqueror@gmx.de>

* java/awt/ScrollPane.java
	(ScrollPane): Rewrote for new ScrollPaneAdjustable.
	(getViewportSize): Likewise.
	(addNotify): Likewise.
	(removeNotify): Likewise.
	* java/awt/ScrollPaneAdjustable.java
	(ScrollPaneAdjustable): No longer extends Scrollbar.
	* java/beans/beancontext/BeanContextServices.java:
	Reformated.
	(getService): Added throws TooManyListenersException;
	* java/beans/beancontext/BeanContextServicesSupport.java:
	Reformated.

From-SVN: r64538
This commit is contained in:
Michael Koch
2003-03-18 18:16:54 +00:00
committed by Michael Koch
parent 8dfa3bb06e
commit 897db4af51
5 changed files with 223 additions and 195 deletions
+5 -5
View File
@@ -49,7 +49,6 @@ import java.io.Serializable;
* @since 1.4
*/
public class ScrollPaneAdjustable
extends Scrollbar
implements Adjustable, Serializable
{
private static final long serialVersionUID = -3359745691033257079L;
@@ -60,13 +59,14 @@ public class ScrollPaneAdjustable
int minimum;
int maximum;
int visibleAmount;
int unitIncrement;
int blockIncrement;
int unitIncrement = 1;
int blockIncrement = 1;
AdjustmentListener adjustmentListener;
ScrollPaneAdjustable (int orientation)
ScrollPaneAdjustable (ScrollPane sp, int orientation)
{
throw new Error ("not implemented");
this.sp = sp;
this.orientation = orientation;
}
ScrollPaneAdjustable (ScrollPane sp, int orientation, int value, int minimum,