Save This Page
Home » openjdk-7 » java » awt » peer » [javadoc | source]
java.awt.peer
public interface: FileDialogPeer [javadoc | source]

All Implemented Interfaces:
    DialogPeer

The peer interface for FileDialog . The peer interfaces are intended only for use in porting the AWT. They are not intended for use by application developers, and developers should not implement peers nor invoke any of the peer methods directly on the peer instances.
Method from java.awt.peer.FileDialogPeer Summary:
setDirectory,   setFile,   setFilenameFilter
Method from java.awt.peer.FileDialogPeer Detail:
 public  void setDirectory(String dir)
    Sets the current directory for this file dialog.
 public  void setFile(String file)
    Sets the selected file for this file dialog.
 public  void setFilenameFilter(FilenameFilter filter)
    Sets the filename filter for filtering the displayed files.