public interface FileDialogPeer extends DialogPeer
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.DEFAULT_OPERATION, NO_EMBEDDED_CHECK, RESET_OPERATION, SET_BOUNDS, SET_CLIENT_SIZE, SET_LOCATION, SET_SIZE
Modifier and Type | Method and Description |
---|---|
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.
|
blockWindows, setResizable, setTitle
repositionSecurityWarning, setModalBlocked, setOpacity, setOpaque, toBack, toFront, updateAlwaysOnTopState, updateFocusableWindowState, updateIconImages, updateMinimumSize, updateWindow
beginLayout, beginValidate, endLayout, endValidate, getInsets
applyShape, canDetermineObscurity, checkImage, coalescePaintEvent, createBuffers, createImage, createImage, createVolatileImage, destroyBuffers, dispose, flip, getBackBuffer, getColorModel, getFontMetrics, getGraphics, getGraphicsConfiguration, getLocationOnScreen, getMinimumSize, getPreferredSize, handleEvent, handlesWheelScrolling, isFocusable, isObscured, isReparentSupported, layout, paint, prepareImage, print, reparent, requestFocus, setBackground, setBounds, setEnabled, setFont, setForeground, setVisible, setZOrder, updateCursorImmediately, updateGraphicsData
void setFile(String file)
file
- the file to set as selected file, or null
for
no selected fileFileDialog.setFile(String)
void setDirectory(String dir)
dir
- the directory to setFileDialog.setDirectory(String)
void setFilenameFilter(FilenameFilter filter)
filter
- the filter to setFileDialog.setFilenameFilter(FilenameFilter)
Dracula Javadoc Sample, Made with Allan Im.