aicas logoJamaica 6.1 release 1

java.awt.peer
Interface FileDialogPeer

All Superinterfaces:
ComponentPeer, ContainerPeer, DialogPeer, WindowPeer

public interface FileDialogPeer
extends 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.


Field Summary
 
Fields inherited from interface java.awt.peer.ComponentPeer
DEFAULT_OPERATION, NO_EMBEDDED_CHECK, RESET_OPERATION, SET_BOUNDS, SET_CLIENT_SIZE, SET_LOCATION, SET_SIZE
 
Method Summary
 void setDirectory(String dir)
          Sets the current directory for this file dialog.
 void setFile(String file)
          Sets the selected file for this file dialog.
 void setFilenameFilter(FilenameFilter filter)
          Sets the filename filter for filtering the displayed files.
 
Methods inherited from interface java.awt.peer.DialogPeer
blockWindows, setResizable, setTitle
 
Methods inherited from interface java.awt.peer.WindowPeer
setAlwaysOnTop, setModalBlocked, toBack, toFront, updateFocusableWindowState, updateIconImages, updateMinimumSize
 
Methods inherited from interface java.awt.peer.ContainerPeer
beginLayout, beginValidate, endLayout, endValidate, getInsets, isRestackSupported, restack
 
Methods inherited from interface java.awt.peer.ComponentPeer
applyShape, canDetermineObscurity, checkImage, coalescePaintEvent, createBuffers, createImage, createImage, createVolatileImage, destroyBuffers, dispose, flip, getBackBuffer, getColorModel, getFontMetrics, getGraphics, getGraphicsConfiguration, getLocationOnScreen, getMinimumSize, getPreferredSize, getToolkit, handleEvent, handlesWheelScrolling, isFocusable, isObscured, isReparentSupported, layout, paint, prepareImage, print, reparent, requestFocus, setBackground, setBounds, setEnabled, setFont, setForeground, setVisible, updateCursorImmediately
 

Method Detail

setFile

void setFile(String file)
Sets the selected file for this file dialog.

Parameters:
file - the file to set as selected file, or null for no selected file
See Also:
FileDialog.setFile(String)

setDirectory

void setDirectory(String dir)
Sets the current directory for this file dialog.

Parameters:
dir - the directory to set
See Also:
FileDialog.setDirectory(String)

setFilenameFilter

void setFilenameFilter(FilenameFilter filter)
Sets the filename filter for filtering the displayed files.

Parameters:
filter - the filter to set
See Also:
FileDialog.setFilenameFilter(FilenameFilter)

aicas logoJamaica 6.1 release 1

aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2012 aicas GmbH. All Rights Reserved.