summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/plaf/basic/BasicToolBarUI.h
blob: 3b3c149781822efaba92ba1602a1e9177eed29b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_plaf_basic_BasicToolBarUI__
#define __javax_swing_plaf_basic_BasicToolBarUI__

#pragma interface

#include <javax/swing/plaf/ToolBarUI.h>
extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Color;
        class Component;
        class Container;
        class Dimension;
        class Point;
        class Window;
      namespace event
      {
          class ContainerListener;
          class FocusListener;
          class WindowListener;
      }
    }
    namespace beans
    {
        class PropertyChangeListener;
    }
  }
  namespace javax
  {
    namespace swing
    {
        class ActionMap;
        class JComponent;
        class JFrame;
        class JToolBar;
        class KeyStroke;
        class RootPaneContainer;
      namespace border
      {
          class Border;
      }
      namespace event
      {
          class MouseInputListener;
      }
      namespace plaf
      {
          class ComponentUI;
        namespace basic
        {
            class BasicToolBarUI;
            class BasicToolBarUI$DragWindow;
        }
      }
    }
  }
}

class javax::swing::plaf::basic::BasicToolBarUI : public ::javax::swing::plaf::ToolBarUI
{

public:
  BasicToolBarUI();
  virtual jboolean canDock(::java::awt::Component *, ::java::awt::Point *);
private:
  jint areaOfClick(::java::awt::Component *, ::java::awt::Point *);
public: // actually protected
  virtual ::javax::swing::event::MouseInputListener * createDockingListener();
  virtual ::javax::swing::plaf::basic::BasicToolBarUI$DragWindow * createDragWindow(::javax::swing::JToolBar *);
  virtual ::javax::swing::JFrame * createFloatingFrame(::javax::swing::JToolBar *);
  virtual ::javax::swing::RootPaneContainer * createFloatingWindow(::javax::swing::JToolBar *);
  virtual ::java::awt::event::WindowListener * createFrameListener();
  virtual ::javax::swing::border::Border * createNonRolloverBorder();
  virtual ::java::beans::PropertyChangeListener * createPropertyListener();
  virtual ::javax::swing::border::Border * createRolloverBorder();
  virtual ::java::awt::event::ContainerListener * createToolBarContListener();
  virtual ::java::awt::event::FocusListener * createToolBarFocusListener();
public:
  static ::javax::swing::plaf::ComponentUI * createUI(::javax::swing::JComponent *);
public: // actually protected
  virtual void dragTo(::java::awt::Point *, ::java::awt::Point *);
  virtual void floatAt(::java::awt::Point *, ::java::awt::Point *);
public:
  virtual ::java::awt::Color * getDockingColor();
  virtual ::java::awt::Color * getFloatingColor();
  virtual ::java::awt::Dimension * getMaximumSize(::javax::swing::JComponent *);
  virtual ::java::awt::Dimension * getMinimumSize(::javax::swing::JComponent *);
public: // actually protected
  virtual void installComponents();
  virtual void installDefaults();
  virtual void installKeyboardActions();
private:
  ::javax::swing::ActionMap * getActionMap();
  ::javax::swing::ActionMap * createDefaultActions();
public: // actually protected
  virtual void installListeners();
  virtual void installNonRolloverBorders(::javax::swing::JComponent *);
  virtual void installNormalBorders(::javax::swing::JComponent *);
  virtual void installRolloverBorders(::javax::swing::JComponent *);
private:
  void fillHashtable();
public:
  virtual void installUI(::javax::swing::JComponent *);
  virtual jboolean isFloating();
  virtual jboolean isRolloverBorders();
public: // actually protected
  virtual void navigateFocusedComp(jint);
  virtual void setBorderToNonRollover(::java::awt::Component *);
  virtual void setBorderToNormal(::java::awt::Component *);
  virtual void setBorderToRollover(::java::awt::Component *);
public:
  virtual void setDockingColor(::java::awt::Color *);
  virtual void setFloating(jboolean, ::java::awt::Point *);
  virtual void setFloatingColor(::java::awt::Color *);
  virtual void setFloatingLocation(jint, jint);
  virtual void setOrientation(jint);
  virtual void setRolloverBorders(jboolean);
public: // actually protected
  virtual void uninstallComponents();
  virtual void uninstallDefaults();
  virtual void uninstallKeyboardActions();
  virtual void uninstallListeners();
public:
  virtual void uninstallUI(::javax::swing::JComponent *);
public: // actually package-private
  static ::javax::swing::JFrame * owner;
private:
  static ::javax::swing::border::Border * nonRolloverBorder;
  static ::javax::swing::border::Border * rolloverBorder;
public: // actually protected
  ::java::lang::String * __attribute__((aligned(__alignof__( ::javax::swing::plaf::ToolBarUI)))) constraintBeforeFloating;
public: // actually package-private
  jint lastGoodOrientation;
public: // actually protected
  ::java::awt::Color * dockingBorderColor;
  ::java::awt::Color * dockingColor;
  ::javax::swing::event::MouseInputListener * dockingListener;
  ::javax::swing::plaf::basic::BasicToolBarUI$DragWindow * dragWindow;
  ::java::awt::Color * floatingBorderColor;
  ::java::awt::Color * floatingColor;
  jint focusedCompIndex;
  ::java::beans::PropertyChangeListener * propertyListener;
  ::javax::swing::JToolBar * toolBar;
  ::java::awt::event::ContainerListener * toolBarContListener;
  ::java::awt::event::FocusListener * toolBarFocusListener;
  ::javax::swing::KeyStroke * leftKey;
  ::javax::swing::KeyStroke * rightKey;
  ::javax::swing::KeyStroke * upKey;
  ::javax::swing::KeyStroke * downKey;
private:
  ::java::awt::Window * floatFrame;
public: // actually package-private
  ::java::awt::Container * origParent;
  ::java::util::Hashtable * borders;
private:
  ::java::awt::event::WindowListener * windowListener;
public: // actually package-private
  ::java::awt::Dimension * cachedBounds;
  jint cachedOrientation;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_plaf_basic_BasicToolBarUI__