DefaultComboBoxModel.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_DefaultComboBoxModel__
  3. #define __javax_swing_DefaultComboBoxModel__
  4. #pragma interface
  5. #include <javax/swing/AbstractListModel.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace javax
  10. {
  11. namespace swing
  12. {
  13. class DefaultComboBoxModel;
  14. }
  15. }
  16. }
  17. class javax::swing::DefaultComboBoxModel : public ::javax::swing::AbstractListModel
  18. {
  19. public:
  20. DefaultComboBoxModel();
  21. DefaultComboBoxModel(JArray< ::java::lang::Object * > *);
  22. DefaultComboBoxModel(::java::util::Vector *);
  23. virtual void addElement(::java::lang::Object *);
  24. virtual void removeElementAt(jint);
  25. virtual void insertElementAt(::java::lang::Object *, jint);
  26. virtual void removeElement(::java::lang::Object *);
  27. virtual void removeAllElements();
  28. virtual jint getSize();
  29. virtual void setSelectedItem(::java::lang::Object *);
  30. virtual ::java::lang::Object * getSelectedItem();
  31. virtual ::java::lang::Object * getElementAt(jint);
  32. virtual jint getIndexOf(::java::lang::Object *);
  33. private:
  34. static const jlong serialVersionUID = 6698657703676921904LL;
  35. ::java::util::Vector * __attribute__((aligned(__alignof__( ::javax::swing::AbstractListModel)))) list;
  36. ::java::lang::Object * selectedItem;
  37. public:
  38. static ::java::lang::Class class$;
  39. };
  40. #endif // __javax_swing_DefaultComboBoxModel__