JTabbedPane.h 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_JTabbedPane__
  3. #define __javax_swing_JTabbedPane__
  4. #pragma interface
  5. #include <javax/swing/JComponent.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace java
  10. {
  11. namespace awt
  12. {
  13. class Color;
  14. class Component;
  15. class Rectangle;
  16. namespace event
  17. {
  18. class MouseEvent;
  19. }
  20. }
  21. }
  22. namespace javax
  23. {
  24. namespace accessibility
  25. {
  26. class AccessibleContext;
  27. }
  28. namespace swing
  29. {
  30. class Icon;
  31. class JTabbedPane;
  32. class SingleSelectionModel;
  33. namespace event
  34. {
  35. class ChangeEvent;
  36. class ChangeListener;
  37. }
  38. namespace plaf
  39. {
  40. class TabbedPaneUI;
  41. }
  42. }
  43. }
  44. }
  45. class javax::swing::JTabbedPane : public ::javax::swing::JComponent
  46. {
  47. public:
  48. JTabbedPane();
  49. JTabbedPane(jint);
  50. JTabbedPane(jint, jint);
  51. virtual ::javax::swing::plaf::TabbedPaneUI * getUI();
  52. virtual void setUI(::javax::swing::plaf::TabbedPaneUI *);
  53. virtual void updateUI();
  54. virtual ::java::lang::String * getUIClassID();
  55. public: // actually protected
  56. virtual ::javax::swing::event::ChangeListener * createChangeListener();
  57. public:
  58. virtual void addChangeListener(::javax::swing::event::ChangeListener *);
  59. virtual void removeChangeListener(::javax::swing::event::ChangeListener *);
  60. public: // actually protected
  61. virtual void fireStateChanged();
  62. public:
  63. virtual JArray< ::javax::swing::event::ChangeListener * > * getChangeListeners();
  64. virtual ::javax::swing::SingleSelectionModel * getModel();
  65. virtual void setModel(::javax::swing::SingleSelectionModel *);
  66. virtual jint getTabPlacement();
  67. virtual void setTabPlacement(jint);
  68. virtual jint getTabLayoutPolicy();
  69. virtual void setTabLayoutPolicy(jint);
  70. virtual jint getSelectedIndex();
  71. private:
  72. void checkIndex(jint, jint, jint);
  73. public:
  74. virtual void setSelectedIndex(jint);
  75. virtual ::java::awt::Component * getSelectedComponent();
  76. virtual void setSelectedComponent(::java::awt::Component *);
  77. virtual void insertTab(::java::lang::String *, ::javax::swing::Icon *, ::java::awt::Component *, ::java::lang::String *, jint);
  78. virtual void addTab(::java::lang::String *, ::javax::swing::Icon *, ::java::awt::Component *, ::java::lang::String *);
  79. virtual void addTab(::java::lang::String *, ::javax::swing::Icon *, ::java::awt::Component *);
  80. virtual void addTab(::java::lang::String *, ::java::awt::Component *);
  81. virtual ::java::awt::Component * add(::java::awt::Component *);
  82. virtual ::java::awt::Component * add(::java::lang::String *, ::java::awt::Component *);
  83. virtual ::java::awt::Component * add(::java::awt::Component *, jint);
  84. virtual void add(::java::awt::Component *, ::java::lang::Object *);
  85. virtual void add(::java::awt::Component *, ::java::lang::Object *, jint);
  86. virtual void removeTabAt(jint);
  87. virtual void remove(::java::awt::Component *);
  88. virtual void remove(jint);
  89. virtual void removeAll();
  90. virtual jint getTabCount();
  91. virtual jint getTabRunCount();
  92. virtual ::java::lang::String * getTitleAt(jint);
  93. virtual ::javax::swing::Icon * getIconAt(jint);
  94. virtual ::javax::swing::Icon * getDisabledIconAt(jint);
  95. virtual ::java::lang::String * getToolTipTextAt(jint);
  96. virtual ::java::awt::Color * getForegroundAt(jint);
  97. virtual ::java::awt::Color * getBackgroundAt(jint);
  98. virtual ::java::awt::Component * getComponentAt(jint);
  99. virtual jboolean isEnabledAt(jint);
  100. virtual jint getMnemonicAt(jint);
  101. virtual jint getDisplayedMnemonicIndexAt(jint);
  102. virtual ::java::awt::Rectangle * getBoundsAt(jint);
  103. virtual void setTitleAt(jint, ::java::lang::String *);
  104. virtual void setIconAt(jint, ::javax::swing::Icon *);
  105. virtual void setDisabledIconAt(jint, ::javax::swing::Icon *);
  106. virtual void setToolTipTextAt(jint, ::java::lang::String *);
  107. virtual void setBackgroundAt(jint, ::java::awt::Color *);
  108. virtual void setForegroundAt(jint, ::java::awt::Color *);
  109. virtual void setEnabledAt(jint, jboolean);
  110. virtual void setComponentAt(jint, ::java::awt::Component *);
  111. virtual void setDisplayedMnemonicIndexAt(jint, jint);
  112. virtual void setMnemonicAt(jint, jint);
  113. virtual jint indexOfTab(::java::lang::String *);
  114. virtual jint indexOfTab(::javax::swing::Icon *);
  115. virtual jint indexOfComponent(::java::awt::Component *);
  116. virtual jint indexAtLocation(jint, jint);
  117. virtual ::java::lang::String * getToolTipText(::java::awt::event::MouseEvent *);
  118. public: // actually protected
  119. virtual ::java::lang::String * paramString();
  120. public:
  121. virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
  122. private:
  123. static const jlong serialVersionUID = 1614381073220130939LL;
  124. public: // actually protected
  125. ::javax::swing::event::ChangeEvent * __attribute__((aligned(__alignof__( ::javax::swing::JComponent)))) changeEvent;
  126. ::javax::swing::event::ChangeListener * changeListener;
  127. ::javax::swing::SingleSelectionModel * model;
  128. public:
  129. static const jint SCROLL_TAB_LAYOUT = 1;
  130. static const jint WRAP_TAB_LAYOUT = 0;
  131. public: // actually protected
  132. jint tabPlacement;
  133. private:
  134. jint layoutPolicy;
  135. public: // actually package-private
  136. ::java::util::Vector * tabs;
  137. public:
  138. static ::java::lang::Class class$;
  139. };
  140. #endif // __javax_swing_JTabbedPane__