KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > swing > plaf > FileChooserUI


1 /*
2  * @(#)FileChooserUI.java 1.19 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package javax.swing.plaf;
9
10 import javax.swing.JFileChooser JavaDoc;
11 import javax.swing.filechooser.FileFilter JavaDoc;
12 import javax.swing.filechooser.FileView JavaDoc;
13 import java.io.File JavaDoc;
14
15 /**
16  * Pluggable look and feel interface for <code>JFileChooser</code>.
17  *
18  * @version 1.19 12/19/03
19  * @author Jeff Dinkins
20  */

21
22 public abstract class FileChooserUI extends ComponentUI JavaDoc
23 {
24     public abstract FileFilter JavaDoc getAcceptAllFileFilter(JFileChooser JavaDoc fc);
25     public abstract FileView JavaDoc getFileView(JFileChooser JavaDoc fc);
26
27     public abstract String JavaDoc getApproveButtonText(JFileChooser JavaDoc fc);
28     public abstract String JavaDoc getDialogTitle(JFileChooser JavaDoc fc);
29
30     public abstract void rescanCurrentDirectory(JFileChooser JavaDoc fc);
31     public abstract void ensureFileIsVisible(JFileChooser JavaDoc fc, File JavaDoc f);
32 }
33
34
Popular Tags