1. /*
  2. * @(#)ScrollPanePeer.java 1.12 00/02/02
  3. *
  4. * Copyright 1996-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package java.awt.peer;
  11. import java.awt.Point;
  12. import java.awt.Adjustable;
  13. /**
  14. * The peer interfaces are intended only for use in porting
  15. * the AWT. They are not intended for use by application
  16. * developers, and developers should not implement peers
  17. * nor invoke any of the peer methods directly on the peer
  18. * instances.
  19. */
  20. public interface ScrollPanePeer extends ContainerPeer {
  21. int getHScrollbarHeight();
  22. int getVScrollbarWidth();
  23. void setScrollPosition(int x, int y);
  24. void childResized(int w, int h);
  25. void setUnitIncrement(Adjustable adj, int u);
  26. void setValue(Adjustable adj, int v);
  27. }