2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_swing_DefaultListModel__
5 #define __javax_swing_DefaultListModel__
9 #include <javax/swing/AbstractListModel.h>
10 #include <gcj/array.h>
18 class DefaultListModel
;
23 class javax::swing::DefaultListModel
: public ::javax::swing::AbstractListModel
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
*);
39 virtual JArray
< ::java::lang::Object
* > * toArray();
40 virtual jboolean
contains(::java::lang::Object
*);
41 virtual void copyInto(JArray
< ::java::lang::Object
* > *);
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
);
61 static const jlong serialVersionUID
= 2315945659722172272LL;
62 ::java::util::Vector
* __attribute__((aligned(__alignof__( ::javax::swing::AbstractListModel
)))) elements__
;
64 static ::java::lang::Class
class$
;
67 #endif // __javax_swing_DefaultListModel__