Package com.io7m.jwheatsheaf.ui.internal
Class JWFileList
java.lang.Object
com.io7m.jwheatsheaf.ui.internal.JWFileList
public final class JWFileList
extends java.lang.Object
A filtered file list.
-
Constructor Summary
Constructors Constructor Description JWFileList(JWFileChooserFilterType inFilter)
Construct a filtered file list. -
Method Summary
Modifier and Type Method Description javafx.beans.property.ObjectProperty<java.util.Comparator<? super JWFileItem>>
comparator()
javafx.collections.ObservableList<JWFileItem>
items()
void
setFilter(JWFileChooserFilterType newFilter)
Set the type filter.void
setItems(java.util.List<JWFileItem> newItems)
Set the items for the file list.void
setSearch(java.lang.String searchText)
Set the search filter.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
JWFileList
Construct a filtered file list.- Parameters:
inFilter
- The initial filter
-
-
Method Details
-
setItems
Set the items for the file list.- Parameters:
newItems
- The new items
-
setSearch
public void setSearch(java.lang.String searchText)Set the search filter.- Parameters:
searchText
- The filter
-
setFilter
Set the type filter.- Parameters:
newFilter
- The type filter
-
items
- Returns:
- The observable list of items
-
comparator
- Returns:
- The comparator used for sorting
-