1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_swing_plaf_basic_BasicSplitPaneUI__
|
5 |
|
|
#define __javax_swing_plaf_basic_BasicSplitPaneUI__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <javax/swing/plaf/SplitPaneUI.h>
|
10 |
|
|
extern "Java"
|
11 |
|
|
{
|
12 |
|
|
namespace java
|
13 |
|
|
{
|
14 |
|
|
namespace awt
|
15 |
|
|
{
|
16 |
|
|
class Component;
|
17 |
|
|
class Dimension;
|
18 |
|
|
class Graphics;
|
19 |
|
|
class Insets;
|
20 |
|
|
namespace event
|
21 |
|
|
{
|
22 |
|
|
class ActionListener;
|
23 |
|
|
class FocusListener;
|
24 |
|
|
}
|
25 |
|
|
}
|
26 |
|
|
namespace beans
|
27 |
|
|
{
|
28 |
|
|
class PropertyChangeListener;
|
29 |
|
|
}
|
30 |
|
|
}
|
31 |
|
|
namespace javax
|
32 |
|
|
{
|
33 |
|
|
namespace swing
|
34 |
|
|
{
|
35 |
|
|
class ActionMap;
|
36 |
|
|
class InputMap;
|
37 |
|
|
class JComponent;
|
38 |
|
|
class JSplitPane;
|
39 |
|
|
class KeyStroke;
|
40 |
|
|
namespace plaf
|
41 |
|
|
{
|
42 |
|
|
class ComponentUI;
|
43 |
|
|
namespace basic
|
44 |
|
|
{
|
45 |
|
|
class BasicSplitPaneDivider;
|
46 |
|
|
class BasicSplitPaneUI;
|
47 |
|
|
class BasicSplitPaneUI$BasicHorizontalLayoutManager;
|
48 |
|
|
}
|
49 |
|
|
}
|
50 |
|
|
}
|
51 |
|
|
}
|
52 |
|
|
}
|
53 |
|
|
|
54 |
|
|
class javax::swing::plaf::basic::BasicSplitPaneUI : public ::javax::swing::plaf::SplitPaneUI
|
55 |
|
|
{
|
56 |
|
|
|
57 |
|
|
public:
|
58 |
|
|
BasicSplitPaneUI();
|
59 |
|
|
static ::javax::swing::plaf::ComponentUI * createUI(::javax::swing::JComponent *);
|
60 |
|
|
virtual void installUI(::javax::swing::JComponent *);
|
61 |
|
|
virtual void uninstallUI(::javax::swing::JComponent *);
|
62 |
|
|
public: // actually protected
|
63 |
|
|
virtual void installDefaults();
|
64 |
|
|
virtual void uninstallDefaults();
|
65 |
|
|
virtual void installListeners();
|
66 |
|
|
virtual void uninstallListeners();
|
67 |
|
|
public: // actually package-private
|
68 |
|
|
virtual ::javax::swing::InputMap * getInputMap(jint);
|
69 |
|
|
virtual ::javax::swing::ActionMap * getActionMap();
|
70 |
|
|
virtual ::javax::swing::ActionMap * createActionMap();
|
71 |
|
|
public: // actually protected
|
72 |
|
|
virtual void installKeyboardActions();
|
73 |
|
|
virtual void uninstallKeyboardActions();
|
74 |
|
|
virtual ::java::beans::PropertyChangeListener * createPropertyChangeListener();
|
75 |
|
|
virtual ::java::awt::event::FocusListener * createFocusListener();
|
76 |
|
|
virtual ::java::awt::event::ActionListener * createKeyboardUpLeftListener();
|
77 |
|
|
virtual ::java::awt::event::ActionListener * createKeyboardDownRightListener();
|
78 |
|
|
virtual ::java::awt::event::ActionListener * createKeyboardHomeListener();
|
79 |
|
|
virtual ::java::awt::event::ActionListener * createKeyboardEndListener();
|
80 |
|
|
virtual ::java::awt::event::ActionListener * createKeyboardResizeToggleListener();
|
81 |
|
|
public:
|
82 |
|
|
virtual jint getOrientation();
|
83 |
|
|
virtual void setOrientation(jint);
|
84 |
|
|
virtual jboolean isContinuousLayout();
|
85 |
|
|
virtual void setContinuousLayout(jboolean);
|
86 |
|
|
virtual jint getLastDragLocation();
|
87 |
|
|
virtual void setLastDragLocation(jint);
|
88 |
|
|
virtual ::javax::swing::plaf::basic::BasicSplitPaneDivider * getDivider();
|
89 |
|
|
public: // actually protected
|
90 |
|
|
virtual ::java::awt::Component * createDefaultNonContinuousLayoutDivider();
|
91 |
|
|
virtual void setNonContinuousLayoutDivider(::java::awt::Component *);
|
92 |
|
|
virtual void setNonContinuousLayoutDivider(::java::awt::Component *, jboolean);
|
93 |
|
|
public:
|
94 |
|
|
virtual ::java::awt::Component * getNonContinuousLayoutDivider();
|
95 |
|
|
virtual ::javax::swing::JSplitPane * getSplitPane();
|
96 |
|
|
virtual ::javax::swing::plaf::basic::BasicSplitPaneDivider * createDefaultDivider();
|
97 |
|
|
virtual void resetToPreferredSizes(::javax::swing::JSplitPane *);
|
98 |
|
|
virtual void setDividerLocation(::javax::swing::JSplitPane *, jint);
|
99 |
|
|
virtual jint getDividerLocation(::javax::swing::JSplitPane *);
|
100 |
|
|
virtual jint getMinimumDividerLocation(::javax::swing::JSplitPane *);
|
101 |
|
|
virtual jint getMaximumDividerLocation(::javax::swing::JSplitPane *);
|
102 |
|
|
virtual void finishedPaintingChildren(::javax::swing::JSplitPane *, ::java::awt::Graphics *);
|
103 |
|
|
virtual void paint(::java::awt::Graphics *, ::javax::swing::JComponent *);
|
104 |
|
|
virtual ::java::awt::Dimension * getPreferredSize(::javax::swing::JComponent *);
|
105 |
|
|
virtual ::java::awt::Dimension * getMinimumSize(::javax::swing::JComponent *);
|
106 |
|
|
virtual ::java::awt::Dimension * getMaximumSize(::javax::swing::JComponent *);
|
107 |
|
|
virtual ::java::awt::Insets * getInsets(::javax::swing::JComponent *);
|
108 |
|
|
public: // actually protected
|
109 |
|
|
virtual void resetLayoutManager();
|
110 |
|
|
virtual void startDragging();
|
111 |
|
|
virtual void dragDividerTo(jint);
|
112 |
|
|
virtual void finishDraggingTo(jint);
|
113 |
|
|
virtual jint getDividerBorderSize();
|
114 |
|
|
private:
|
115 |
|
|
jint validLocation(jint);
|
116 |
|
|
public: // actually protected
|
117 |
|
|
jint __attribute__((aligned(__alignof__( ::javax::swing::plaf::SplitPaneUI)))) beginDragDividerLocation;
|
118 |
|
|
jint dividerSize;
|
119 |
|
|
public: // actually package-private
|
120 |
|
|
jint lastDragLocation;
|
121 |
|
|
public: // actually protected
|
122 |
|
|
static jint KEYBOARD_DIVIDER_MOVE_OFFSET;
|
123 |
|
|
::javax::swing::plaf::basic::BasicSplitPaneDivider * divider;
|
124 |
|
|
::java::beans::PropertyChangeListener * propertyChangeListener;
|
125 |
|
|
::java::awt::event::FocusListener * focusListener;
|
126 |
|
|
::java::awt::event::ActionListener * keyboardDownRightListener;
|
127 |
|
|
::java::awt::event::ActionListener * keyboardEndListener;
|
128 |
|
|
::java::awt::event::ActionListener * keyboardHomeListener;
|
129 |
|
|
::java::awt::event::ActionListener * keyboardResizeToggleListener;
|
130 |
|
|
::java::awt::event::ActionListener * keyboardUpLeftListener;
|
131 |
|
|
::javax::swing::plaf::basic::BasicSplitPaneUI$BasicHorizontalLayoutManager * layoutManager;
|
132 |
|
|
::javax::swing::KeyStroke * dividerResizeToggleKey;
|
133 |
|
|
::javax::swing::KeyStroke * downKey;
|
134 |
|
|
::javax::swing::KeyStroke * endKey;
|
135 |
|
|
::javax::swing::KeyStroke * homeKey;
|
136 |
|
|
::javax::swing::KeyStroke * leftKey;
|
137 |
|
|
::javax::swing::KeyStroke * rightKey;
|
138 |
|
|
::javax::swing::KeyStroke * upKey;
|
139 |
|
|
jboolean draggingHW;
|
140 |
|
|
static ::java::lang::String * NON_CONTINUOUS_DIVIDER;
|
141 |
|
|
::java::awt::Component * nonContinuousLayoutDivider;
|
142 |
|
|
::javax::swing::JSplitPane * splitPane;
|
143 |
|
|
public: // actually package-private
|
144 |
|
|
jboolean dividerLocationSet;
|
145 |
|
|
public:
|
146 |
|
|
static ::java::lang::Class class$;
|
147 |
|
|
};
|
148 |
|
|
|
149 |
|
|
#endif // __javax_swing_plaf_basic_BasicSplitPaneUI__
|