1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_awt_List__
|
5 |
|
|
#define __java_awt_List__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/awt/Component.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace java
|
15 |
|
|
{
|
16 |
|
|
namespace awt
|
17 |
|
|
{
|
18 |
|
|
class AWTEvent;
|
19 |
|
|
class Dimension;
|
20 |
|
|
class List;
|
21 |
|
|
namespace event
|
22 |
|
|
{
|
23 |
|
|
class ActionEvent;
|
24 |
|
|
class ActionListener;
|
25 |
|
|
class ItemEvent;
|
26 |
|
|
class ItemListener;
|
27 |
|
|
}
|
28 |
|
|
}
|
29 |
|
|
}
|
30 |
|
|
namespace javax
|
31 |
|
|
{
|
32 |
|
|
namespace accessibility
|
33 |
|
|
{
|
34 |
|
|
class AccessibleContext;
|
35 |
|
|
}
|
36 |
|
|
}
|
37 |
|
|
}
|
38 |
|
|
|
39 |
|
|
class java::awt::List : public ::java::awt::Component
|
40 |
|
|
{
|
41 |
|
|
|
42 |
|
|
public:
|
43 |
|
|
List();
|
44 |
|
|
List(jint);
|
45 |
|
|
List(jint, jboolean);
|
46 |
|
|
virtual jint getItemCount();
|
47 |
|
|
virtual jint countItems();
|
48 |
|
|
virtual JArray< ::java::lang::String * > * getItems();
|
49 |
|
|
virtual ::java::lang::String * getItem(jint);
|
50 |
|
|
virtual jint getRows();
|
51 |
|
|
virtual jboolean isMultipleMode();
|
52 |
|
|
virtual jboolean allowsMultipleSelections();
|
53 |
|
|
virtual void setMultipleMode(jboolean);
|
54 |
|
|
virtual void setMultipleSelections(jboolean);
|
55 |
|
|
virtual ::java::awt::Dimension * getMinimumSize();
|
56 |
|
|
virtual ::java::awt::Dimension * minimumSize();
|
57 |
|
|
virtual ::java::awt::Dimension * getMinimumSize(jint);
|
58 |
|
|
virtual ::java::awt::Dimension * minimumSize(jint);
|
59 |
|
|
virtual ::java::awt::Dimension * getPreferredSize();
|
60 |
|
|
virtual ::java::awt::Dimension * preferredSize();
|
61 |
|
|
virtual ::java::awt::Dimension * getPreferredSize(jint);
|
62 |
|
|
virtual ::java::awt::Dimension * preferredSize(jint);
|
63 |
|
|
virtual void add(::java::lang::String *);
|
64 |
|
|
virtual void addItem(::java::lang::String *);
|
65 |
|
|
virtual void add(::java::lang::String *, jint);
|
66 |
|
|
virtual void addItem(::java::lang::String *, jint);
|
67 |
|
|
virtual void delItem(jint);
|
68 |
|
|
virtual void remove(jint);
|
69 |
|
|
virtual void delItems(jint, jint);
|
70 |
|
|
virtual void remove(::java::lang::String *);
|
71 |
|
|
virtual void removeAll();
|
72 |
|
|
virtual void clear();
|
73 |
|
|
virtual void replaceItem(::java::lang::String *, jint);
|
74 |
|
|
virtual jint getSelectedIndex();
|
75 |
|
|
virtual JArray< jint > * getSelectedIndexes();
|
76 |
|
|
virtual ::java::lang::String * getSelectedItem();
|
77 |
|
|
virtual JArray< ::java::lang::String * > * getSelectedItems();
|
78 |
|
|
virtual JArray< ::java::lang::Object * > * getSelectedObjects();
|
79 |
|
|
virtual jboolean isIndexSelected(jint);
|
80 |
|
|
virtual jboolean isSelected(jint);
|
81 |
|
|
virtual void makeVisible(jint);
|
82 |
|
|
virtual jint getVisibleIndex();
|
83 |
|
|
virtual void select(jint);
|
84 |
|
|
virtual void deselect(jint);
|
85 |
|
|
virtual void addNotify();
|
86 |
|
|
virtual void removeNotify();
|
87 |
|
|
virtual void addActionListener(::java::awt::event::ActionListener *);
|
88 |
|
|
virtual void removeActionListener(::java::awt::event::ActionListener *);
|
89 |
|
|
virtual void addItemListener(::java::awt::event::ItemListener *);
|
90 |
|
|
virtual void removeItemListener(::java::awt::event::ItemListener *);
|
91 |
|
|
public: // actually protected
|
92 |
|
|
virtual void processEvent(::java::awt::AWTEvent *);
|
93 |
|
|
virtual void processActionEvent(::java::awt::event::ActionEvent *);
|
94 |
|
|
virtual void processItemEvent(::java::awt::event::ItemEvent *);
|
95 |
|
|
public: // actually package-private
|
96 |
|
|
virtual void dispatchEventImpl(::java::awt::AWTEvent *);
|
97 |
|
|
public: // actually protected
|
98 |
|
|
virtual ::java::lang::String * paramString();
|
99 |
|
|
public:
|
100 |
|
|
virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
|
101 |
|
|
virtual JArray< ::java::awt::event::ActionListener * > * getActionListeners();
|
102 |
|
|
virtual JArray< ::java::awt::event::ItemListener * > * getItemListeners();
|
103 |
|
|
virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
|
104 |
|
|
public: // actually package-private
|
105 |
|
|
virtual ::java::lang::String * generateName();
|
106 |
|
|
private:
|
107 |
|
|
static jlong getUniqueLong();
|
108 |
|
|
static jlong next_list_number;
|
109 |
|
|
static const jlong serialVersionUID = -3304312411574666869LL;
|
110 |
|
|
::java::util::Vector * __attribute__((aligned(__alignof__( ::java::awt::Component)))) items;
|
111 |
|
|
jboolean multipleMode;
|
112 |
|
|
jint rows;
|
113 |
|
|
JArray< jint > * selected;
|
114 |
|
|
jint visibleIndex;
|
115 |
|
|
::java::awt::event::ItemListener * item_listeners;
|
116 |
|
|
::java::awt::event::ActionListener * action_listeners;
|
117 |
|
|
public:
|
118 |
|
|
static ::java::lang::Class class$;
|
119 |
|
|
};
|
120 |
|
|
|
121 |
|
|
#endif // __java_awt_List__
|