1. /*
  2. * @(#)FileChooserUI.java 1.11 00/02/02
  3. *
  4. * Copyright 1997-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package javax.swing.plaf;
  11. import javax.swing.JFileChooser;
  12. import javax.swing.filechooser.FileFilter;
  13. import javax.swing.filechooser.FileView;
  14. import java.io.File;
  15. /**
  16. * Pluggable look and feel interface for JFileChooser
  17. *
  18. * @version 1.11 02/02/00
  19. * @author Jeff Dinkins
  20. */
  21. public abstract class FileChooserUI extends ComponentUI
  22. {
  23. public abstract FileFilter getAcceptAllFileFilter(JFileChooser fc);
  24. public abstract FileView getFileView(JFileChooser fc);
  25. public abstract String getApproveButtonText(JFileChooser fc);
  26. public abstract String getDialogTitle(JFileChooser fc);
  27. public abstract void rescanCurrentDirectory(JFileChooser fc);
  28. public abstract void ensureFileIsVisible(JFileChooser fc, File f);
  29. }