1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_swing_plaf_basic_BasicFileChooserUI__
|
5 |
|
|
#define __javax_swing_plaf_basic_BasicFileChooserUI__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <javax/swing/plaf/FileChooserUI.h>
|
10 |
|
|
extern "Java"
|
11 |
|
|
{
|
12 |
|
|
namespace java
|
13 |
|
|
{
|
14 |
|
|
namespace awt
|
15 |
|
|
{
|
16 |
|
|
namespace event
|
17 |
|
|
{
|
18 |
|
|
class MouseListener;
|
19 |
|
|
}
|
20 |
|
|
}
|
21 |
|
|
namespace beans
|
22 |
|
|
{
|
23 |
|
|
class PropertyChangeListener;
|
24 |
|
|
}
|
25 |
|
|
}
|
26 |
|
|
namespace javax
|
27 |
|
|
{
|
28 |
|
|
namespace swing
|
29 |
|
|
{
|
30 |
|
|
class Action;
|
31 |
|
|
class Icon;
|
32 |
|
|
class JButton;
|
33 |
|
|
class JComponent;
|
34 |
|
|
class JFileChooser;
|
35 |
|
|
class JList;
|
36 |
|
|
class JPanel;
|
37 |
|
|
class JTextField;
|
38 |
|
|
namespace event
|
39 |
|
|
{
|
40 |
|
|
class ListSelectionListener;
|
41 |
|
|
}
|
42 |
|
|
namespace filechooser
|
43 |
|
|
{
|
44 |
|
|
class FileFilter;
|
45 |
|
|
class FileView;
|
46 |
|
|
}
|
47 |
|
|
namespace plaf
|
48 |
|
|
{
|
49 |
|
|
class ComponentUI;
|
50 |
|
|
namespace basic
|
51 |
|
|
{
|
52 |
|
|
class BasicDirectoryModel;
|
53 |
|
|
class BasicFileChooserUI;
|
54 |
|
|
class BasicFileChooserUI$ApproveSelectionAction;
|
55 |
|
|
class BasicFileChooserUI$CancelSelectionAction;
|
56 |
|
|
class BasicFileChooserUI$ChangeToParentDirectoryAction;
|
57 |
|
|
class BasicFileChooserUI$GoHomeAction;
|
58 |
|
|
class BasicFileChooserUI$NewFolderAction;
|
59 |
|
|
class BasicFileChooserUI$UpdateAction;
|
60 |
|
|
}
|
61 |
|
|
}
|
62 |
|
|
}
|
63 |
|
|
}
|
64 |
|
|
}
|
65 |
|
|
|
66 |
|
|
class javax::swing::plaf::basic::BasicFileChooserUI : public ::javax::swing::plaf::FileChooserUI
|
67 |
|
|
{
|
68 |
|
|
|
69 |
|
|
public: // actually package-private
|
70 |
|
|
virtual void closeDialog();
|
71 |
|
|
public:
|
72 |
|
|
BasicFileChooserUI(::javax::swing::JFileChooser *);
|
73 |
|
|
static ::javax::swing::plaf::ComponentUI * createUI(::javax::swing::JComponent *);
|
74 |
|
|
virtual void installUI(::javax::swing::JComponent *);
|
75 |
|
|
virtual void uninstallUI(::javax::swing::JComponent *);
|
76 |
|
|
public: // actually package-private
|
77 |
|
|
virtual void boxEntries();
|
78 |
|
|
public:
|
79 |
|
|
virtual void installComponents(::javax::swing::JFileChooser *);
|
80 |
|
|
virtual void uninstallComponents(::javax::swing::JFileChooser *);
|
81 |
|
|
public: // actually protected
|
82 |
|
|
virtual void installListeners(::javax::swing::JFileChooser *);
|
83 |
|
|
virtual void uninstallListeners(::javax::swing::JFileChooser *);
|
84 |
|
|
virtual void installDefaults(::javax::swing::JFileChooser *);
|
85 |
|
|
virtual void uninstallDefaults(::javax::swing::JFileChooser *);
|
86 |
|
|
virtual void installIcons(::javax::swing::JFileChooser *);
|
87 |
|
|
virtual void uninstallIcons(::javax::swing::JFileChooser *);
|
88 |
|
|
virtual void installStrings(::javax::swing::JFileChooser *);
|
89 |
|
|
virtual void uninstallStrings(::javax::swing::JFileChooser *);
|
90 |
|
|
virtual void createModel();
|
91 |
|
|
public:
|
92 |
|
|
virtual ::javax::swing::plaf::basic::BasicDirectoryModel * getModel();
|
93 |
|
|
virtual ::java::beans::PropertyChangeListener * createPropertyChangeListener(::javax::swing::JFileChooser *);
|
94 |
|
|
virtual ::java::lang::String * getFileName();
|
95 |
|
|
virtual ::java::lang::String * getDirectoryName();
|
96 |
|
|
virtual void setFileName(::java::lang::String *);
|
97 |
|
|
virtual void setDirectoryName(::java::lang::String *);
|
98 |
|
|
virtual void rescanCurrentDirectory(::javax::swing::JFileChooser *);
|
99 |
|
|
virtual void ensureFileIsVisible(::javax::swing::JFileChooser *, ::java::io::File *);
|
100 |
|
|
virtual ::javax::swing::JFileChooser * getFileChooser();
|
101 |
|
|
virtual ::javax::swing::JPanel * getAccessoryPanel();
|
102 |
|
|
public: // actually protected
|
103 |
|
|
virtual ::javax::swing::JButton * getApproveButton(::javax::swing::JFileChooser *);
|
104 |
|
|
public:
|
105 |
|
|
virtual ::java::lang::String * getApproveButtonToolTipText(::javax::swing::JFileChooser *);
|
106 |
|
|
virtual void clearIconCache();
|
107 |
|
|
virtual ::javax::swing::event::ListSelectionListener * createListSelectionListener(::javax::swing::JFileChooser *);
|
108 |
|
|
public: // actually protected
|
109 |
|
|
virtual ::java::awt::event::MouseListener * createDoubleClickListener(::javax::swing::JFileChooser *, ::javax::swing::JList *);
|
110 |
|
|
virtual jboolean isDirectorySelected();
|
111 |
|
|
virtual void setDirectorySelected(jboolean);
|
112 |
|
|
virtual ::java::io::File * getDirectory();
|
113 |
|
|
virtual void setDirectory(::java::io::File *);
|
114 |
|
|
public:
|
115 |
|
|
virtual ::javax::swing::filechooser::FileFilter * getAcceptAllFileFilter(::javax::swing::JFileChooser *);
|
116 |
|
|
virtual ::javax::swing::filechooser::FileView * getFileView(::javax::swing::JFileChooser *);
|
117 |
|
|
virtual ::java::lang::String * getDialogTitle(::javax::swing::JFileChooser *);
|
118 |
|
|
virtual jint getApproveButtonMnemonic(::javax::swing::JFileChooser *);
|
119 |
|
|
virtual ::java::lang::String * getApproveButtonText(::javax::swing::JFileChooser *);
|
120 |
|
|
virtual ::javax::swing::Action * getNewFolderAction();
|
121 |
|
|
virtual ::javax::swing::Action * getGoHomeAction();
|
122 |
|
|
virtual ::javax::swing::Action * getChangeToParentDirectoryAction();
|
123 |
|
|
virtual ::javax::swing::Action * getApproveSelectionAction();
|
124 |
|
|
virtual ::javax::swing::Action * getCancelSelectionAction();
|
125 |
|
|
virtual ::javax::swing::Action * getUpdateAction();
|
126 |
|
|
public: // actually package-private
|
127 |
|
|
static ::java::io::File * access$0(::javax::swing::plaf::basic::BasicFileChooserUI *);
|
128 |
|
|
static void access$1(::javax::swing::plaf::basic::BasicFileChooserUI *, ::java::io::File *);
|
129 |
|
|
public: // actually protected
|
130 |
|
|
jint __attribute__((aligned(__alignof__( ::javax::swing::plaf::FileChooserUI)))) cancelButtonMnemonic;
|
131 |
|
|
::java::lang::String * cancelButtonText;
|
132 |
|
|
::java::lang::String * cancelButtonToolTipText;
|
133 |
|
|
::javax::swing::Icon * computerIcon;
|
134 |
|
|
::javax::swing::Icon * detailsViewIcon;
|
135 |
|
|
::javax::swing::Icon * directoryIcon;
|
136 |
|
|
jint directoryOpenButtonMnemonic;
|
137 |
|
|
::java::lang::String * directoryOpenButtonText;
|
138 |
|
|
::java::lang::String * directoryOpenButtonToolTipText;
|
139 |
|
|
::javax::swing::Icon * fileIcon;
|
140 |
|
|
::javax::swing::Icon * floppyDriveIcon;
|
141 |
|
|
::javax::swing::Icon * hardDriveIcon;
|
142 |
|
|
jint helpButtonMnemonic;
|
143 |
|
|
::java::lang::String * helpButtonText;
|
144 |
|
|
::java::lang::String * helpButtonToolTipText;
|
145 |
|
|
::javax::swing::Icon * homeFolderIcon;
|
146 |
|
|
::javax::swing::Icon * listViewIcon;
|
147 |
|
|
::javax::swing::Icon * newFolderIcon;
|
148 |
|
|
jint openButtonMnemonic;
|
149 |
|
|
::java::lang::String * openButtonText;
|
150 |
|
|
::java::lang::String * openButtonToolTipText;
|
151 |
|
|
jint saveButtonMnemonic;
|
152 |
|
|
::java::lang::String * saveButtonText;
|
153 |
|
|
::java::lang::String * saveButtonToolTipText;
|
154 |
|
|
jint updateButtonMnemonic;
|
155 |
|
|
::java::lang::String * updateButtonText;
|
156 |
|
|
::java::lang::String * updateButtonToolTipText;
|
157 |
|
|
::javax::swing::Icon * upFolderIcon;
|
158 |
|
|
public: // actually package-private
|
159 |
|
|
::javax::swing::JFileChooser * filechooser;
|
160 |
|
|
::javax::swing::plaf::basic::BasicDirectoryModel * model;
|
161 |
|
|
::javax::swing::filechooser::FileFilter * acceptAll;
|
162 |
|
|
::javax::swing::filechooser::FileView * fv;
|
163 |
|
|
::javax::swing::JButton * accept;
|
164 |
|
|
::javax::swing::JPanel * accessoryPanel;
|
165 |
|
|
::java::beans::PropertyChangeListener * propertyChangeListener;
|
166 |
|
|
::java::lang::String * acceptAllFileFilterText;
|
167 |
|
|
::java::lang::String * dirDescText;
|
168 |
|
|
::java::lang::String * fileDescText;
|
169 |
|
|
jboolean dirSelected;
|
170 |
|
|
::java::io::File * currDir;
|
171 |
|
|
::javax::swing::JPanel * bottomPanel;
|
172 |
|
|
::javax::swing::JPanel * closePanel;
|
173 |
|
|
::javax::swing::JTextField * entry;
|
174 |
|
|
::java::lang::String * parentPath;
|
175 |
|
|
private:
|
176 |
|
|
::javax::swing::plaf::basic::BasicFileChooserUI$ApproveSelectionAction * approveSelectionAction;
|
177 |
|
|
::javax::swing::plaf::basic::BasicFileChooserUI$CancelSelectionAction * cancelSelectionAction;
|
178 |
|
|
::javax::swing::plaf::basic::BasicFileChooserUI$GoHomeAction * goHomeAction;
|
179 |
|
|
::javax::swing::plaf::basic::BasicFileChooserUI$ChangeToParentDirectoryAction * changeToParentDirectoryAction;
|
180 |
|
|
::javax::swing::plaf::basic::BasicFileChooserUI$NewFolderAction * newFolderAction;
|
181 |
|
|
::javax::swing::plaf::basic::BasicFileChooserUI$UpdateAction * updateAction;
|
182 |
|
|
::java::io::File * selectedDir;
|
183 |
|
|
public:
|
184 |
|
|
static ::java::lang::Class class$;
|
185 |
|
|
};
|
186 |
|
|
|
187 |
|
|
#endif // __javax_swing_plaf_basic_BasicFileChooserUI__
|