1 /* JFileChooser.java --
2    Copyright (C) 2002 Free Software Foundation, Inc.
3 
4 This file is part of GNU Classpath.
5 
6 GNU Classpath is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
10 
11 GNU Classpath is distributed in the hope that it will be useful, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 General Public License for more details.
15 
16 You should have received a copy of the GNU General Public License
17 along with GNU Classpath; see the file COPYING.  If not, write to the
18 Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
19 02111-1307 USA.
20 
21 Linking this library statically or dynamically with other modules is
22 making a combined work based on this library.  Thus, the terms and
23 conditions of the GNU General Public License cover the whole
24 combination.
25 
26 As a special exception, the copyright holders of this library give you
27 permission to link this library with independent modules to produce an
28 executable, regardless of the license terms of these independent
29 modules, and to copy and distribute the resulting executable under
30 terms of your choice, provided that you also meet, for each linked
31 independent module, the terms and conditions of the license of that
32 module.  An independent module is a module which is not derived from
33 or based on this library.  If you modify this library, you may extend
34 this exception to your version of the library, but you are not
35 obligated to do so.  If you do not wish to do so, delete this
36 exception statement from your version. */
37 
38 
39 package javax.swing;
40 
41 import java.awt.Component;
42 import java.awt.event.ActionListener;
43 import java.io.File;
44 import java.io.IOException;
45 import java.io.ObjectOutputStream;
46 import java.util.Vector;
47 import javax.accessibility.Accessible;
48 import javax.accessibility.AccessibleContext;
49 import javax.accessibility.AccessibleRole;
50 import javax.swing.filechooser.FileFilter;
51 import javax.swing.filechooser.FileSystemView;
52 import javax.swing.filechooser.FileView;
53 import javax.swing.plaf.FileChooserUI;
54 
55 /**
56  * JFileChooser
57  * @author	Andrew Selkirk
58  * @version	1.0
59  */
60 public class JFileChooser extends JComponent implements Accessible {
61 
62 	//-------------------------------------------------------------
63 	// Classes ----------------------------------------------------
64 	//-------------------------------------------------------------
65 
66 	/**
67 	 * AccessibleJFileChooser
68 	 */
69 	protected class AccessibleJFileChooser extends AccessibleJComponent {
70 
71 		//-------------------------------------------------------------
72 		// Variables --------------------------------------------------
73 		//-------------------------------------------------------------
74 
75 
76 		//-------------------------------------------------------------
77 		// Initialization ---------------------------------------------
78 		//-------------------------------------------------------------
79 
80 		/**
81 		 * Constructor AccessibleJFileChooser
82 		 * @param component TODO
83 		 */
AccessibleJFileChooser(JFileChooser component)84 		protected AccessibleJFileChooser(JFileChooser component) {
85 			super(component);
86 			// TODO
87 		} // AccessibleJFileChooser()
88 
89 
90 		//-------------------------------------------------------------
91 		// Methods ----------------------------------------------------
92 		//-------------------------------------------------------------
93 
94 		/**
95 		 * getAccessibleRole
96 		 * @returns AccessibleRole
97 		 */
getAccessibleRole()98 		public AccessibleRole getAccessibleRole() {
99 			return AccessibleRole.FILE_CHOOSER;
100 		} // getAccessibleRole()
101 
102 
103 	} // AccessibleJFileChooser
104 
105 
106 	//-------------------------------------------------------------
107 	// Variables --------------------------------------------------
108 	//-------------------------------------------------------------
109 
110 	/**
111 	 * uiClassID
112 	 */
113 	private static final String uiClassID = "FileChooserUI";
114 
115 	/**
116 	 * OPEN_DIALOG
117 	 */
118 	public static final int OPEN_DIALOG = 0;
119 
120 	/**
121 	 * SAVE_DIALOG
122 	 */
123 	public static final int SAVE_DIALOG = 1;
124 
125 	/**
126 	 * CUSTOM_DIALOG
127 	 */
128 	public static final int CUSTOM_DIALOG = 2;
129 
130 	/**
131 	 * CANCEL_OPTION
132 	 */
133 	public static final int CANCEL_OPTION = 1;
134 
135 	/**
136 	 * APPROVE_OPTION
137 	 */
138 	public static final int APPROVE_OPTION = 0;
139 
140 	/**
141 	 * ERROR_OPTION
142 	 */
143 	public static final int ERROR_OPTION = -1;
144 
145 	/**
146 	 * FILES_ONLY
147 	 */
148 	public static final int FILES_ONLY = 0;
149 
150 	/**
151 	 * DIRECTORIES_ONLY
152 	 */
153 	public static final int DIRECTORIES_ONLY = 1;
154 
155 	/**
156 	 * FILES_AND_DIRECTORIES
157 	 */
158 	public static final int FILES_AND_DIRECTORIES = 2;
159 
160 	/**
161 	 * CANCEL_SELECTION
162 	 */
163 	public static final String CANCEL_SELECTION = "CancelSelection";
164 
165 	/**
166 	 * APPROVE_SELECTION
167 	 */
168 	public static final String APPROVE_SELECTION = "ApproveSelection";
169 
170 	/**
171 	 * APPROVE_BUTTON_TEXT_CHANGED_PROPERTY
172 	 */
173 	public static final String APPROVE_BUTTON_TEXT_CHANGED_PROPERTY = "ApproveButtonTextChangedProperty";
174 
175 	/**
176 	 * APPROVE_BUTTON_TOOL_TIP_TEXT_CHANGED_PROPERTY
177 	 */
178 	public static final String APPROVE_BUTTON_TOOL_TIP_TEXT_CHANGED_PROPERTY = "ApproveButtonToolTipTextChangedProperty";
179 
180 	/**
181 	 * APPROVE_BUTTON_MNEMONIC_CHANGED_PROPERTY
182 	 */
183 	public static final String APPROVE_BUTTON_MNEMONIC_CHANGED_PROPERTY = "ApproveButtonMnemonicChangedProperty";
184 
185 	/**
186 	 * CONTROL_BUTTONS_ARE_SHOWN_CHANGED_PROPERTY
187 	 */
188 	public static final String CONTROL_BUTTONS_ARE_SHOWN_CHANGED_PROPERTY = "ControlButtonsAreShownChangedProperty";
189 
190 	/**
191 	 * DIRECTORY_CHANGED_PROPERTY
192 	 */
193 	public static final String DIRECTORY_CHANGED_PROPERTY = "directoryChanged";
194 
195 	/**
196 	 * SELECTED_FILE_CHANGED_PROPERTY
197 	 */
198 	public static final String SELECTED_FILE_CHANGED_PROPERTY = "SelectedFileChangedProperty";
199 
200 	/**
201 	 * SELECTED_FILES_CHANGED_PROPERTY
202 	 */
203 	public static final String SELECTED_FILES_CHANGED_PROPERTY = "SelectedFilesChangedProperty";
204 
205 	/**
206 	 * MULTI_SELECTION_ENABLED_CHANGED_PROPERTY
207 	 */
208 	public static final String MULTI_SELECTION_ENABLED_CHANGED_PROPERTY = "MultiSelectionEnabledChangedProperty";
209 
210 	/**
211 	 * FILE_SYSTEM_VIEW_CHANGED_PROPERTY
212 	 */
213 	public static final String FILE_SYSTEM_VIEW_CHANGED_PROPERTY = "FileSystemViewChanged";
214 
215 	/**
216 	 * FILE_VIEW_CHANGED_PROPERTY
217 	 */
218 	public static final String FILE_VIEW_CHANGED_PROPERTY = "fileViewChanged";
219 
220 	/**
221 	 * FILE_HIDING_CHANGED_PROPERTY
222 	 */
223 	public static final String FILE_HIDING_CHANGED_PROPERTY = "FileHidingChanged";
224 
225 	/**
226 	 * FILE_FILTER_CHANGED_PROPERTY
227 	 */
228 	public static final String FILE_FILTER_CHANGED_PROPERTY = "fileFilterChanged";
229 
230 	/**
231 	 * FILE_SELECTION_MODE_CHANGED_PROPERTY
232 	 */
233 	public static final String FILE_SELECTION_MODE_CHANGED_PROPERTY = "fileSelectionChanged";
234 
235 	/**
236 	 * ACCESSORY_CHANGED_PROPERTY
237 	 */
238 	public static final String ACCESSORY_CHANGED_PROPERTY = "AccessoryChangedProperty";
239 
240 	/**
241 	 * ACCEPT_ALL_FILE_FILTER_USED_CHANGED_PROPERTY
242 	 */
243 	public static final String ACCEPT_ALL_FILE_FILTER_USED_CHANGED_PROPERTY = "acceptAllFileFilterUsedChanged";
244 
245 	/**
246 	 * DIALOG_TITLE_CHANGED_PROPERTY
247 	 */
248 	public static final String DIALOG_TITLE_CHANGED_PROPERTY = "DialogTitleChangedProperty";
249 
250 	/**
251 	 * DIALOG_TYPE_CHANGED_PROPERTY
252 	 */
253 	public static final String DIALOG_TYPE_CHANGED_PROPERTY = "DialogTypeChangedProperty";
254 
255 	/**
256 	 * CHOOSABLE_FILE_FILTER_CHANGED_PROPERTY
257 	 */
258 	public static final String CHOOSABLE_FILE_FILTER_CHANGED_PROPERTY = "ChoosableFileFilterChangedProperty";
259 
260 	/**
261 	 * dialogTitle
262 	 */
263 	private String dialogTitle;
264 
265 	/**
266 	 * approveButtonText
267 	 */
268 	private String approveButtonText;
269 
270 	/**
271 	 * approveButtonToolTipText
272 	 */
273 	private String approveButtonToolTipText;
274 
275 	/**
276 	 * approveButtonMnemonic
277 	 */
278 	private int approveButtonMnemonic;
279 
280 	/**
281 	 * actionListener
282 	 */
283 	private ActionListener actionListener;
284 
285 	/**
286 	 * filters
287 	 */
288 	private Vector filters;
289 
290 	/**
291 	 * dialog
292 	 */
293 	private JDialog dialog;
294 
295 	/**
296 	 * dialogType
297 	 */
298 	private int dialogType;
299 
300 	/**
301 	 * returnValue
302 	 */
303 	private int returnValue;
304 
305 	/**
306 	 * accessory
307 	 */
308 	private JComponent accessory;
309 
310 	/**
311 	 * fileView
312 	 */
313 	private FileView fileView;
314 
315 	/**
316 	 * uiFileView
317 	 */
318 	private FileView uiFileView;
319 
320 	/**
321 	 * controlsShown
322 	 */
323 	private boolean controlsShown;
324 
325 	/**
326 	 * useFileHiding
327 	 */
328 	private boolean useFileHiding;
329 
330 	/**
331 	 * fileSelectionMode
332 	 */
333 	private int fileSelectionMode;
334 
335 	/**
336 	 * multiSelectionEnabled
337 	 */
338 	private boolean multiSelectionEnabled;
339 
340 	/**
341 	 * useAcceptAllFileFilter
342 	 */
343 	private boolean useAcceptAllFileFilter;
344 
345 	/**
346 	 * fileFilter
347 	 */
348 	private FileFilter fileFilter;
349 
350 	/**
351 	 * fileSystemView
352 	 */
353 	private FileSystemView fileSystemView;
354 
355 	/**
356 	 * currentDirectory
357 	 */
358 	private File currentDirectory;
359 
360 	/**
361 	 * selectedFile
362 	 */
363 	private File selectedFile;
364 
365 	/**
366 	 * selectedFiles
367 	 */
368 	private File[] selectedFiles;
369 
370 	/**
371 	 * accessibleContext
372 	 */
373 	protected AccessibleContext accessibleContext;
374 
375 
376 	//-------------------------------------------------------------
377 	// Initialization ---------------------------------------------
378 	//-------------------------------------------------------------
379 
380 	/**
381 	 * Constructor JFileChooser
382 	 */
JFileChooser()383 	public JFileChooser() {
384 		// TODO
385 	} // JFileChooser()
386 
387 	/**
388 	 * Constructor JFileChooser
389 	 * @param currentDirectoryPath TODO
390 	 */
JFileChooser(String currentDirectoryPath)391 	public JFileChooser(String currentDirectoryPath) {
392 		// TODO
393 	} // JFileChooser()
394 
395 	/**
396 	 * Constructor JFileChooser
397 	 * @param currentDirectory TODO
398 	 */
JFileChooser(File currentDirectory)399 	public JFileChooser(File currentDirectory) {
400 		// TODO
401 	} // JFileChooser()
402 
403 	/**
404 	 * Constructor JFileChooser
405 	 * @param value0 TODO
406 	 */
JFileChooser(FileSystemView fsv)407 	public JFileChooser(FileSystemView fsv) {
408 		// TODO
409 	} // JFileChooser()
410 
411 	/**
412 	 * Constructor JFileChooser
413 	 * @param currentDirectory TODO
414 	 * @param fsv TODO
415 	 */
JFileChooser(File currentDirectory, FileSystemView fsv)416 	public JFileChooser(File currentDirectory, FileSystemView fsv) {
417 		// TODO
418 	} // JFileChooser()
419 
420 	/**
421 	 * Constructor JFileChooser
422 	 * @param currentDirectoryPath TODO
423 	 * @param fsv TODO
424 	 */
JFileChooser(String currentDirectoryPath, FileSystemView fsv)425 	public JFileChooser(String currentDirectoryPath, FileSystemView fsv) {
426 		// TODO
427 	} // JFileChooser()
428 
429 
430 	//-------------------------------------------------------------
431 	// Methods ----------------------------------------------------
432 	//-------------------------------------------------------------
433 
434 	/**
435 	 * writeObject
436 	 * @param stream TODO
437 	 * @exception IOException TODO
438 	 */
writeObject(ObjectOutputStream stream)439 	private void writeObject(ObjectOutputStream stream) throws IOException {
440 		// TODO
441 	} // writeObject()
442 
443 	/**
444 	 * getName
445 	 * @param file TODO
446 	 * @returns String
447 	 */
getName(File file)448 	public String getName(File file) {
449 		return null; // TODO
450 	} // getName()
451 
452 	/**
453 	 * setup
454 	 * @param view TODO
455 	 */
setup(FileSystemView view)456 	protected void setup(FileSystemView view) {
457 		// TODO
458 	} // setup()
459 
460 	/**
461 	 * accept
462 	 * @param file TODO
463 	 * @returns boolean
464 	 */
accept(File file)465 	public boolean accept(File file) {
466 		return false; // TODO
467 	} // accept()
468 
469 	/**
470 	 * getSelectedFile
471 	 * @returns File
472 	 */
getSelectedFile()473 	public File getSelectedFile() {
474 		return null; // TODO
475 	} // getSelectedFile()
476 
477 	/**
478 	 * setSelectedFile
479 	 * @param file TODO
480 	 */
setSelectedFile(File file)481 	public void setSelectedFile(File file) {
482 		// TODO
483 	} // setSelectedFile()
484 
485 	/**
486 	 * getSelectedFiles
487 	 * @returns File[]
488 	 */
getSelectedFiles()489 	public File[] getSelectedFiles() {
490 		return null; // TODO
491 	} // getSelectedFiles()
492 
493 	/**
494 	 * setSelectedFiles
495 	 * @param files TODO
496 	 */
setSelectedFiles(File[] files)497 	public void setSelectedFiles(File[] files) {
498 		// TODO
499 	} // setSelectedFiles()
500 
501 	/**
502 	 * getCurrentDirectory
503 	 * @returns File
504 	 */
getCurrentDirectory()505 	public File getCurrentDirectory() {
506 		return null; // TODO
507 	} // getCurrentDirectory()
508 
509 	/**
510 	 * setCurrentDirectory
511 	 * @param directory TODO
512 	 */
setCurrentDirectory(File directory)513 	public void setCurrentDirectory(File directory) {
514 		// TODO
515 	} // setCurrentDirectory()
516 
517 	/**
518 	 * changeToParentDirectory
519 	 */
changeToParentDirectory()520 	public void changeToParentDirectory() {
521 		// TODO
522 	} // changeToParentDirectory()
523 
524 	/**
525 	 * rescanCurrentDirectory
526 	 */
rescanCurrentDirectory()527 	public void rescanCurrentDirectory() {
528 		// TODO
529 	} // rescanCurrentDirectory()
530 
531 	/**
532 	 * ensureFileIsVisible
533 	 * @param file TODO
534 	 */
ensureFileIsVisible(File file)535 	public void ensureFileIsVisible(File file) {
536 		// TODO
537 	} // ensureFileIsVisible()
538 
539 	/**
540 	 * showOpenDialog
541 	 * @param parent TODO
542 	 * @returns int
543 	 */
showOpenDialog(Component parent)544 	public int showOpenDialog(Component parent) {
545 		return 0; // TODO
546 	} // showOpenDialog()
547 
548 	/**
549 	 * showSaveDialog
550 	 * @param parent TODO
551 	 * @returns int
552 	 */
showSaveDialog(Component parent)553 	public int showSaveDialog(Component parent) {
554 		return 0; // TODO
555 	} // showSaveDialog()
556 
557 	/**
558 	 * showDialog
559 	 * @param parent TODO
560 	 * @param approveButtonText TODO
561 	 * @returns int
562 	 */
showDialog(Component parent, String approveButtonText)563 	public int showDialog(Component parent, String approveButtonText) {
564 		return 0; // TODO
565 	} // showDialog()
566 
567 	/**
568 	 * getControlButtonsAreShown
569 	 * @returns boolean
570 	 */
getControlButtonsAreShown()571 	public boolean getControlButtonsAreShown() {
572 		return false; // TODO
573 	} // getControlButtonsAreShown()
574 
575 	/**
576 	 * setControlButtonsAreShown
577 	 * @param value TODO
578 	 */
setControlButtonsAreShown(boolean value)579 	public void setControlButtonsAreShown(boolean value) {
580 		// TODO
581 	} // setControlButtonsAreShown()
582 
583 	/**
584 	 * getDialogType
585 	 * @returns int
586 	 */
getDialogType()587 	public int getDialogType() {
588 		return 0; // TODO
589 	} // getDialogType()
590 
591 	/**
592 	 * setDialogType
593 	 * @param type TODO
594 	 */
setDialogType(int type)595 	public void setDialogType(int type) {
596 		// TODO
597 	} // setDialogType()
598 
599 	/**
600 	 * setDialogTitle
601 	 * @param title TODO
602 	 */
setDialogTitle(String title)603 	public void setDialogTitle(String title) {
604 		// TODO
605 	} // setDialogTitle()
606 
607 	/**
608 	 * getDialogTitle
609 	 * @returns String
610 	 */
getDialogTitle()611 	public String getDialogTitle() {
612 		return null; // TODO
613 	} // getDialogTitle()
614 
615 	/**
616 	 * setApproveButtonToolTipText
617 	 * @param text TODO
618 	 */
setApproveButtonToolTipText(String text)619 	public void setApproveButtonToolTipText(String text) {
620 		// TODO
621 	} // setApproveButtonToolTipText()
622 
623 	/**
624 	 * getApproveButtonToolTipText
625 	 * @returns String
626 	 */
getApproveButtonToolTipText()627 	public String getApproveButtonToolTipText() {
628 		return null; // TODO
629 	} // getApproveButtonToolTipText()
630 
631 	/**
632 	 * getApproveButtonMnemonic
633 	 * @returns int
634 	 */
getApproveButtonMnemonic()635 	public int getApproveButtonMnemonic() {
636 		return 0; // TODO
637 	} // getApproveButtonMnemonic()
638 
639 	/**
640 	 * setApproveButtonMnemonic
641 	 * @param mnemonic TODO
642 	 */
setApproveButtonMnemonic(int mnemonic)643 	public void setApproveButtonMnemonic(int mnemonic) {
644 		// TODO
645 	} // setApproveButtonMnemonic()
646 
647 	/**
648 	 * setApproveButtonMnemonic
649 	 * @param mnemonic TODO
650 	 */
setApproveButtonMnemonic(char mnemonic)651 	public void setApproveButtonMnemonic(char mnemonic) {
652 		// TODO
653 	} // setApproveButtonMnemonic()
654 
655 	/**
656 	 * setApproveButtonText
657 	 * @param text TODO
658 	 */
setApproveButtonText(String text)659 	public void setApproveButtonText(String text) {
660 		// TODO
661 	} // setApproveButtonText()
662 
663 	/**
664 	 * getApproveButtonText
665 	 * @returns String
666 	 */
getApproveButtonText()667 	public String getApproveButtonText() {
668 		return null; // TODO
669 	} // getApproveButtonText()
670 
671 	/**
672 	 * getChoosableFileFilters
673 	 * @returns FileFilter[]
674 	 */
getChoosableFileFilters()675 	public FileFilter[] getChoosableFileFilters() {
676 		return null; // TODO
677 	} // getChoosableFileFilters()
678 
679 	/**
680 	 * addChoosableFileFilter
681 	 * @param filter TODO
682 	 */
addChoosableFileFilter(FileFilter filter)683 	public void addChoosableFileFilter(FileFilter filter) {
684 		// TODO
685 	} // addChoosableFileFilter()
686 
687 	/**
688 	 * removeChoosableFileFilter
689 	 * @param filter TODO
690 	 * @returns boolean
691 	 */
removeChoosableFileFilter(FileFilter filter)692 	public boolean removeChoosableFileFilter(FileFilter filter) {
693 		return false; // TODO
694 	} // removeChoosableFileFilter()
695 
696 	/**
697 	 * resetChoosableFileFilters
698 	 */
resetChoosableFileFilters()699 	public void resetChoosableFileFilters() {
700 		// TODO
701 	} // resetChoosableFileFilters()
702 
703 	/**
704 	 * getAcceptAllFileFilter
705 	 * @returns FileFilter
706 	 */
getAcceptAllFileFilter()707 	public FileFilter getAcceptAllFileFilter() {
708 		return null; // TODO
709 	} // getAcceptAllFileFilter()
710 
711 	/**
712 	 * isAcceptAllFileFilterUsed
713 	 * @returns boolean
714 	 */
isAcceptAllFileFilterUsed()715 	public boolean isAcceptAllFileFilterUsed() {
716 		return false; // TODO
717 	} // isAcceptAllFileFilterUsed()
718 
719 	/**
720 	 * setAcceptAllFileFilterUsed
721 	 * @param value TODO
722 	 */
setAcceptAllFileFilterUsed(boolean value)723 	public void setAcceptAllFileFilterUsed(boolean value) {
724 		// TODO
725 	} // setAcceptAllFileFilterUsed()
726 
727 	/**
728 	 * getAccessory
729 	 * @returns JComponent
730 	 */
getAccessory()731 	public JComponent getAccessory() {
732 		return null; // TODO
733 	} // getAccessory()
734 
735 	/**
736 	 * setAccessory
737 	 * @param accessory TODO
738 	 */
setAccessory(JComponent accessory)739 	public void setAccessory(JComponent accessory) {
740 		// TODO
741 	} // setAccessory()
742 
743 	/**
744 	 * setFileSelectionMode
745 	 * @param mode TODO
746 	 */
setFileSelectionMode(int mode)747 	public void setFileSelectionMode(int mode) {
748 		// TODO
749 	} // setFileSelectionMode()
750 
751 	/**
752 	 * getFileSelectionMode
753 	 * @returns int
754 	 */
getFileSelectionMode()755 	public int getFileSelectionMode() {
756 		return 0; // TODO
757 	} // getFileSelectionMode()
758 
759 	/**
760 	 * isFileSelectionEnabled
761 	 * @returns boolean
762 	 */
isFileSelectionEnabled()763 	public boolean isFileSelectionEnabled() {
764 		return false; // TODO
765 	} // isFileSelectionEnabled()
766 
767 	/**
768 	 * isDirectorySelectionEnabled
769 	 * @returns boolean
770 	 */
isDirectorySelectionEnabled()771 	public boolean isDirectorySelectionEnabled() {
772 		return false; // TODO
773 	} // isDirectorySelectionEnabled()
774 
775 	/**
776 	 * isMultiSelectionEnabled
777 	 * @returns boolean
778 	 */
isMultiSelectionEnabled()779 	public boolean isMultiSelectionEnabled() {
780 		return false; // TODO
781 	} // isMultiSelectionEnabled()
782 
783 	/**
784 	 * setMultiSelectionEnabled
785 	 * @param enabled TODO
786 	 */
setMultiSelectionEnabled(boolean enabled)787 	public void setMultiSelectionEnabled(boolean enabled) {
788 		// TODO
789 	} // setMultiSelectionEnabled()
790 
791 	/**
792 	 * isFileHidingEnabled
793 	 * @returns boolean
794 	 */
isFileHidingEnabled()795 	public boolean isFileHidingEnabled() {
796 		return false; // TODO
797 	} // isFileHidingEnabled()
798 
799 	/**
800 	 * setFileHidingEnabled
801 	 * @param enabled TODO
802 	 */
setFileHidingEnabled(boolean enabled)803 	public void setFileHidingEnabled(boolean enabled) {
804 		// TODO
805 	} // setFileHidingEnabled()
806 
807 	/**
808 	 * getFileFilter
809 	 * @returns FileFilter
810 	 */
getFileFilter()811 	public FileFilter getFileFilter() {
812 		return null; // TODO
813 	} // getFileFilter()
814 
815 	/**
816 	 * setFileFilter
817 	 * @param filter TODO
818 	 */
setFileFilter(FileFilter filter)819 	public void setFileFilter(FileFilter filter) {
820 		// TODO
821 	} // setFileFilter()
822 
823 	/**
824 	 * getFileView
825 	 * @returns FileView
826 	 */
getFileView()827 	public FileView getFileView() {
828 		return null; // TODO
829 	} // getFileView()
830 
831 	/**
832 	 * setFileView
833 	 * @param view TODO
834 	 */
setFileView(FileView view)835 	public void setFileView(FileView view) {
836 		// TODO
837 	} // setFileView()
838 
839 	/**
840 	 * getDescription
841 	 * @param file TODO
842 	 * @returns String
843 	 */
getDescription(File file)844 	public String getDescription(File file) {
845 		return null; // TODO
846 	} // getDescription()
847 
848 	/**
849 	 * getTypeDescription
850 	 * @param file TODO
851 	 * @returns String
852 	 */
getTypeDescription(File file)853 	public String getTypeDescription(File file) {
854 		return null; // TODO
855 	} // getTypeDescription()
856 
857 	/**
858 	 * getIcon
859 	 * @param file TODO
860 	 * @returns Icon
861 	 */
getIcon(File file)862 	public Icon getIcon(File file) {
863 		return null; // TODO
864 	} // getIcon()
865 
866 	/**
867 	 * isTraversable
868 	 * @param file TODO
869 	 * @returns boolean
870 	 */
isTraversable(File file)871 	public boolean isTraversable(File file) {
872 		return false; // TODO
873 	} // isTraversable()
874 
875 	/**
876 	 * getFileSystemView
877 	 * @returns FileSystemView
878 	 */
getFileSystemView()879 	public FileSystemView getFileSystemView() {
880 		return null; // TODO
881 	} // getFileSystemView()
882 
883 	/**
884 	 * setFileSystemView
885 	 * @param fsv TODO
886 	 */
setFileSystemView(FileSystemView fsv)887 	public void setFileSystemView(FileSystemView fsv) {
888 		// TODO
889 	} // setFileSystemView()
890 
891 	/**
892 	 * approveSelection
893 	 */
approveSelection()894 	public void approveSelection() {
895 		// TODO
896 	} // approveSelection()
897 
898 	/**
899 	 * cancelSelection
900 	 */
cancelSelection()901 	public void cancelSelection() {
902 		// TODO
903 	} // cancelSelection()
904 
905 	/**
906 	 * addActionListener
907 	 * @param listener TODO
908 	 */
addActionListener(ActionListener listener)909 	public void addActionListener(ActionListener listener) {
910 		// TODO
911 	} // addActionListener()
912 
913 	/**
914 	 * removeActionListener
915 	 * @param listener TODO
916 	 */
removeActionListener(ActionListener listener)917 	public void removeActionListener(ActionListener listener) {
918 		// TODO
919 	} // removeActionListener()
920 
921 	/**
922 	 * fireActionPerformed
923 	 * @param command TODO
924 	 */
fireActionPerformed(String command)925 	protected void fireActionPerformed(String command) {
926 		// TODO
927 	} // fireActionPerformed()
928 
929 	/**
930 	 * updateUI
931 	 */
updateUI()932 	public void updateUI() {
933 		setUI((FileChooserUI) UIManager.get(this));
934 		invalidate();
935 	} // updateUI()
936 
937 	/**
938 	 * getUIClassID
939 	 * @returns String
940 	 */
getUIClassID()941 	public String getUIClassID() {
942 		return uiClassID;
943 	} // getUIClassID()
944 
945 	/**
946 	 * getUI
947 	 * @returns FileChooserUI
948 	 */
getUI()949 	public FileChooserUI getUI() {
950 		return (FileChooserUI) ui;
951 	} // getUI()
952 
953 	/**
954 	 * paramString
955 	 * @returns String
956 	 */
paramString()957 	protected String paramString() {
958 		return null; // TODO
959 	} // paramString()
960 
961 	/**
962 	 * getAccessibleContext
963 	 * @returns AccessibleContext
964 	 */
getAccessibleContext()965 	public AccessibleContext getAccessibleContext() {
966 		if (accessibleContext == null) {
967 			accessibleContext = new AccessibleJFileChooser(this);
968 		} // if
969 		return accessibleContext;
970 	} // getAccessibleContext()
971 
972 
973 } // JFileChooser
974