Class JWFileSourceEntryFilesystemRoot

java.lang.Object
com.io7m.jwheatsheaf.ui.internal.JWFileSourceEntryFilesystemRoot
All Implemented Interfaces:
JWFileListingRetrieverType, JWFileSourceEntryType

public final class JWFileSourceEntryFilesystemRoot
extends java.lang.Object
implements JWFileSourceEntryType
A source entry representing a filesystem root.
  • Constructor Summary

    Constructors
    Constructor Description
    JWFileSourceEntryFilesystemRoot​(boolean inWithParent, java.nio.file.Path inRoot)
    Construct a source entry.
  • Method Summary

    Modifier and Type Method Description
    java.util.List<JWFileItem> onFileItemsRequested()  
    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 class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JWFileSourceEntryFilesystemRoot

      public JWFileSourceEntryFilesystemRoot​(boolean inWithParent, java.nio.file.Path inRoot)
      Construct a source entry.
      Parameters:
      inRoot - The root directory
      inWithParent - true if a parent directory should be shown
  • Method Details