1. /*
  2. * @(#)FileChooserUI.java 1.10 01/11/29
  3. *
  4. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package javax.swing.plaf;
  8. import javax.swing.JFileChooser;
  9. import javax.swing.filechooser.FileFilter;
  10. import javax.swing.filechooser.FileView;
  11. import java.io.File;
  12. /**
  13. * Pluggable look and feel interface for JFileChooser
  14. *
  15. * @version 1.10 11/29/01
  16. * @author Jeff Dinkins
  17. */
  18. public abstract class FileChooserUI extends ComponentUI
  19. {
  20. public abstract FileFilter getAcceptAllFileFilter(JFileChooser fc);
  21. public abstract FileView getFileView(JFileChooser fc);
  22. public abstract String getApproveButtonText(JFileChooser fc);
  23. public abstract String getDialogTitle(JFileChooser fc);
  24. public abstract void rescanCurrentDirectory(JFileChooser fc);
  25. public abstract void ensureFileIsVisible(JFileChooser fc, File f);
  26. }