All Packages  This Package  Class Hierarchy  Class Search  Index

Class app.util.FileDialogger
java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Dialog
                                   |
                                   +----java.awt.FileDialog
                                           |
                                           +----app.util.FileDialogger

  Summary

public class  FileDialogger
     extends java.awt.FileDialog
{
          // Fields 2
     public static final int LOAD_APP;
     public static final int LOAD_DIR;

          // Methods 4
     public static FileDialog makeFileDialog(Frame, String, int);
     public static File runFileDialog(FileDialog);
     public static File runFileDialog(Frame, String, int);

     public void show();
}

FileDialogger is a static factory class for making specialized kinds of FileDialog. It knows how to make a directory-choosing FileDialog and an app-bundle-choosing FileDialog on Mac OS or Mac OS X, under JDK 1.1, 1.3.1, or 1.4.1.

It sorta works under Mac OS 10.0, but you can't select app-bundles, so it's not very useful.

No special FileDialogs are created on other platforms.




  Fields

· LOAD_DIR

Summary  |  Top

   public static final int LOAD_DIR

Use this kind to make a FileDialog that can choose directories on Mac OS and Mac OS X.


· LOAD_APP

Summary  |  Top
   public static final int LOAD_APP

Use this kind to make a FileDialog that can choose app-bundles on Mac OS X.


  Methods

· makeFileDialog

Summary  |  Top

   public static FileDialog makeFileDialog(Frame parent, 
                                           String prompt, 
                                           int kind) 

Create a FileDialog according to given args. This is a Factory Method. It may return a FileDialog subclass.



· runFileDialog

Summary  |  Top
   public static File runFileDialog(Frame parent, 
                                    String prompt, 
                                    int kind) 

Convenience method calls makeFileDialog() followed by runFileDialog(). Returns a fully qualified File or null.



· runFileDialog

Summary  |  Top
   public static File runFileDialog(FileDialog theDialog) 

Show the FileDialog and return a fully qualified File or null.



· show

Summary  |  Top
   public void show() 

This method override may set a system property to "true" before calling super.show(), and then restore it to its prior value before returning.

This method may set system properties using System.getProperties() to retrieve the Properties instance. This has security implications for applets.

Overrides:
show in class Dialog


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7