// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_awt_ScrollPane__
#define __java_awt_ScrollPane__

#pragma interface

#include <java/awt/Container.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
      class ScrollPane;
      class LayoutManager;
      class Dimension;
      class Point;
      class Adjustable;
      class Component;
      class ScrollPane$ScrollPaneAdjustable;
    }
  }
};

class ::java::awt::ScrollPane : public ::java::awt::Container
{
public:
  ScrollPane ();
  ScrollPane (jint);
public:  // actually protected
  void addImpl (::java::awt::Component *, ::java::lang::Object *, jint);
public:
  virtual void addNotify ();
  virtual void doLayout ();
  virtual ::java::awt::Adjustable *getHAdjustable () { return reinterpret_cast< ::java::awt::Adjustable *> (hscroll); }
  virtual jint getHScrollbarHeight ();
  virtual jint getScrollbarDisplayPolicy () { return policy; }
  virtual ::java::awt::Point *getScrollPosition ();
  virtual ::java::awt::Adjustable *getVAdjustable () { return reinterpret_cast< ::java::awt::Adjustable *> (vscroll); }
  virtual ::java::awt::Dimension *getViewportSize ();
  virtual jint getVScrollbarWidth ();
  virtual ::java::lang::String *paramString ();
  void setLayout (::java::awt::LayoutManager *) { }
  virtual void setScrollPosition (jint, jint);
  virtual void setScrollPosition (::java::awt::Point *);
  static const jint SCROLLBARS_AS_NEEDED = 0L;
  static const jint SCROLLBARS_ALWAYS = 1L;
  static const jint SCROLLBARS_NEVER = 2L;
public: // actually package-private
  ::java::awt::ScrollPane$ScrollPaneAdjustable *hscroll;
  ::java::awt::ScrollPane$ScrollPaneAdjustable *vscroll;
  jint policy;
public:

  static ::java::lang::Class class$;
};

#endif /* __java_awt_ScrollPane__ */
