Class FileBrowserConfig.Builder
java.lang.Object
com.hypixel.hytale.server.core.ui.browser.FileBrowserConfig.Builder
- Enclosing class:
FileBrowserConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate FileListProviderprivate booleanprivate booleanprivate booleanprivate booleanprivate Stringprivate intprivate List<FileBrowserConfig.RootEntry> private Stringprivate String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowedExtensions(String... extensions) allowedExtensions(Set<String> extensions) build()currentPathId(String currentPathId) customProvider(FileListProvider provider) enableDirectoryNav(boolean enable) enableMultiSelect(boolean enable) enableRootSelector(boolean enable) enableSearch(boolean enable) listElementId(String listElementId) maxResults(int maxResults) roots(List<FileBrowserConfig.RootEntry> roots) rootSelectorId(String rootSelectorId) searchInputId(String searchInputId)
-
Field Details
-
listElementId
-
rootSelectorId
-
searchInputId
-
currentPathId
-
roots
-
allowedExtensions
-
enableRootSelector
private boolean enableRootSelector -
enableSearch
private boolean enableSearch -
enableMultiSelect
private boolean enableMultiSelect -
maxResults
private int maxResults -
customProvider
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
listElementId
-
rootSelectorId
-
searchInputId
-
currentPathId
-
roots
-
allowedExtensions
-
allowedExtensions
-
enableRootSelector
-
enableSearch
-
enableMultiSelect
-
maxResults
-
customProvider
-
build
-