2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_swing_JToolBar__
5 #define __javax_swing_JToolBar__
9 #include <javax/swing/JComponent.h>
24 class PropertyChangeListener
;
29 namespace accessibility
31 class AccessibleContext
;
46 class javax::swing::JToolBar
: public ::javax::swing::JComponent
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
*);
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();
83 virtual ::javax::accessibility::AccessibleContext
* getAccessibleContext();
85 static const jlong serialVersionUID
= -1269915519555129643LL;
86 jboolean
__attribute__((aligned(__alignof__( ::javax::swing::JComponent
)))) paintBorder__
;
87 ::java::awt::Insets
* margin
;
92 static ::java::lang::Class
class$
;
95 #endif // __javax_swing_JToolBar__