Class NativeFileDialog

java.lang.Object
org.lwjgl.util.nfd.NativeFileDialog

public class NativeFileDialog extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    void NFD_ClearError(void)
    static void
    NFD_FreePath(long filePath)
    void NFD_FreePath(nfdchar_t * filePath)
    static void
    void NFD_FreePath(nfdchar_t * filePath)
    static @Nullable String
    char const * NFD_GetError(void)
    static int
    nfdresult_t NFD_Init(void)
    static int
    NFD_OpenDialog(PointerBuffer outPath, @Nullable NFDFilterItem.Buffer filterList, @Nullable CharSequence defaultPath)
    nfdresult_t NFD_OpenDialog(nfdchar_t ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath)
    static int
    NFD_OpenDialog(PointerBuffer outPath, @Nullable NFDFilterItem.Buffer filterList, @Nullable ByteBuffer defaultPath)
    nfdresult_t NFD_OpenDialog(nfdchar_t ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath)
    static int
    nfdresult_t NFD_OpenDialog_With(nfdchar_t ** outPath, nfdopendialogu8args_t const * args)
    static int
    NFD_OpenDialogMultiple(PointerBuffer outPath, @Nullable NFDFilterItem.Buffer filterList, @Nullable CharSequence defaultPath)
    nfdresult_t NFD_OpenDialogMultiple(nfdpathset_t const ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath)
    static int
    NFD_OpenDialogMultiple(PointerBuffer outPath, @Nullable NFDFilterItem.Buffer filterList, @Nullable ByteBuffer defaultPath)
    nfdresult_t NFD_OpenDialogMultiple(nfdpathset_t const ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath)
    static int
    nfdresult_t NFD_OpenDialogMultiple_With(nfdpathset_t const ** outPath, nfdopendialogu8args_t const * args)
    static int
    nfdresult_t NFD_PathSet_EnumNext(nfdpathsetenum_t * enumerator, nfdchar_t ** outPath)
    static void
    NFD_PathSet_Free(long pathSet)
    void NFD_PathSet_Free(nfdpathset_t const * pathSet)
    static void
    void NFD_PathSet_FreeEnum(nfdpathsetenum_t * enumerator)
    static void
    NFD_PathSet_FreePath(long filePath)
    void NFD_PathSet_FreePath(nfdchar_t * filePath)
    static void
    void NFD_PathSet_FreePath(nfdchar_t * filePath)
    static int
    NFD_PathSet_GetCount(long pathSet, int[] count)
    nfdresult_t NFD_PathSet_GetCount(nfdpathset_t const * pathSet, nfdpathsetsize_t * count)
    static int
    NFD_PathSet_GetCount(long pathSet, IntBuffer count)
    nfdresult_t NFD_PathSet_GetCount(nfdpathset_t const * pathSet, nfdpathsetsize_t * count)
    static int
    NFD_PathSet_GetEnum(long pathSet, NFDPathSetEnum outEnumerator)
    nfdresult_t NFD_PathSet_GetEnum(nfdpathset_t const * pathSet, nfdpathsetenum_t * outEnumerator)
    static int
    NFD_PathSet_GetPath(long pathSet, int index, PointerBuffer outPath)
    nfdresult_t NFD_PathSet_GetPath(nfdpathset_t const * pathSet, nfdpathsetsize_t index, nfdchar_t ** outPath)
    static int
    NFD_PickFolder(PointerBuffer outPath, @Nullable CharSequence defaultPath)
    nfdresult_t NFD_PickFolder(nfdchar_t ** outPath, nfdchar_t const * defaultPath)
    static int
    NFD_PickFolder(PointerBuffer outPath, @Nullable ByteBuffer defaultPath)
    nfdresult_t NFD_PickFolder(nfdchar_t ** outPath, nfdchar_t const * defaultPath)
    static int
    nfdresult_t NFD_PickFolder_With(nfdchar_t ** outPath, nfdpickfolderu8args_t const * args)
    static int
    NFD_PickFolderMultiple(PointerBuffer outPaths, @Nullable CharSequence defaultPath)
    nfdresult_t NFD_PickFolderMultiple(nfdpathset_t const ** outPaths, nfdchar_t const * defaultPath)
    static int
    NFD_PickFolderMultiple(PointerBuffer outPaths, @Nullable ByteBuffer defaultPath)
    nfdresult_t NFD_PickFolderMultiple(nfdpathset_t const ** outPaths, nfdchar_t const * defaultPath)
    static int
    nfdresult_t NFD_PickFolderMultiple_With(nfdpathset_t const ** outPaths, nfdpickfolderu8args_t const * args)
    static void
    void NFD_Quit(void)
    static int
    NFD_SaveDialog(PointerBuffer outPath, @Nullable NFDFilterItem.Buffer filterList, @Nullable CharSequence defaultPath, @Nullable CharSequence defaultName)
    nfdresult_t NFD_SaveDialog(nfdchar_t ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath, nfdchar_t const * defaultName)
    static int
    NFD_SaveDialog(PointerBuffer outPath, @Nullable NFDFilterItem.Buffer filterList, @Nullable ByteBuffer defaultPath, @Nullable ByteBuffer defaultName)
    nfdresult_t NFD_SaveDialog(nfdchar_t ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath, nfdchar_t const * defaultName)
    static int
    nfdresult_t NFD_SaveDialog_With(nfdchar_t ** outPath, nfdsavedialogu8args_t const * args)
    static void
    nNFD_FreePath(long filePath)
    void NFD_FreePath(nfdchar_t * filePath)
    static long
    char const * NFD_GetError(void)
    static int
    nNFD_OpenDialog(long outPath, long filterList, int filterCount, long defaultPath)
    nfdresult_t NFD_OpenDialog(nfdchar_t ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath)
    static int
    nNFD_OpenDialog_With(long outPath, long args)
    nfdresult_t NFD_OpenDialog_With(nfdchar_t ** outPath, nfdopendialogu8args_t const * args)
    static int
    nNFD_OpenDialogMultiple(long outPath, long filterList, int filterCount, long defaultPath)
    nfdresult_t NFD_OpenDialogMultiple(nfdpathset_t const ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath)
    static int
    nNFD_OpenDialogMultiple_With(long outPath, long args)
    nfdresult_t NFD_OpenDialogMultiple_With(nfdpathset_t const ** outPath, nfdopendialogu8args_t const * args)
    static int
    nNFD_PathSet_EnumNext(long enumerator, long outPath)
    nfdresult_t NFD_PathSet_EnumNext(nfdpathsetenum_t * enumerator, nfdchar_t ** outPath)
    static void
    nNFD_PathSet_Free(long pathSet)
    void NFD_PathSet_Free(nfdpathset_t const * pathSet)
    static void
    nNFD_PathSet_FreeEnum(long enumerator)
    void NFD_PathSet_FreeEnum(nfdpathsetenum_t * enumerator)
    static void
    nNFD_PathSet_FreePath(long filePath)
    void NFD_PathSet_FreePath(nfdchar_t * filePath)
    static int
    nNFD_PathSet_GetCount(long pathSet, int[] count)
    nfdresult_t NFD_PathSet_GetCount(nfdpathset_t const * pathSet, nfdpathsetsize_t * count)
    static int
    nNFD_PathSet_GetCount(long pathSet, long count)
    nfdresult_t NFD_PathSet_GetCount(nfdpathset_t const * pathSet, nfdpathsetsize_t * count)
    static int
    nNFD_PathSet_GetEnum(long pathSet, long outEnumerator)
    nfdresult_t NFD_PathSet_GetEnum(nfdpathset_t const * pathSet, nfdpathsetenum_t * outEnumerator)
    static int
    nNFD_PathSet_GetPath(long pathSet, int index, long outPath)
    nfdresult_t NFD_PathSet_GetPath(nfdpathset_t const * pathSet, nfdpathsetsize_t index, nfdchar_t ** outPath)
    static int
    nNFD_PickFolder(long outPath, long defaultPath)
    nfdresult_t NFD_PickFolder(nfdchar_t ** outPath, nfdchar_t const * defaultPath)
    static int
    nNFD_PickFolder_With(long outPath, long args)
    nfdresult_t NFD_PickFolder_With(nfdchar_t ** outPath, nfdpickfolderu8args_t const * args)
    static int
    nNFD_PickFolderMultiple(long outPaths, long defaultPath)
    nfdresult_t NFD_PickFolderMultiple(nfdpathset_t const ** outPaths, nfdchar_t const * defaultPath)
    static int
    nNFD_PickFolderMultiple_With(long outPaths, long args)
    nfdresult_t NFD_PickFolderMultiple_With(nfdpathset_t const ** outPaths, nfdpickfolderu8args_t const * args)
    static int
    nNFD_SaveDialog(long outPath, long filterList, int filterCount, long defaultPath, long defaultName)
    nfdresult_t NFD_SaveDialog(nfdchar_t ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath, nfdchar_t const * defaultName)
    static int
    nNFD_SaveDialog_With(long outPath, long args)
    nfdresult_t NFD_SaveDialog_With(nfdchar_t ** outPath, nfdsavedialogu8args_t const * args)

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Method Details

    • nNFD_FreePath

      public static void nNFD_FreePath(long filePath)
      void NFD_FreePath(nfdchar_t * filePath)
    • NFD_FreePath

      public static void NFD_FreePath(ByteBuffer filePath)
      void NFD_FreePath(nfdchar_t * filePath)
    • NFD_FreePath

      public static void NFD_FreePath(long filePath)
      void NFD_FreePath(nfdchar_t * filePath)
    • NFD_Init

      public static int NFD_Init()
      nfdresult_t NFD_Init(void)
    • NFD_Quit

      public static void NFD_Quit()
      void NFD_Quit(void)
    • nNFD_OpenDialog

      public static int nNFD_OpenDialog(long outPath, long filterList, int filterCount, long defaultPath)
      nfdresult_t NFD_OpenDialog(nfdchar_t ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath)
    • NFD_OpenDialog

      public static int NFD_OpenDialog(PointerBuffer outPath, @Nullable NFDFilterItem.Buffer filterList, @Nullable ByteBuffer defaultPath)
      nfdresult_t NFD_OpenDialog(nfdchar_t ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath)
    • NFD_OpenDialog

      public static int NFD_OpenDialog(PointerBuffer outPath, @Nullable NFDFilterItem.Buffer filterList, @Nullable CharSequence defaultPath)
      nfdresult_t NFD_OpenDialog(nfdchar_t ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath)
    • nNFD_OpenDialog_With

      public static int nNFD_OpenDialog_With(long outPath, long args)
      nfdresult_t NFD_OpenDialog_With(nfdchar_t ** outPath, nfdopendialogu8args_t const * args)
    • NFD_OpenDialog_With

      public static int NFD_OpenDialog_With(PointerBuffer outPath, NFDOpenDialogArgs args)
      nfdresult_t NFD_OpenDialog_With(nfdchar_t ** outPath, nfdopendialogu8args_t const * args)
    • nNFD_OpenDialogMultiple

      public static int nNFD_OpenDialogMultiple(long outPath, long filterList, int filterCount, long defaultPath)
      nfdresult_t NFD_OpenDialogMultiple(nfdpathset_t const ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath)
    • NFD_OpenDialogMultiple

      public static int NFD_OpenDialogMultiple(PointerBuffer outPath, @Nullable NFDFilterItem.Buffer filterList, @Nullable ByteBuffer defaultPath)
      nfdresult_t NFD_OpenDialogMultiple(nfdpathset_t const ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath)
    • NFD_OpenDialogMultiple

      public static int NFD_OpenDialogMultiple(PointerBuffer outPath, @Nullable NFDFilterItem.Buffer filterList, @Nullable CharSequence defaultPath)
      nfdresult_t NFD_OpenDialogMultiple(nfdpathset_t const ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath)
    • nNFD_OpenDialogMultiple_With

      public static int nNFD_OpenDialogMultiple_With(long outPath, long args)
      nfdresult_t NFD_OpenDialogMultiple_With(nfdpathset_t const ** outPath, nfdopendialogu8args_t const * args)
    • NFD_OpenDialogMultiple_With

      public static int NFD_OpenDialogMultiple_With(PointerBuffer outPath, NFDOpenDialogArgs args)
      nfdresult_t NFD_OpenDialogMultiple_With(nfdpathset_t const ** outPath, nfdopendialogu8args_t const * args)
    • nNFD_SaveDialog

      public static int nNFD_SaveDialog(long outPath, long filterList, int filterCount, long defaultPath, long defaultName)
      nfdresult_t NFD_SaveDialog(nfdchar_t ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath, nfdchar_t const * defaultName)
    • NFD_SaveDialog

      public static int NFD_SaveDialog(PointerBuffer outPath, @Nullable NFDFilterItem.Buffer filterList, @Nullable ByteBuffer defaultPath, @Nullable ByteBuffer defaultName)
      nfdresult_t NFD_SaveDialog(nfdchar_t ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath, nfdchar_t const * defaultName)
    • NFD_SaveDialog

      public static int NFD_SaveDialog(PointerBuffer outPath, @Nullable NFDFilterItem.Buffer filterList, @Nullable CharSequence defaultPath, @Nullable CharSequence defaultName)
      nfdresult_t NFD_SaveDialog(nfdchar_t ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath, nfdchar_t const * defaultName)
    • nNFD_SaveDialog_With

      public static int nNFD_SaveDialog_With(long outPath, long args)
      nfdresult_t NFD_SaveDialog_With(nfdchar_t ** outPath, nfdsavedialogu8args_t const * args)
    • NFD_SaveDialog_With

      public static int NFD_SaveDialog_With(PointerBuffer outPath, NFDSaveDialogArgs args)
      nfdresult_t NFD_SaveDialog_With(nfdchar_t ** outPath, nfdsavedialogu8args_t const * args)
    • nNFD_PickFolder

      public static int nNFD_PickFolder(long outPath, long defaultPath)
      nfdresult_t NFD_PickFolder(nfdchar_t ** outPath, nfdchar_t const * defaultPath)
    • NFD_PickFolder

      public static int NFD_PickFolder(PointerBuffer outPath, @Nullable ByteBuffer defaultPath)
      nfdresult_t NFD_PickFolder(nfdchar_t ** outPath, nfdchar_t const * defaultPath)
    • NFD_PickFolder

      public static int NFD_PickFolder(PointerBuffer outPath, @Nullable CharSequence defaultPath)
      nfdresult_t NFD_PickFolder(nfdchar_t ** outPath, nfdchar_t const * defaultPath)
    • nNFD_PickFolder_With

      public static int nNFD_PickFolder_With(long outPath, long args)
      nfdresult_t NFD_PickFolder_With(nfdchar_t ** outPath, nfdpickfolderu8args_t const * args)
    • NFD_PickFolder_With

      public static int NFD_PickFolder_With(PointerBuffer outPath, NFDPickFolderArgs args)
      nfdresult_t NFD_PickFolder_With(nfdchar_t ** outPath, nfdpickfolderu8args_t const * args)
    • nNFD_PickFolderMultiple

      public static int nNFD_PickFolderMultiple(long outPaths, long defaultPath)
      nfdresult_t NFD_PickFolderMultiple(nfdpathset_t const ** outPaths, nfdchar_t const * defaultPath)
    • NFD_PickFolderMultiple

      public static int NFD_PickFolderMultiple(PointerBuffer outPaths, @Nullable ByteBuffer defaultPath)
      nfdresult_t NFD_PickFolderMultiple(nfdpathset_t const ** outPaths, nfdchar_t const * defaultPath)
    • NFD_PickFolderMultiple

      public static int NFD_PickFolderMultiple(PointerBuffer outPaths, @Nullable CharSequence defaultPath)
      nfdresult_t NFD_PickFolderMultiple(nfdpathset_t const ** outPaths, nfdchar_t const * defaultPath)
    • nNFD_PickFolderMultiple_With

      public static int nNFD_PickFolderMultiple_With(long outPaths, long args)
      nfdresult_t NFD_PickFolderMultiple_With(nfdpathset_t const ** outPaths, nfdpickfolderu8args_t const * args)
    • NFD_PickFolderMultiple_With

      public static int NFD_PickFolderMultiple_With(PointerBuffer outPaths, NFDPickFolderArgs args)
      nfdresult_t NFD_PickFolderMultiple_With(nfdpathset_t const ** outPaths, nfdpickfolderu8args_t const * args)
    • nNFD_GetError

      public static long nNFD_GetError()
      char const * NFD_GetError(void)
    • NFD_GetError

      public static @Nullable String NFD_GetError()
      char const * NFD_GetError(void)
    • NFD_ClearError

      public static void NFD_ClearError()
      void NFD_ClearError(void)
    • nNFD_PathSet_GetCount

      public static int nNFD_PathSet_GetCount(long pathSet, long count)
      nfdresult_t NFD_PathSet_GetCount(nfdpathset_t const * pathSet, nfdpathsetsize_t * count)
    • NFD_PathSet_GetCount

      public static int NFD_PathSet_GetCount(long pathSet, IntBuffer count)
      nfdresult_t NFD_PathSet_GetCount(nfdpathset_t const * pathSet, nfdpathsetsize_t * count)
    • nNFD_PathSet_GetPath

      public static int nNFD_PathSet_GetPath(long pathSet, int index, long outPath)
      nfdresult_t NFD_PathSet_GetPath(nfdpathset_t const * pathSet, nfdpathsetsize_t index, nfdchar_t ** outPath)
    • NFD_PathSet_GetPath

      public static int NFD_PathSet_GetPath(long pathSet, int index, PointerBuffer outPath)
      nfdresult_t NFD_PathSet_GetPath(nfdpathset_t const * pathSet, nfdpathsetsize_t index, nfdchar_t ** outPath)
    • nNFD_PathSet_FreePath

      public static void nNFD_PathSet_FreePath(long filePath)
      void NFD_PathSet_FreePath(nfdchar_t * filePath)
    • NFD_PathSet_FreePath

      public static void NFD_PathSet_FreePath(ByteBuffer filePath)
      void NFD_PathSet_FreePath(nfdchar_t * filePath)
    • NFD_PathSet_FreePath

      public static void NFD_PathSet_FreePath(long filePath)
      void NFD_PathSet_FreePath(nfdchar_t * filePath)
    • nNFD_PathSet_GetEnum

      public static int nNFD_PathSet_GetEnum(long pathSet, long outEnumerator)
      nfdresult_t NFD_PathSet_GetEnum(nfdpathset_t const * pathSet, nfdpathsetenum_t * outEnumerator)
    • NFD_PathSet_GetEnum

      public static int NFD_PathSet_GetEnum(long pathSet, NFDPathSetEnum outEnumerator)
      nfdresult_t NFD_PathSet_GetEnum(nfdpathset_t const * pathSet, nfdpathsetenum_t * outEnumerator)
    • nNFD_PathSet_FreeEnum

      public static void nNFD_PathSet_FreeEnum(long enumerator)
      void NFD_PathSet_FreeEnum(nfdpathsetenum_t * enumerator)
    • NFD_PathSet_FreeEnum

      public static void NFD_PathSet_FreeEnum(NFDPathSetEnum enumerator)
      void NFD_PathSet_FreeEnum(nfdpathsetenum_t * enumerator)
    • nNFD_PathSet_EnumNext

      public static int nNFD_PathSet_EnumNext(long enumerator, long outPath)
      nfdresult_t NFD_PathSet_EnumNext(nfdpathsetenum_t * enumerator, nfdchar_t ** outPath)
    • NFD_PathSet_EnumNext

      public static int NFD_PathSet_EnumNext(NFDPathSetEnum enumerator, PointerBuffer outPath)
      nfdresult_t NFD_PathSet_EnumNext(nfdpathsetenum_t * enumerator, nfdchar_t ** outPath)
    • nNFD_PathSet_Free

      public static void nNFD_PathSet_Free(long pathSet)
      void NFD_PathSet_Free(nfdpathset_t const * pathSet)
    • NFD_PathSet_Free

      public static void NFD_PathSet_Free(long pathSet)
      void NFD_PathSet_Free(nfdpathset_t const * pathSet)
    • nNFD_PathSet_GetCount

      public static int nNFD_PathSet_GetCount(long pathSet, int[] count)
      nfdresult_t NFD_PathSet_GetCount(nfdpathset_t const * pathSet, nfdpathsetsize_t * count)
    • NFD_PathSet_GetCount

      public static int NFD_PathSet_GetCount(long pathSet, int[] count)
      nfdresult_t NFD_PathSet_GetCount(nfdpathset_t const * pathSet, nfdpathsetsize_t * count)