Package com.io7m.jwheatsheaf.ui.internal
Interface JWFileSourceEntryType
-
- All Superinterfaces:
JWFileListingRetrieverType
- All Known Implementing Classes:
JWFileSourceEntryFilesystemRoot,JWFileSourceEntryRecentItems
public interface JWFileSourceEntryType extends JWFileListingRetrieverType
A source entry.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonListCell(JWFileImageSetType images, JWStrings strings, javafx.scene.control.ListCell<JWFileSourceEntryType> cell)Configure the given list cell to show this item.java.util.Optional<java.nio.file.Path>path()-
Methods inherited from interface com.io7m.jwheatsheaf.ui.internal.JWFileListingRetrieverType
onFileItemsRequested
-
-
-
-
Method Detail
-
onListCell
void onListCell(JWFileImageSetType images, JWStrings strings, javafx.scene.control.ListCell<JWFileSourceEntryType> cell)
Configure the given list cell to show this item.- Parameters:
images- The image resolverstrings- The string resourcescell- The list cell
-
path
java.util.Optional<java.nio.file.Path> path()
- Returns:
- The path associated with this source entry, if any
-
-