1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_swing_plaf_basic_BasicToolBarUI__
|
5 |
|
|
#define __javax_swing_plaf_basic_BasicToolBarUI__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <javax/swing/plaf/ToolBarUI.h>
|
10 |
|
|
extern "Java"
|
11 |
|
|
{
|
12 |
|
|
namespace java
|
13 |
|
|
{
|
14 |
|
|
namespace awt
|
15 |
|
|
{
|
16 |
|
|
class Color;
|
17 |
|
|
class Component;
|
18 |
|
|
class Container;
|
19 |
|
|
class Dimension;
|
20 |
|
|
class Point;
|
21 |
|
|
class Window;
|
22 |
|
|
namespace event
|
23 |
|
|
{
|
24 |
|
|
class ContainerListener;
|
25 |
|
|
class FocusListener;
|
26 |
|
|
class WindowListener;
|
27 |
|
|
}
|
28 |
|
|
}
|
29 |
|
|
namespace beans
|
30 |
|
|
{
|
31 |
|
|
class PropertyChangeListener;
|
32 |
|
|
}
|
33 |
|
|
}
|
34 |
|
|
namespace javax
|
35 |
|
|
{
|
36 |
|
|
namespace swing
|
37 |
|
|
{
|
38 |
|
|
class ActionMap;
|
39 |
|
|
class JComponent;
|
40 |
|
|
class JFrame;
|
41 |
|
|
class JToolBar;
|
42 |
|
|
class KeyStroke;
|
43 |
|
|
class RootPaneContainer;
|
44 |
|
|
namespace border
|
45 |
|
|
{
|
46 |
|
|
class Border;
|
47 |
|
|
}
|
48 |
|
|
namespace event
|
49 |
|
|
{
|
50 |
|
|
class MouseInputListener;
|
51 |
|
|
}
|
52 |
|
|
namespace plaf
|
53 |
|
|
{
|
54 |
|
|
class ComponentUI;
|
55 |
|
|
namespace basic
|
56 |
|
|
{
|
57 |
|
|
class BasicToolBarUI;
|
58 |
|
|
class BasicToolBarUI$DragWindow;
|
59 |
|
|
}
|
60 |
|
|
}
|
61 |
|
|
}
|
62 |
|
|
}
|
63 |
|
|
}
|
64 |
|
|
|
65 |
|
|
class javax::swing::plaf::basic::BasicToolBarUI : public ::javax::swing::plaf::ToolBarUI
|
66 |
|
|
{
|
67 |
|
|
|
68 |
|
|
public:
|
69 |
|
|
BasicToolBarUI();
|
70 |
|
|
virtual jboolean canDock(::java::awt::Component *, ::java::awt::Point *);
|
71 |
|
|
private:
|
72 |
|
|
jint areaOfClick(::java::awt::Component *, ::java::awt::Point *);
|
73 |
|
|
public: // actually protected
|
74 |
|
|
virtual ::javax::swing::event::MouseInputListener * createDockingListener();
|
75 |
|
|
virtual ::javax::swing::plaf::basic::BasicToolBarUI$DragWindow * createDragWindow(::javax::swing::JToolBar *);
|
76 |
|
|
virtual ::javax::swing::JFrame * createFloatingFrame(::javax::swing::JToolBar *);
|
77 |
|
|
virtual ::javax::swing::RootPaneContainer * createFloatingWindow(::javax::swing::JToolBar *);
|
78 |
|
|
virtual ::java::awt::event::WindowListener * createFrameListener();
|
79 |
|
|
virtual ::javax::swing::border::Border * createNonRolloverBorder();
|
80 |
|
|
virtual ::java::beans::PropertyChangeListener * createPropertyListener();
|
81 |
|
|
virtual ::javax::swing::border::Border * createRolloverBorder();
|
82 |
|
|
virtual ::java::awt::event::ContainerListener * createToolBarContListener();
|
83 |
|
|
virtual ::java::awt::event::FocusListener * createToolBarFocusListener();
|
84 |
|
|
public:
|
85 |
|
|
static ::javax::swing::plaf::ComponentUI * createUI(::javax::swing::JComponent *);
|
86 |
|
|
public: // actually protected
|
87 |
|
|
virtual void dragTo(::java::awt::Point *, ::java::awt::Point *);
|
88 |
|
|
virtual void floatAt(::java::awt::Point *, ::java::awt::Point *);
|
89 |
|
|
public:
|
90 |
|
|
virtual ::java::awt::Color * getDockingColor();
|
91 |
|
|
virtual ::java::awt::Color * getFloatingColor();
|
92 |
|
|
virtual ::java::awt::Dimension * getMaximumSize(::javax::swing::JComponent *);
|
93 |
|
|
virtual ::java::awt::Dimension * getMinimumSize(::javax::swing::JComponent *);
|
94 |
|
|
public: // actually protected
|
95 |
|
|
virtual void installComponents();
|
96 |
|
|
virtual void installDefaults();
|
97 |
|
|
virtual void installKeyboardActions();
|
98 |
|
|
private:
|
99 |
|
|
::javax::swing::ActionMap * getActionMap();
|
100 |
|
|
::javax::swing::ActionMap * createDefaultActions();
|
101 |
|
|
public: // actually protected
|
102 |
|
|
virtual void installListeners();
|
103 |
|
|
virtual void installNonRolloverBorders(::javax::swing::JComponent *);
|
104 |
|
|
virtual void installNormalBorders(::javax::swing::JComponent *);
|
105 |
|
|
virtual void installRolloverBorders(::javax::swing::JComponent *);
|
106 |
|
|
private:
|
107 |
|
|
void fillHashtable();
|
108 |
|
|
public:
|
109 |
|
|
virtual void installUI(::javax::swing::JComponent *);
|
110 |
|
|
virtual jboolean isFloating();
|
111 |
|
|
virtual jboolean isRolloverBorders();
|
112 |
|
|
public: // actually protected
|
113 |
|
|
virtual void navigateFocusedComp(jint);
|
114 |
|
|
virtual void setBorderToNonRollover(::java::awt::Component *);
|
115 |
|
|
virtual void setBorderToNormal(::java::awt::Component *);
|
116 |
|
|
virtual void setBorderToRollover(::java::awt::Component *);
|
117 |
|
|
public:
|
118 |
|
|
virtual void setDockingColor(::java::awt::Color *);
|
119 |
|
|
virtual void setFloating(jboolean, ::java::awt::Point *);
|
120 |
|
|
virtual void setFloatingColor(::java::awt::Color *);
|
121 |
|
|
virtual void setFloatingLocation(jint, jint);
|
122 |
|
|
virtual void setOrientation(jint);
|
123 |
|
|
virtual void setRolloverBorders(jboolean);
|
124 |
|
|
public: // actually protected
|
125 |
|
|
virtual void uninstallComponents();
|
126 |
|
|
virtual void uninstallDefaults();
|
127 |
|
|
virtual void uninstallKeyboardActions();
|
128 |
|
|
virtual void uninstallListeners();
|
129 |
|
|
public:
|
130 |
|
|
virtual void uninstallUI(::javax::swing::JComponent *);
|
131 |
|
|
public: // actually package-private
|
132 |
|
|
static ::javax::swing::JFrame * owner;
|
133 |
|
|
private:
|
134 |
|
|
static ::javax::swing::border::Border * nonRolloverBorder;
|
135 |
|
|
static ::javax::swing::border::Border * rolloverBorder;
|
136 |
|
|
public: // actually protected
|
137 |
|
|
::java::lang::String * __attribute__((aligned(__alignof__( ::javax::swing::plaf::ToolBarUI)))) constraintBeforeFloating;
|
138 |
|
|
public: // actually package-private
|
139 |
|
|
jint lastGoodOrientation;
|
140 |
|
|
public: // actually protected
|
141 |
|
|
::java::awt::Color * dockingBorderColor;
|
142 |
|
|
::java::awt::Color * dockingColor;
|
143 |
|
|
::javax::swing::event::MouseInputListener * dockingListener;
|
144 |
|
|
::javax::swing::plaf::basic::BasicToolBarUI$DragWindow * dragWindow;
|
145 |
|
|
::java::awt::Color * floatingBorderColor;
|
146 |
|
|
::java::awt::Color * floatingColor;
|
147 |
|
|
jint focusedCompIndex;
|
148 |
|
|
::java::beans::PropertyChangeListener * propertyListener;
|
149 |
|
|
::javax::swing::JToolBar * toolBar;
|
150 |
|
|
::java::awt::event::ContainerListener * toolBarContListener;
|
151 |
|
|
::java::awt::event::FocusListener * toolBarFocusListener;
|
152 |
|
|
::javax::swing::KeyStroke * leftKey;
|
153 |
|
|
::javax::swing::KeyStroke * rightKey;
|
154 |
|
|
::javax::swing::KeyStroke * upKey;
|
155 |
|
|
::javax::swing::KeyStroke * downKey;
|
156 |
|
|
private:
|
157 |
|
|
::java::awt::Window * floatFrame;
|
158 |
|
|
public: // actually package-private
|
159 |
|
|
::java::awt::Container * origParent;
|
160 |
|
|
::java::util::Hashtable * borders;
|
161 |
|
|
private:
|
162 |
|
|
::java::awt::event::WindowListener * windowListener;
|
163 |
|
|
public: // actually package-private
|
164 |
|
|
::java::awt::Dimension * cachedBounds;
|
165 |
|
|
jint cachedOrientation;
|
166 |
|
|
public:
|
167 |
|
|
static ::java::lang::Class class$;
|
168 |
|
|
};
|
169 |
|
|
|
170 |
|
|
#endif // __javax_swing_plaf_basic_BasicToolBarUI__
|