summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/DefaultComboBoxModel.h
blob: 9c5e721f750f3b27efabd91b4029b6a63d2922bb (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_DefaultComboBoxModel__
#define __javax_swing_DefaultComboBoxModel__

#pragma interface

#include <javax/swing/AbstractListModel.h>
#include <gcj/array.h>

extern "Java"
{
  namespace javax
  {
    namespace swing
    {
        class DefaultComboBoxModel;
    }
  }
}

class javax::swing::DefaultComboBoxModel : public ::javax::swing::AbstractListModel
{

public:
  DefaultComboBoxModel();
  DefaultComboBoxModel(JArray< ::java::lang::Object * > *);
  DefaultComboBoxModel(::java::util::Vector *);
  virtual void addElement(::java::lang::Object *);
  virtual void removeElementAt(jint);
  virtual void insertElementAt(::java::lang::Object *, jint);
  virtual void removeElement(::java::lang::Object *);
  virtual void removeAllElements();
  virtual jint getSize();
  virtual void setSelectedItem(::java::lang::Object *);
  virtual ::java::lang::Object * getSelectedItem();
  virtual ::java::lang::Object * getElementAt(jint);
  virtual jint getIndexOf(::java::lang::Object *);
private:
  static const jlong serialVersionUID = 6698657703676921904LL;
  ::java::util::Vector * __attribute__((aligned(__alignof__( ::javax::swing::AbstractListModel)))) list;
  ::java::lang::Object * selectedItem;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_DefaultComboBoxModel__