2008-05-06 Kai Tietz <kai.tietz@onevision.com>
[official-gcc.git] / libjava / javax / swing / JToolBar.h
blobea7cd99b27efdbde1e30810f1e46a4e0e847868e
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_swing_JToolBar__
5 #define __javax_swing_JToolBar__
7 #pragma interface
9 #include <javax/swing/JComponent.h>
10 extern "Java"
12 namespace java
14 namespace awt
16 class Component;
17 class Dimension;
18 class Graphics;
19 class Insets;
20 class LayoutManager;
22 namespace beans
24 class PropertyChangeListener;
27 namespace javax
29 namespace accessibility
31 class AccessibleContext;
33 namespace swing
35 class Action;
36 class JButton;
37 class JToolBar;
38 namespace plaf
40 class ToolBarUI;
46 class javax::swing::JToolBar : public ::javax::swing::JComponent
49 public:
50 JToolBar();
51 JToolBar(jint);
52 JToolBar(::java::lang::String *);
53 JToolBar(::java::lang::String *, jint);
54 virtual ::javax::swing::JButton * add(::javax::swing::Action *);
55 public: // actually protected
56 virtual void paintBorder(::java::awt::Graphics *);
57 public:
58 virtual ::javax::swing::plaf::ToolBarUI * getUI();
59 virtual void setUI(::javax::swing::plaf::ToolBarUI *);
60 virtual void updateUI();
61 virtual ::java::lang::String * getUIClassID();
62 virtual void setRollover(jboolean);
63 virtual jboolean isRollover();
64 virtual jint getComponentIndex(::java::awt::Component *);
65 virtual ::java::awt::Component * getComponentAtIndex(jint);
66 virtual ::java::awt::Insets * getMargin();
67 virtual void setMargin(::java::awt::Insets *);
68 virtual jboolean isBorderPainted();
69 virtual void setBorderPainted(jboolean);
70 virtual jboolean isFloatable();
71 virtual void setFloatable(jboolean);
72 virtual jint getOrientation();
73 virtual void setLayout(::java::awt::LayoutManager *);
74 virtual void setOrientation(jint);
75 virtual void addSeparator();
76 virtual void addSeparator(::java::awt::Dimension *);
77 public: // actually protected
78 virtual ::javax::swing::JButton * createActionComponent(::javax::swing::Action *);
79 virtual ::java::beans::PropertyChangeListener * createActionChangeListener(::javax::swing::JButton *);
80 virtual void addImpl(::java::awt::Component *, ::java::lang::Object *, jint);
81 virtual ::java::lang::String * paramString();
82 public:
83 virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
84 private:
85 static const jlong serialVersionUID = -1269915519555129643LL;
86 jboolean __attribute__((aligned(__alignof__( ::javax::swing::JComponent)))) paintBorder__;
87 ::java::awt::Insets * margin;
88 jboolean floatable;
89 jboolean rollover;
90 jint orientation;
91 public:
92 static ::java::lang::Class class$;
95 #endif // __javax_swing_JToolBar__