Class JWFileImageDefaultSet

java.lang.Object
com.io7m.jwheatsheaf.ui.internal.JWFileImageDefaultSet
All Implemented Interfaces:
JWFileImageSetType

public final class JWFileImageDefaultSet
extends java.lang.Object
implements JWFileImageSetType
The default set of images.
  • Constructor Summary

    Constructors
    Constructor Description
    JWFileImageDefaultSet()
    Construct a set of images.
  • Method Summary

    Modifier and Type Method Description
    java.net.URL forDirectoryCreate()  
    java.net.URL forDirectoryUp()  
    java.util.Optional<java.net.URL> forFileKind​(JWFileKind kind)
    Find an icon for the given file kind.
    java.net.URL forFileSystem()  
    java.net.URL forHome()  
    java.net.URL forRecentItems()  
    java.net.URL forSelectDirect()  

    Methods inherited from class java.lang.Object

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

    • JWFileImageDefaultSet

      public JWFileImageDefaultSet()
      Construct a set of images.
  • Method Details

    • forSelectDirect

      public java.net.URL forSelectDirect()
      Specified by:
      forSelectDirect in interface JWFileImageSetType
      Returns:
      An icon for the "select direct" button
    • forDirectoryCreate

      public java.net.URL forDirectoryCreate()
      Specified by:
      forDirectoryCreate in interface JWFileImageSetType
      Returns:
      An icon for the "create directory" button
    • forDirectoryUp

      public java.net.URL forDirectoryUp()
      Specified by:
      forDirectoryUp in interface JWFileImageSetType
      Returns:
      An icon for the "parent directory" button
    • forHome

      public java.net.URL forHome()
      Specified by:
      forHome in interface JWFileImageSetType
      Returns:
      An icon for the "home" button
    • forRecentItems

      public java.net.URL forRecentItems()
      Specified by:
      forRecentItems in interface JWFileImageSetType
      Returns:
      An icon for the "recent items" entry
    • forFileSystem

      public java.net.URL forFileSystem()
      Specified by:
      forFileSystem in interface JWFileImageSetType
      Returns:
      An icon for filesystem roots
    • forFileKind

      public java.util.Optional<java.net.URL> forFileKind​(JWFileKind kind)
      Description copied from interface: JWFileImageSetType
      Find an icon for the given file kind.
      Specified by:
      forFileKind in interface JWFileImageSetType
      Parameters:
      kind - The file kind
      Returns:
      An icon for the given kind