blob: d9418e25228d36a5d60bf218f91763a1e923b047 (
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __javax_swing_JFileChooser__
#define __javax_swing_JFileChooser__
#pragma interface
#include <javax/swing/JComponent.h>
#include <gcj/array.h>
extern "Java"
{
namespace java
{
namespace awt
{
class Component;
namespace event
{
class ActionListener;
}
}
}
namespace javax
{
namespace accessibility
{
class AccessibleContext;
}
namespace swing
{
class Icon;
class JComponent;
class JDialog;
class JFileChooser;
namespace filechooser
{
class FileFilter;
class FileSystemView;
class FileView;
}
namespace plaf
{
class FileChooserUI;
}
}
}
}
class javax::swing::JFileChooser : public ::javax::swing::JComponent
{
public:
JFileChooser();
JFileChooser(::java::lang::String *);
JFileChooser(::java::lang::String *, ::javax::swing::filechooser::FileSystemView *);
JFileChooser(::java::io::File *);
JFileChooser(::javax::swing::filechooser::FileSystemView *);
JFileChooser(::java::io::File *, ::javax::swing::filechooser::FileSystemView *);
public: // actually protected
virtual void setup(::javax::swing::filechooser::FileSystemView *);
public:
virtual void setDragEnabled(jboolean);
virtual jboolean getDragEnabled();
virtual ::java::io::File * getSelectedFile();
virtual void setSelectedFile(::java::io::File *);
virtual JArray< ::java::io::File * > * getSelectedFiles();
virtual void setSelectedFiles(JArray< ::java::io::File * > *);
virtual ::java::io::File * getCurrentDirectory();
virtual void setCurrentDirectory(::java::io::File *);
virtual void changeToParentDirectory();
virtual void rescanCurrentDirectory();
virtual void ensureFileIsVisible(::java::io::File *);
virtual jint showOpenDialog(::java::awt::Component *);
virtual jint showSaveDialog(::java::awt::Component *);
virtual jint showDialog(::java::awt::Component *, ::java::lang::String *);
public: // actually protected
virtual ::javax::swing::JDialog * createDialog(::java::awt::Component *);
public:
virtual jboolean getControlButtonsAreShown();
virtual void setControlButtonsAreShown(jboolean);
virtual jint getDialogType();
virtual void setDialogType(jint);
virtual void setDialogTitle(::java::lang::String *);
virtual ::java::lang::String * getDialogTitle();
virtual void setApproveButtonToolTipText(::java::lang::String *);
virtual ::java::lang::String * getApproveButtonToolTipText();
virtual jint getApproveButtonMnemonic();
virtual void setApproveButtonMnemonic(jint);
virtual void setApproveButtonMnemonic(jchar);
virtual void setApproveButtonText(::java::lang::String *);
virtual ::java::lang::String * getApproveButtonText();
virtual JArray< ::javax::swing::filechooser::FileFilter * > * getChoosableFileFilters();
virtual void addChoosableFileFilter(::javax::swing::filechooser::FileFilter *);
virtual jboolean removeChoosableFileFilter(::javax::swing::filechooser::FileFilter *);
virtual void resetChoosableFileFilters();
virtual ::javax::swing::filechooser::FileFilter * getAcceptAllFileFilter();
virtual jboolean isAcceptAllFileFilterUsed();
virtual void setAcceptAllFileFilterUsed(jboolean);
virtual ::javax::swing::JComponent * getAccessory();
virtual void setAccessory(::javax::swing::JComponent *);
virtual void setFileSelectionMode(jint);
virtual jint getFileSelectionMode();
virtual jboolean isFileSelectionEnabled();
virtual jboolean isDirectorySelectionEnabled();
virtual void setMultiSelectionEnabled(jboolean);
virtual jboolean isMultiSelectionEnabled();
virtual jboolean isFileHidingEnabled();
virtual void setFileHidingEnabled(jboolean);
virtual void setFileFilter(::javax::swing::filechooser::FileFilter *);
virtual ::javax::swing::filechooser::FileFilter * getFileFilter();
virtual void setFileView(::javax::swing::filechooser::FileView *);
virtual ::javax::swing::filechooser::FileView * getFileView();
virtual ::java::lang::String * getName(::java::io::File *);
virtual ::java::lang::String * getDescription(::java::io::File *);
virtual ::java::lang::String * getTypeDescription(::java::io::File *);
virtual ::javax::swing::Icon * getIcon(::java::io::File *);
virtual jboolean isTraversable(::java::io::File *);
virtual jboolean accept(::java::io::File *);
virtual void setFileSystemView(::javax::swing::filechooser::FileSystemView *);
virtual ::javax::swing::filechooser::FileSystemView * getFileSystemView();
virtual void approveSelection();
virtual void cancelSelection();
virtual void addActionListener(::java::awt::event::ActionListener *);
virtual void removeActionListener(::java::awt::event::ActionListener *);
virtual JArray< ::java::awt::event::ActionListener * > * getActionListeners();
public: // actually protected
virtual void fireActionPerformed(::java::lang::String *);
public:
virtual void updateUI();
virtual ::java::lang::String * getUIClassID();
virtual ::javax::swing::plaf::FileChooserUI * getUI();
public: // actually protected
virtual ::java::lang::String * paramString();
public:
virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
private:
static const jlong serialVersionUID = 3162921138695327837LL;
public:
static const jint OPEN_DIALOG = 0;
static const jint SAVE_DIALOG = 1;
static const jint CUSTOM_DIALOG = 2;
static const jint CANCEL_OPTION = 1;
static const jint APPROVE_OPTION = 0;
static const jint ERROR_OPTION = -1;
static const jint FILES_ONLY = 0;
static const jint DIRECTORIES_ONLY = 1;
static const jint FILES_AND_DIRECTORIES = 2;
static ::java::lang::String * CANCEL_SELECTION;
static ::java::lang::String * APPROVE_SELECTION;
static ::java::lang::String * APPROVE_BUTTON_TEXT_CHANGED_PROPERTY;
static ::java::lang::String * APPROVE_BUTTON_TOOL_TIP_TEXT_CHANGED_PROPERTY;
static ::java::lang::String * APPROVE_BUTTON_MNEMONIC_CHANGED_PROPERTY;
static ::java::lang::String * CONTROL_BUTTONS_ARE_SHOWN_CHANGED_PROPERTY;
static ::java::lang::String * DIRECTORY_CHANGED_PROPERTY;
static ::java::lang::String * SELECTED_FILE_CHANGED_PROPERTY;
static ::java::lang::String * SELECTED_FILES_CHANGED_PROPERTY;
static ::java::lang::String * MULTI_SELECTION_ENABLED_CHANGED_PROPERTY;
static ::java::lang::String * FILE_SYSTEM_VIEW_CHANGED_PROPERTY;
static ::java::lang::String * FILE_VIEW_CHANGED_PROPERTY;
static ::java::lang::String * FILE_HIDING_CHANGED_PROPERTY;
static ::java::lang::String * FILE_FILTER_CHANGED_PROPERTY;
static ::java::lang::String * FILE_SELECTION_MODE_CHANGED_PROPERTY;
static ::java::lang::String * ACCESSORY_CHANGED_PROPERTY;
static ::java::lang::String * ACCEPT_ALL_FILE_FILTER_USED_CHANGED_PROPERTY;
static ::java::lang::String * DIALOG_TITLE_CHANGED_PROPERTY;
static ::java::lang::String * DIALOG_TYPE_CHANGED_PROPERTY;
static ::java::lang::String * CHOOSABLE_FILE_FILTER_CHANGED_PROPERTY;
public: // actually protected
::javax::accessibility::AccessibleContext * __attribute__((aligned(__alignof__( ::javax::swing::JComponent)))) accessibleContext;
private:
::javax::swing::filechooser::FileSystemView * fsv;
::javax::swing::JComponent * accessory;
jint approveButtonMnemonic;
::java::lang::String * approveButtonText;
::java::lang::String * approveButtonToolTipText;
::java::util::ArrayList * choosableFilters;
jboolean isAcceptAll;
::java::lang::String * dialogTitle;
jint dialogType;
jint retval;
jboolean multiSelection;
jboolean fileHiding;
jint fileSelectionMode;
::javax::swing::filechooser::FileView * fv;
jboolean controlButtonsShown;
::java::io::File * currentDir;
::javax::swing::filechooser::FileFilter * currentFilter;
JArray< ::java::io::File * > * selectedFiles;
::java::io::File * selectedFile;
jboolean dragEnabled;
public:
static ::java::lang::Class class$;
};
#endif // __javax_swing_JFileChooser__
|