se.datadosen.component
Class MacFileChooser
java.lang.Object
se.datadosen.component.MacFileChooser
- All Implemented Interfaces:
- FileChooser
public class MacFileChooser
- extends java.lang.Object
- implements FileChooser
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MacFileChooser
public MacFileChooser(java.awt.Frame parent)
MacFileChooser
public MacFileChooser(java.awt.Dialog parent)
setCurrentDirectory
public void setCurrentDirectory(java.io.File dir)
- Specified by:
setCurrentDirectory in interface FileChooser
getCurrentDirectory
public java.io.File getCurrentDirectory()
- Specified by:
getCurrentDirectory in interface FileChooser
setSelectedFile
public void setSelectedFile(java.io.File file)
- Specified by:
setSelectedFile in interface FileChooser
getSelectedFile
public java.io.File getSelectedFile()
- Specified by:
getSelectedFile in interface FileChooser
setDialogTitle
public void setDialogTitle(java.lang.String title)
- Specified by:
setDialogTitle in interface FileChooser
showOpenDialog
public int showOpenDialog(java.awt.Component parent)
- Specified by:
showOpenDialog in interface FileChooser
showSaveDialog
public int showSaveDialog(java.awt.Component parent)
- Specified by:
showSaveDialog in interface FileChooser
setDialogType
public void setDialogType(int dialogType)
- Specified by:
setDialogType in interface FileChooser
setMultiSelectionEnabled
public void setMultiSelectionEnabled(boolean b)
- Specified by:
setMultiSelectionEnabled in interface FileChooser
setFileSelectionMode
public void setFileSelectionMode(int mode)
- Specified by:
setFileSelectionMode in interface FileChooser
addActionListener
public void addActionListener(java.awt.event.ActionListener l)
- Specified by:
addActionListener in interface FileChooser
setFileView
public void setFileView(javax.swing.filechooser.FileView fileView)
- Specified by:
setFileView in interface FileChooser
setFileFilter
public void setFileFilter(javax.swing.filechooser.FileFilter filter)
- Specified by:
setFileFilter in interface FileChooser
showDialog
public int showDialog(java.awt.Component parent,
java.lang.String approveButtonText)
throws java.awt.HeadlessException
- Specified by:
showDialog in interface FileChooser
- Throws:
java.awt.HeadlessException
getSelectedFiles
public java.io.File[] getSelectedFiles()
- Specified by:
getSelectedFiles in interface FileChooser