// 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 Graphics;
      class LayoutManager;
      class Component;
      class Dimension;
      class Adjustable;
      class Point;
      class ScrollPaneAdjustable;
    }
  }
}

class java::awt::ScrollPane : public ::java::awt::Container
{
public:
  ScrollPane ();
  ScrollPane (jint);
  virtual jint getScrollbarDisplayPolicy () { return scrollbarDisplayPolicy; }
  virtual ::java::awt::Adjustable *getHAdjustable () { return reinterpret_cast< ::java::awt::Adjustable *> (hAdjustable); }
  virtual ::java::awt::Adjustable *getVAdjustable () { return reinterpret_cast< ::java::awt::Adjustable *> (vAdjustable); }
  virtual ::java::awt::Dimension *getViewportSize ();
  virtual jint getHScrollbarHeight ();
  virtual jint getVScrollbarWidth ();
  virtual ::java::awt::Point *getScrollPosition ();
  virtual void setScrollPosition (::java::awt::Point *);
  virtual void setScrollPosition (jint, jint);
  virtual void addNotify ();
  virtual void removeNotify ();
public:  // actually protected
  void addImpl (::java::awt::Component *, ::java::lang::Object *, jint);
public:
  virtual void doLayout ();
  virtual void layout ();
  void setLayout (::java::awt::LayoutManager *) { }
  virtual void printComponents (::java::awt::Graphics *);
  virtual ::java::lang::String *paramString ();
public:  // actually protected
  virtual jboolean eventTypeEnabled (jint);
public:
  virtual jboolean isWheelScrollingEnabled () { return wheelScrollingEnabled; }
  virtual void setWheelScrollingEnabled (jboolean);
  static const jint SCROLLBARS_AS_NEEDED = 0L;
  static const jint SCROLLBARS_ALWAYS = 1L;
  static const jint SCROLLBARS_NEVER = 2L;
private:
  static const jlong serialVersionUID = 7956609840827222915LL;
  ::java::awt::ScrollPaneAdjustable * __attribute__((aligned(__alignof__( ::java::awt::Container )))) hAdjustable;
  ::java::awt::ScrollPaneAdjustable *vAdjustable;
  jint scrollbarDisplayPolicy;
  ::java::awt::Point *scrollPosition;
  jboolean wheelScrollingEnabled;
public:

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

#endif /* __java_awt_ScrollPane__ */
