public class FileBrowserConfig
Class FileBrowserConfig. Provides filebrowserconfig functionality for the Hytale server.
java.lang.Object > FileBrowserConfig
Field Summary
listElementId
private
String
listElementId
Field listElementId.
rootSelectorId
private
String
rootSelectorId
Field rootSelectorId.
searchInputId
private
String
searchInputId
Field searchInputId.
currentPathId
private
String
currentPathId
Field currentPathId.
roots
private
List
roots
Field roots.
allowedExtensions
private
Set
allowedExtensions
Field allowedExtensions.
enableRootSelector
private
boolean
enableRootSelector
Field enableRootSelector.
enableSearch
private
boolean
enableSearch
Field enableSearch.
enableDirectoryNav
private
boolean
enableDirectoryNav
Field enableDirectoryNav.
enableMultiSelect
private
boolean
enableMultiSelect
Field enableMultiSelect.
maxResults
private
int
maxResults
Field maxResults.
customProvider
private
FileListProvider
customProvider
Field customProvider.
Method Detail
FileBrowserConfig
public
record
FileBrowserConfig
(@Nonnull String listElementId, @Nullable String rootSelectorId, @Nullable String searchInputId, @Nullable String currentPathId, @Nonnull List roots, @Nonnull Set allowedExtensions, boolean enableRootSelector, boolean enableSearch, boolean enableDirectoryNav, boolean enableMultiSelect, int maxResults, @Nullable FileListProvider customProvider)
Method FileBrowserConfig.
- Parameters:
@Nonnull StringlistElementId@Nullable StringrootSelectorId@Nullable StringsearchInputId@Nullable StringcurrentPathId@Nonnull Listroots@Nonnull SetallowedExtensionsbooleanenableRootSelectorbooleanenableSearchbooleanenableDirectoryNavbooleanenableMultiSelectintmaxResults@Nullable FileListProvidercustomProvider
listElementId
public
String
listElementId
()
Method listElementId.
rootSelectorId
public
String
rootSelectorId
()
Method rootSelectorId.
searchInputId
public
String
searchInputId
()
Method searchInputId.
currentPathId
public
String
currentPathId
()
Method currentPathId.
roots
public
List
roots
()
Method roots.
allowedExtensions
public
Set
allowedExtensions
()
Method allowedExtensions.
path
public
Path
path
()
Method path.
enableRootSelector
Method enableRootSelector.
- Parameters:
final booleanenable
enableSearch
Method enableSearch.
- Parameters:
final booleanenable
enableMultiSelect
Method enableMultiSelect.
- Parameters:
final booleanenable
maxResults
Method maxResults.
- Parameters:
final intmaxResults