1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_swing_plaf_basic_BasicComboBoxUI__
|
5 |
|
|
#define __javax_swing_plaf_basic_BasicComboBoxUI__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <javax/swing/plaf/ComboBoxUI.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 |
|
|
class LayoutManager;
|
21 |
|
|
class Rectangle;
|
22 |
|
|
namespace event
|
23 |
|
|
{
|
24 |
|
|
class FocusListener;
|
25 |
|
|
class ItemListener;
|
26 |
|
|
class KeyListener;
|
27 |
|
|
class MouseListener;
|
28 |
|
|
class MouseMotionListener;
|
29 |
|
|
}
|
30 |
|
|
}
|
31 |
|
|
namespace beans
|
32 |
|
|
{
|
33 |
|
|
class PropertyChangeListener;
|
34 |
|
|
}
|
35 |
|
|
}
|
36 |
|
|
namespace javax
|
37 |
|
|
{
|
38 |
|
|
namespace accessibility
|
39 |
|
|
{
|
40 |
|
|
class Accessible;
|
41 |
|
|
}
|
42 |
|
|
namespace swing
|
43 |
|
|
{
|
44 |
|
|
class CellRendererPane;
|
45 |
|
|
class ComboBoxEditor;
|
46 |
|
|
class JButton;
|
47 |
|
|
class JComboBox;
|
48 |
|
|
class JComponent;
|
49 |
|
|
class JList;
|
50 |
|
|
class ListCellRenderer;
|
51 |
|
|
namespace event
|
52 |
|
|
{
|
53 |
|
|
class ListDataListener;
|
54 |
|
|
}
|
55 |
|
|
namespace plaf
|
56 |
|
|
{
|
57 |
|
|
class ComponentUI;
|
58 |
|
|
namespace basic
|
59 |
|
|
{
|
60 |
|
|
class BasicComboBoxUI;
|
61 |
|
|
class ComboPopup;
|
62 |
|
|
}
|
63 |
|
|
}
|
64 |
|
|
}
|
65 |
|
|
}
|
66 |
|
|
}
|
67 |
|
|
|
68 |
|
|
class javax::swing::plaf::basic::BasicComboBoxUI : public ::javax::swing::plaf::ComboBoxUI
|
69 |
|
|
{
|
70 |
|
|
|
71 |
|
|
public:
|
72 |
|
|
BasicComboBoxUI();
|
73 |
|
|
static ::javax::swing::plaf::ComponentUI * createUI(::javax::swing::JComponent *);
|
74 |
|
|
virtual void installUI(::javax::swing::JComponent *);
|
75 |
|
|
virtual void uninstallUI(::javax::swing::JComponent *);
|
76 |
|
|
public: // actually protected
|
77 |
|
|
virtual void installDefaults();
|
78 |
|
|
virtual void installListeners();
|
79 |
|
|
virtual void uninstallDefaults();
|
80 |
|
|
virtual void uninstallListeners();
|
81 |
|
|
virtual ::javax::swing::plaf::basic::ComboPopup * createPopup();
|
82 |
|
|
virtual ::java::awt::event::KeyListener * createKeyListener();
|
83 |
|
|
virtual ::java::awt::event::FocusListener * createFocusListener();
|
84 |
|
|
virtual ::javax::swing::event::ListDataListener * createListDataListener();
|
85 |
|
|
virtual ::java::awt::event::ItemListener * createItemListener();
|
86 |
|
|
virtual ::java::beans::PropertyChangeListener * createPropertyChangeListener();
|
87 |
|
|
virtual ::java::awt::LayoutManager * createLayoutManager();
|
88 |
|
|
virtual ::javax::swing::ListCellRenderer * createRenderer();
|
89 |
|
|
virtual ::javax::swing::ComboBoxEditor * createEditor();
|
90 |
|
|
virtual void installComponents();
|
91 |
|
|
virtual void uninstallComponents();
|
92 |
|
|
public:
|
93 |
|
|
virtual void addEditor();
|
94 |
|
|
virtual void removeEditor();
|
95 |
|
|
public: // actually protected
|
96 |
|
|
virtual void configureEditor();
|
97 |
|
|
virtual void unconfigureEditor();
|
98 |
|
|
public:
|
99 |
|
|
virtual void configureArrowButton();
|
100 |
|
|
virtual void unconfigureArrowButton();
|
101 |
|
|
public: // actually protected
|
102 |
|
|
virtual ::javax::swing::JButton * createArrowButton();
|
103 |
|
|
public:
|
104 |
|
|
virtual jboolean isPopupVisible(::javax::swing::JComboBox *);
|
105 |
|
|
virtual void setPopupVisible(::javax::swing::JComboBox *, jboolean);
|
106 |
|
|
virtual jboolean isFocusTraversable(::javax::swing::JComboBox *);
|
107 |
|
|
virtual void paint(::java::awt::Graphics *, ::javax::swing::JComponent *);
|
108 |
|
|
virtual ::java::awt::Dimension * getPreferredSize(::javax::swing::JComponent *);
|
109 |
|
|
virtual ::java::awt::Dimension * getMinimumSize(::javax::swing::JComponent *);
|
110 |
|
|
virtual ::java::awt::Dimension * getMaximumSize(::javax::swing::JComponent *);
|
111 |
|
|
virtual jint getAccessibleChildrenCount(::javax::swing::JComponent *);
|
112 |
|
|
virtual ::javax::accessibility::Accessible * getAccessibleChild(::javax::swing::JComponent *, jint);
|
113 |
|
|
public: // actually protected
|
114 |
|
|
virtual jboolean isNavigationKey(jint);
|
115 |
|
|
virtual void selectNextPossibleValue();
|
116 |
|
|
virtual void selectPreviousPossibleValue();
|
117 |
|
|
virtual void toggleOpenClose();
|
118 |
|
|
virtual ::java::awt::Rectangle * rectangleForCurrentValue();
|
119 |
|
|
virtual ::java::awt::Insets * getInsets();
|
120 |
|
|
public:
|
121 |
|
|
virtual void paintCurrentValue(::java::awt::Graphics *, ::java::awt::Rectangle *, jboolean);
|
122 |
|
|
virtual void paintCurrentValueBackground(::java::awt::Graphics *, ::java::awt::Rectangle *, jboolean);
|
123 |
|
|
public: // actually protected
|
124 |
|
|
virtual ::java::awt::Dimension * getDefaultSize();
|
125 |
|
|
virtual ::java::awt::Dimension * getDisplaySize();
|
126 |
|
|
virtual void installKeyboardActions();
|
127 |
|
|
virtual void uninstallKeyboardActions();
|
128 |
|
|
::javax::swing::JButton * __attribute__((aligned(__alignof__( ::javax::swing::plaf::ComboBoxUI)))) arrowButton;
|
129 |
|
|
::javax::swing::JComboBox * comboBox;
|
130 |
|
|
::java::awt::Component * editor;
|
131 |
|
|
::java::awt::event::FocusListener * focusListener;
|
132 |
|
|
jboolean hasFocus;
|
133 |
|
|
::java::awt::event::ItemListener * itemListener;
|
134 |
|
|
::java::awt::event::KeyListener * keyListener;
|
135 |
|
|
::javax::swing::JList * listBox;
|
136 |
|
|
::javax::swing::event::ListDataListener * listDataListener;
|
137 |
|
|
::javax::swing::plaf::basic::ComboPopup * popup;
|
138 |
|
|
::java::awt::event::KeyListener * popupKeyListener;
|
139 |
|
|
::java::awt::event::MouseListener * popupMouseListener;
|
140 |
|
|
::java::awt::event::MouseMotionListener * popupMouseMotionListener;
|
141 |
|
|
::java::beans::PropertyChangeListener * propertyChangeListener;
|
142 |
|
|
public: // actually package-private
|
143 |
|
|
::java::awt::Dimension * displaySize;
|
144 |
|
|
public: // actually protected
|
145 |
|
|
::javax::swing::CellRendererPane * currentValuePane;
|
146 |
|
|
::java::awt::Dimension * cachedMinimumSize;
|
147 |
|
|
jboolean isMinimumSizeDirty;
|
148 |
|
|
private:
|
149 |
|
|
static ::javax::swing::ListCellRenderer * DEFAULT_RENDERER;
|
150 |
|
|
public:
|
151 |
|
|
static ::java::lang::Class class$;
|
152 |
|
|
};
|
153 |
|
|
|
154 |
|
|
#endif // __javax_swing_plaf_basic_BasicComboBoxUI__
|