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.
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 |
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 GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2015 aicas GmbH. All Rights Reserved.