Package de.tum.cit.ase.maze.utils
Class FixedDesktopFileChooser
java.lang.Object
de.tum.cit.ase.maze.utils.FixedDesktopFileChooser
- All Implemented Interfaces:
games.spooky.gdx.nativefilechooser.NativeFileChooser
public class FixedDesktopFileChooser
extends Object
implements games.spooky.gdx.nativefilechooser.NativeFileChooser
The FixedDesktopFileChooser class is an implementation of the NativeFileChooser interface that uses
the NativeFileDialog library for choosing files on desktop platforms.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
chooseFile
(games.spooky.gdx.nativefilechooser.NativeFileChooserConfiguration configuration, games.spooky.gdx.nativefilechooser.NativeFileChooserCallback callback) Choose a file using the NativeFileDialog library.
-
Constructor Details
-
FixedDesktopFileChooser
public FixedDesktopFileChooser()
-
-
Method Details
-
chooseFile
public void chooseFile(games.spooky.gdx.nativefilechooser.NativeFileChooserConfiguration configuration, games.spooky.gdx.nativefilechooser.NativeFileChooserCallback callback) Choose a file using the NativeFileDialog library.- Specified by:
chooseFile
in interfacegames.spooky.gdx.nativefilechooser.NativeFileChooser
- Parameters:
configuration
- The configuration for the file chooser.callback
- The callback to handle the result of the file chooser.
-