1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_swing_JScrollPane__
|
5 |
|
|
#define __javax_swing_JScrollPane__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <javax/swing/JComponent.h>
|
10 |
|
|
extern "Java"
|
11 |
|
|
{
|
12 |
|
|
namespace java
|
13 |
|
|
{
|
14 |
|
|
namespace awt
|
15 |
|
|
{
|
16 |
|
|
class Component;
|
17 |
|
|
class ComponentOrientation;
|
18 |
|
|
class LayoutManager;
|
19 |
|
|
class Rectangle;
|
20 |
|
|
}
|
21 |
|
|
}
|
22 |
|
|
namespace javax
|
23 |
|
|
{
|
24 |
|
|
namespace accessibility
|
25 |
|
|
{
|
26 |
|
|
class AccessibleContext;
|
27 |
|
|
}
|
28 |
|
|
namespace swing
|
29 |
|
|
{
|
30 |
|
|
class JScrollBar;
|
31 |
|
|
class JScrollPane;
|
32 |
|
|
class JViewport;
|
33 |
|
|
namespace border
|
34 |
|
|
{
|
35 |
|
|
class Border;
|
36 |
|
|
}
|
37 |
|
|
namespace plaf
|
38 |
|
|
{
|
39 |
|
|
class ScrollPaneUI;
|
40 |
|
|
}
|
41 |
|
|
}
|
42 |
|
|
}
|
43 |
|
|
}
|
44 |
|
|
|
45 |
|
|
class javax::swing::JScrollPane : public ::javax::swing::JComponent
|
46 |
|
|
{
|
47 |
|
|
|
48 |
|
|
public:
|
49 |
|
|
virtual ::javax::swing::JViewport * getColumnHeader();
|
50 |
|
|
virtual ::java::awt::Component * getCorner(::java::lang::String *);
|
51 |
|
|
virtual ::javax::swing::JScrollBar * getHorizontalScrollBar();
|
52 |
|
|
virtual jint getHorizontalScrollBarPolicy();
|
53 |
|
|
virtual ::javax::swing::JViewport * getRowHeader();
|
54 |
|
|
virtual ::javax::swing::JScrollBar * getVerticalScrollBar();
|
55 |
|
|
virtual jint getVerticalScrollBarPolicy();
|
56 |
|
|
virtual ::javax::swing::JViewport * getViewport();
|
57 |
|
|
virtual ::javax::swing::border::Border * getViewportBorder();
|
58 |
|
|
virtual ::java::awt::Rectangle * getViewportBorderBounds();
|
59 |
|
|
virtual jboolean isWheelScrollingEnabled();
|
60 |
|
|
private:
|
61 |
|
|
void sync();
|
62 |
|
|
void removeNonNull(::java::awt::Component *);
|
63 |
|
|
void addNonNull(::java::awt::Component *, ::java::lang::Object *);
|
64 |
|
|
public:
|
65 |
|
|
virtual void setComponentOrientation(::java::awt::ComponentOrientation *);
|
66 |
|
|
virtual void setColumnHeader(::javax::swing::JViewport *);
|
67 |
|
|
virtual void setColumnHeaderView(::java::awt::Component *);
|
68 |
|
|
virtual void setCorner(::java::lang::String *, ::java::awt::Component *);
|
69 |
|
|
virtual void setHorizontalScrollBar(::javax::swing::JScrollBar *);
|
70 |
|
|
virtual void setHorizontalScrollBarPolicy(jint);
|
71 |
|
|
virtual void setLayout(::java::awt::LayoutManager *);
|
72 |
|
|
virtual void setRowHeader(::javax::swing::JViewport *);
|
73 |
|
|
virtual void setRowHeaderView(::java::awt::Component *);
|
74 |
|
|
virtual void setVerticalScrollBar(::javax::swing::JScrollBar *);
|
75 |
|
|
virtual void setVerticalScrollBarPolicy(jint);
|
76 |
|
|
virtual void setWheelScrollingEnabled(jboolean);
|
77 |
|
|
virtual void setViewport(::javax::swing::JViewport *);
|
78 |
|
|
virtual void setViewportBorder(::javax::swing::border::Border *);
|
79 |
|
|
virtual void setViewportView(::java::awt::Component *);
|
80 |
|
|
virtual jboolean isValidateRoot();
|
81 |
|
|
JScrollPane();
|
82 |
|
|
JScrollPane(::java::awt::Component *);
|
83 |
|
|
JScrollPane(jint, jint);
|
84 |
|
|
JScrollPane(::java::awt::Component *, jint, jint);
|
85 |
|
|
virtual ::javax::swing::JScrollBar * createHorizontalScrollBar();
|
86 |
|
|
virtual ::javax::swing::JScrollBar * createVerticalScrollBar();
|
87 |
|
|
public: // actually protected
|
88 |
|
|
virtual ::javax::swing::JViewport * createViewport();
|
89 |
|
|
public:
|
90 |
|
|
virtual ::java::lang::String * getUIClassID();
|
91 |
|
|
virtual void updateUI();
|
92 |
|
|
virtual ::javax::swing::plaf::ScrollPaneUI * getUI();
|
93 |
|
|
virtual void setUI(::javax::swing::plaf::ScrollPaneUI *);
|
94 |
|
|
virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
|
95 |
|
|
private:
|
96 |
|
|
static const jlong serialVersionUID = 5203525440012340014LL;
|
97 |
|
|
public: // actually protected
|
98 |
|
|
::javax::swing::JViewport * __attribute__((aligned(__alignof__( ::javax::swing::JComponent)))) columnHeader;
|
99 |
|
|
::javax::swing::JViewport * rowHeader;
|
100 |
|
|
::java::awt::Component * lowerLeft;
|
101 |
|
|
::java::awt::Component * lowerRight;
|
102 |
|
|
::java::awt::Component * upperLeft;
|
103 |
|
|
::java::awt::Component * upperRight;
|
104 |
|
|
::javax::swing::JScrollBar * horizontalScrollBar;
|
105 |
|
|
jint horizontalScrollBarPolicy;
|
106 |
|
|
::javax::swing::JScrollBar * verticalScrollBar;
|
107 |
|
|
jint verticalScrollBarPolicy;
|
108 |
|
|
::javax::swing::JViewport * viewport;
|
109 |
|
|
private:
|
110 |
|
|
::javax::swing::border::Border * viewportBorder;
|
111 |
|
|
jboolean wheelScrollingEnabled;
|
112 |
|
|
public:
|
113 |
|
|
static ::java::lang::Class class$;
|
114 |
|
|
};
|
115 |
|
|
|
116 |
|
|
#endif // __javax_swing_JScrollPane__
|