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

#ifndef __javax_swing_JLayeredPane__
#define __javax_swing_JLayeredPane__

#pragma interface

#include <javax/swing/JComponent.h>
#include <gcj/array.h>

extern "Java"
{
  namespace javax
  {
    namespace swing
    {
      class JLayeredPane;
    }
  }
  namespace java
  {
    namespace awt
    {
      class Component;
    }
  }
}

class javax::swing::JLayeredPane : public ::javax::swing::JComponent
{
public: // actually package-private
  JLayeredPane ();
public:  // actually protected
  virtual ::java::lang::Integer *getLayer (::java::awt::Component *);
  virtual jintArray layerToRange (::java::lang::Integer *);
  virtual void incrLayer (::java::lang::Integer *);
  virtual void decrLayer (::java::lang::Integer *);
public:
  virtual jint highestLayer ();
  virtual jint lowestLayer ();
  virtual void moveToFront (::java::awt::Component *);
  virtual void moveToBack (::java::awt::Component *);
  virtual jint getPosition (::java::awt::Component *);
  virtual void setPosition (::java::awt::Component *, jint);
  virtual JArray< ::java::awt::Component *> *getComponentsInLayer (jint);
  virtual jint getComponentCountInLayer (jint);
public:  // actually protected
  virtual ::java::util::Hashtable *getComponentToLayer () { return componentToLayer; }
public:
  virtual jint getIndexOf (::java::awt::Component *);
public:  // actually protected
  virtual ::java::lang::Integer *getObjectForLayer (jint);
  virtual jint insertIndexForLayer (jint, jint);
public:
  virtual void remove (jint);
  virtual void remove (::java::awt::Component *);
  virtual void setLayer (::java::awt::Component *, jint);
  virtual void setLayer (::java::awt::Component *, jint, jint);
public:  // actually protected
  virtual void addImpl (::java::awt::Component *, ::java::lang::Object *, jint);
public:
  static ::java::lang::String *LAYER_PROPERTY;
  static ::java::lang::Integer *FRAME_CONTENT_LAYER;
  static ::java::lang::Integer *DEFAULT_LAYER;
  static ::java::lang::Integer *PALETTE_LAYER;
  static ::java::lang::Integer *MODAL_LAYER;
  static ::java::lang::Integer *POPUP_LAYER;
  static ::java::lang::Integer *DRAG_LAYER;
public: // actually package-private
  ::java::util::TreeMap * __attribute__((aligned(__alignof__( ::javax::swing::JComponent )))) layers;
  ::java::util::Hashtable *componentToLayer;
public:

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

#endif /* __javax_swing_JLayeredPane__ */
