Merged gcj-eclipse branch to trunk.
[official-gcc.git] / libjava / javax / swing / DefaultListModel.h
blob67ca91bdc518c3c9b6d17657bd795384f0928a2a
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_swing_DefaultListModel__
5 #define __javax_swing_DefaultListModel__
7 #pragma interface
9 #include <javax/swing/AbstractListModel.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace javax
16 namespace swing
18 class DefaultListModel;
23 class javax::swing::DefaultListModel : public ::javax::swing::AbstractListModel
26 public:
27 DefaultListModel();
28 virtual ::java::lang::Object * elementAt(jint);
29 virtual ::java::lang::String * toString();
30 virtual jint indexOf(::java::lang::Object *);
31 virtual jint indexOf(::java::lang::Object *, jint);
32 virtual jint lastIndexOf(::java::lang::Object *);
33 virtual jint lastIndexOf(::java::lang::Object *, jint);
34 virtual ::java::lang::Object * get(jint);
35 virtual ::java::lang::Object * set(jint, ::java::lang::Object *);
36 virtual void add(jint, ::java::lang::Object *);
37 virtual void addElement(::java::lang::Object *);
38 virtual jint size();
39 virtual JArray< ::java::lang::Object * > * toArray();
40 virtual jboolean contains(::java::lang::Object *);
41 virtual void copyInto(JArray< ::java::lang::Object * > *);
42 virtual void clear();
43 virtual ::java::lang::Object * remove(jint);
44 virtual jboolean isEmpty();
45 virtual ::java::util::Enumeration * elements();
46 virtual void trimToSize();
47 virtual void ensureCapacity(jint);
48 virtual void setSize(jint);
49 virtual jint capacity();
50 virtual ::java::lang::Object * firstElement();
51 virtual ::java::lang::Object * lastElement();
52 virtual void setElementAt(::java::lang::Object *, jint);
53 virtual void removeElementAt(jint);
54 virtual void insertElementAt(::java::lang::Object *, jint);
55 virtual jboolean removeElement(::java::lang::Object *);
56 virtual void removeAllElements();
57 virtual void removeRange(jint, jint);
58 virtual jint getSize();
59 virtual ::java::lang::Object * getElementAt(jint);
60 private:
61 static const jlong serialVersionUID = 2315945659722172272LL;
62 ::java::util::Vector * __attribute__((aligned(__alignof__( ::javax::swing::AbstractListModel)))) elements__;
63 public:
64 static ::java::lang::Class class$;
67 #endif // __javax_swing_DefaultListModel__