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