Interface SystemFileChooser.ApproveCallback
- Enclosing class:
SystemFileChooser
public static interface SystemFileChooser.ApproveCallback
- Since:
- 3.7
-
Method Summary
Modifier and TypeMethodDescriptionintapprove(File[] selectedFiles, SystemFileChooser.ApproveContext context)
-
Method Details
-
approve
- Parameters:
selectedFiles- one or more selected filescontext- context object that provides additional methods- Returns:
- If the callback returns
SystemFileChooser.CANCEL_OPTION, then the file dialog stays open. If it returnsSystemFileChooser.APPROVE_OPTION(or any other value other thanSystemFileChooser.CANCEL_OPTION), the file dialog is closed and theshow...Dialog()methods return that value.
-