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

#ifndef __javax_swing_JToolBar__
#define __javax_swing_JToolBar__

#pragma interface

#include <javax/swing/JComponent.h>
extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Component;
        class Dimension;
        class Graphics;
        class Insets;
        class LayoutManager;
    }
    namespace beans
    {
        class PropertyChangeListener;
    }
  }
  namespace javax
  {
    namespace accessibility
    {
        class AccessibleContext;
    }
    namespace swing
    {
        class Action;
        class JButton;
        class JToolBar;
      namespace plaf
      {
          class ToolBarUI;
      }
    }
  }
}

class javax::swing::JToolBar : public ::javax::swing::JComponent
{

public:
  JToolBar();
  JToolBar(jint);
  JToolBar(::java::lang::String *);
  JToolBar(::java::lang::String *, jint);
  virtual ::javax::swing::JButton * add(::javax::swing::Action *);
public: // actually protected
  virtual void paintBorder(::java::awt::Graphics *);
public:
  virtual ::javax::swing::plaf::ToolBarUI * getUI();
  virtual void setUI(::javax::swing::plaf::ToolBarUI *);
  virtual void updateUI();
  virtual ::java::lang::String * getUIClassID();
  virtual void setRollover(jboolean);
  virtual jboolean isRollover();
  virtual jint getComponentIndex(::java::awt::Component *);
  virtual ::java::awt::Component * getComponentAtIndex(jint);
  virtual ::java::awt::Insets * getMargin();
  virtual void setMargin(::java::awt::Insets *);
  virtual jboolean isBorderPainted();
  virtual void setBorderPainted(jboolean);
  virtual jboolean isFloatable();
  virtual void setFloatable(jboolean);
  virtual jint getOrientation();
  virtual void setLayout(::java::awt::LayoutManager *);
  virtual void setOrientation(jint);
  virtual void addSeparator();
  virtual void addSeparator(::java::awt::Dimension *);
public: // actually protected
  virtual ::javax::swing::JButton * createActionComponent(::javax::swing::Action *);
  virtual ::java::beans::PropertyChangeListener * createActionChangeListener(::javax::swing::JButton *);
  virtual void addImpl(::java::awt::Component *, ::java::lang::Object *, jint);
  virtual ::java::lang::String * paramString();
public:
  virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
private:
  static const jlong serialVersionUID = -1269915519555129643LL;
  jboolean __attribute__((aligned(__alignof__( ::javax::swing::JComponent)))) paintBorder__;
  ::java::awt::Insets * margin;
  jboolean floatable;
  jboolean rollover;
  jint orientation;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_JToolBar__
