OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [javax/] [swing/] [JFileChooser.h] - Blame information for rev 759

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.