2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_swing_JComboBox__
5 #define __javax_swing_JComboBox__
9 #include <javax/swing/JComponent.h>
10 #include <gcj/array.h>
29 class PropertyChangeListener
;
34 namespace accessibility
36 class AccessibleContext
;
44 class JComboBox$KeySelectionManager
;
45 class ListCellRenderer
;
49 class PopupMenuListener
;
59 class javax::swing::JComboBox
: public ::javax::swing::JComponent
63 JComboBox(::javax::swing::ComboBoxModel
*);
64 JComboBox(JArray
< ::java::lang::Object
* > *);
65 JComboBox(::java::util::Vector
*);
67 virtual jboolean
isEditable();
68 public: // actually protected
69 virtual void installAncestorListener();
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();
111 virtual void firePopupMenuCanceled();
112 virtual void firePopupMenuWillBecomeInvisible();
113 virtual void firePopupMenuWillBecomeVisible();
114 public: // actually protected
115 virtual void selectedItemChanged();
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();
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();
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
;
158 ::javax::swing::Action
* action
;
159 ::java::lang::Object
* prototypeDisplayValue
;
161 static ::java::lang::Class
class$
;
164 #endif // __javax_swing_JComboBox__