Daily bump.
[official-gcc.git] / libjava / javax / swing / JComboBox.h
blobef9f7147c792244502449d8429237ae0d69a1574
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_swing_JComboBox__
5 #define __javax_swing_JComboBox__
7 #pragma interface
9 #include <javax/swing/JComponent.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace java
16 namespace awt
18 namespace event
20 class ActionEvent;
21 class ActionListener;
22 class ItemEvent;
23 class ItemListener;
24 class KeyEvent;
27 namespace beans
29 class PropertyChangeListener;
32 namespace javax
34 namespace accessibility
36 class AccessibleContext;
38 namespace swing
40 class Action;
41 class ComboBoxEditor;
42 class ComboBoxModel;
43 class JComboBox;
44 class JComboBox$KeySelectionManager;
45 class ListCellRenderer;
46 namespace event
48 class ListDataEvent;
49 class PopupMenuListener;
51 namespace plaf
53 class ComboBoxUI;
59 class javax::swing::JComboBox : public ::javax::swing::JComponent
62 public:
63 JComboBox(::javax::swing::ComboBoxModel *);
64 JComboBox(JArray< ::java::lang::Object * > *);
65 JComboBox(::java::util::Vector *);
66 JComboBox();
67 virtual jboolean isEditable();
68 public: // actually protected
69 virtual void installAncestorListener();
70 public:
71 virtual void setUI(::javax::swing::plaf::ComboBoxUI *);
72 virtual void updateUI();
73 virtual ::java::lang::String * getUIClassID();
74 virtual ::javax::swing::plaf::ComboBoxUI * getUI();
75 virtual void setModel(::javax::swing::ComboBoxModel *);
76 virtual ::javax::swing::ComboBoxModel * getModel();
77 virtual void setLightWeightPopupEnabled(jboolean);
78 virtual jboolean isLightWeightPopupEnabled();
79 virtual void setEditable(jboolean);
80 virtual void setMaximumRowCount(jint);
81 virtual jint getMaximumRowCount();
82 virtual void setRenderer(::javax::swing::ListCellRenderer *);
83 virtual ::javax::swing::ListCellRenderer * getRenderer();
84 virtual void setEditor(::javax::swing::ComboBoxEditor *);
85 virtual ::javax::swing::ComboBoxEditor * getEditor();
86 virtual void setSelectedItem(::java::lang::Object *);
87 virtual ::java::lang::Object * getSelectedItem();
88 virtual void setSelectedIndex(jint);
89 virtual jint getSelectedIndex();
90 virtual ::java::lang::Object * getPrototypeDisplayValue();
91 virtual void setPrototypeDisplayValue(::java::lang::Object *);
92 virtual void addItem(::java::lang::Object *);
93 virtual void insertItemAt(::java::lang::Object *, jint);
94 virtual void removeItem(::java::lang::Object *);
95 virtual void removeItemAt(jint);
96 virtual void removeAllItems();
97 virtual void showPopup();
98 virtual void hidePopup();
99 virtual void setPopupVisible(jboolean);
100 virtual jboolean isPopupVisible();
101 virtual void setActionCommand(::java::lang::String *);
102 virtual ::java::lang::String * getActionCommand();
103 virtual void setAction(::javax::swing::Action *);
104 virtual ::javax::swing::Action * getAction();
105 public: // actually protected
106 virtual void configurePropertiesFromAction(::javax::swing::Action *);
107 virtual ::java::beans::PropertyChangeListener * createActionPropertyChangeListener(::javax::swing::Action *);
108 virtual void fireItemStateChanged(::java::awt::event::ItemEvent *);
109 virtual void fireActionEvent();
110 public:
111 virtual void firePopupMenuCanceled();
112 virtual void firePopupMenuWillBecomeInvisible();
113 virtual void firePopupMenuWillBecomeVisible();
114 public: // actually protected
115 virtual void selectedItemChanged();
116 public:
117 virtual JArray< ::java::lang::Object * > * getSelectedObjects();
118 virtual void actionPerformed(::java::awt::event::ActionEvent *);
119 virtual jboolean selectWithKeyChar(jchar);
120 virtual void intervalAdded(::javax::swing::event::ListDataEvent *);
121 virtual void intervalRemoved(::javax::swing::event::ListDataEvent *);
122 virtual void contentsChanged(::javax::swing::event::ListDataEvent *);
123 virtual void setEnabled(jboolean);
124 virtual void configureEditor(::javax::swing::ComboBoxEditor *, ::java::lang::Object *);
125 virtual void processKeyEvent(::java::awt::event::KeyEvent *);
126 virtual void setKeySelectionManager(::javax::swing::JComboBox$KeySelectionManager *);
127 virtual ::javax::swing::JComboBox$KeySelectionManager * getKeySelectionManager();
128 virtual jint getItemCount();
129 virtual ::java::lang::Object * getItemAt(jint);
130 public: // actually protected
131 virtual ::javax::swing::JComboBox$KeySelectionManager * createDefaultKeySelectionManager();
132 virtual ::java::lang::String * paramString();
133 public:
134 virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
135 virtual void addActionListener(::java::awt::event::ActionListener *);
136 virtual void removeActionListener(::java::awt::event::ActionListener *);
137 virtual JArray< ::java::awt::event::ActionListener * > * getActionListeners();
138 virtual void addItemListener(::java::awt::event::ItemListener *);
139 virtual void removeItemListener(::java::awt::event::ItemListener *);
140 virtual JArray< ::java::awt::event::ItemListener * > * getItemListeners();
141 virtual void addPopupMenuListener(::javax::swing::event::PopupMenuListener *);
142 virtual void removePopupMenuListener(::javax::swing::event::PopupMenuListener *);
143 virtual JArray< ::javax::swing::event::PopupMenuListener * > * getPopupMenuListeners();
144 private:
145 static const jlong serialVersionUID = 5654585963292734470LL;
146 static const jint DEFAULT_MAXIMUM_ROW_COUNT = 8;
147 public: // actually protected
148 ::javax::swing::ComboBoxModel * __attribute__((aligned(__alignof__( ::javax::swing::JComponent)))) dataModel;
149 ::javax::swing::ListCellRenderer * renderer;
150 ::javax::swing::ComboBoxEditor * editor;
151 jint maximumRowCount;
152 jboolean isEditable__;
153 ::java::lang::Object * selectedItemReminder;
154 ::javax::swing::JComboBox$KeySelectionManager * keySelectionManager;
155 ::java::lang::String * actionCommand;
156 jboolean lightWeightPopupEnabled;
157 private:
158 ::javax::swing::Action * action;
159 ::java::lang::Object * prototypeDisplayValue;
160 public:
161 static ::java::lang::Class class$;
164 #endif // __javax_swing_JComboBox__