JToolBar.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_JToolBar__
  3. #define __javax_swing_JToolBar__
  4. #pragma interface
  5. #include <javax/swing/JComponent.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace awt
  11. {
  12. class Component;
  13. class Dimension;
  14. class Graphics;
  15. class Insets;
  16. class LayoutManager;
  17. }
  18. namespace beans
  19. {
  20. class PropertyChangeListener;
  21. }
  22. }
  23. namespace javax
  24. {
  25. namespace accessibility
  26. {
  27. class AccessibleContext;
  28. }
  29. namespace swing
  30. {
  31. class Action;
  32. class JButton;
  33. class JToolBar;
  34. namespace plaf
  35. {
  36. class ToolBarUI;
  37. }
  38. }
  39. }
  40. }
  41. class javax::swing::JToolBar : public ::javax::swing::JComponent
  42. {
  43. public:
  44. JToolBar();
  45. JToolBar(jint);
  46. JToolBar(::java::lang::String *);
  47. JToolBar(::java::lang::String *, jint);
  48. virtual ::javax::swing::JButton * add(::javax::swing::Action *);
  49. public: // actually protected
  50. virtual void paintBorder(::java::awt::Graphics *);
  51. public:
  52. virtual ::javax::swing::plaf::ToolBarUI * getUI();
  53. virtual void setUI(::javax::swing::plaf::ToolBarUI *);
  54. virtual void updateUI();
  55. virtual ::java::lang::String * getUIClassID();
  56. virtual void setRollover(jboolean);
  57. virtual jboolean isRollover();
  58. virtual jint getComponentIndex(::java::awt::Component *);
  59. virtual ::java::awt::Component * getComponentAtIndex(jint);
  60. virtual ::java::awt::Insets * getMargin();
  61. virtual void setMargin(::java::awt::Insets *);
  62. virtual jboolean isBorderPainted();
  63. virtual void setBorderPainted(jboolean);
  64. virtual jboolean isFloatable();
  65. virtual void setFloatable(jboolean);
  66. virtual jint getOrientation();
  67. virtual void setLayout(::java::awt::LayoutManager *);
  68. virtual void setOrientation(jint);
  69. virtual void addSeparator();
  70. virtual void addSeparator(::java::awt::Dimension *);
  71. public: // actually protected
  72. virtual ::javax::swing::JButton * createActionComponent(::javax::swing::Action *);
  73. virtual ::java::beans::PropertyChangeListener * createActionChangeListener(::javax::swing::JButton *);
  74. virtual void addImpl(::java::awt::Component *, ::java::lang::Object *, jint);
  75. virtual ::java::lang::String * paramString();
  76. public:
  77. virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
  78. private:
  79. static const jlong serialVersionUID = -1269915519555129643LL;
  80. jboolean __attribute__((aligned(__alignof__( ::javax::swing::JComponent)))) paintBorder__;
  81. ::java::awt::Insets * margin;
  82. jboolean floatable;
  83. jboolean rollover;
  84. jint orientation;
  85. public:
  86. static ::java::lang::Class class$;
  87. };
  88. #endif // __javax_swing_JToolBar__