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
Modifier and Type Method Description void
onListCell(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 Details
-
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
-