Package com.io7m.jwheatsheaf.oxygen
Class JWOxygenIconSet
- java.lang.Object
-
- com.io7m.jwheatsheaf.oxygen.JWOxygenIconSet
-
- All Implemented Interfaces:
JWFileImageSetType
public final class JWOxygenIconSet extends java.lang.Object implements JWFileImageSetType
-
-
Constructor Summary
Constructors Constructor Description JWOxygenIconSet()Construct a set of images.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.URLforDirectoryCreate()java.net.URLforDirectoryUp()java.util.Optional<java.net.URL>forFileKind(JWFileKind kind)Find an icon for the given file kind.java.net.URLforFileSystem()java.net.URLforRecentItems()java.net.URLforSelectDirect()
-
-
-
Method Detail
-
forSelectDirect
public java.net.URL forSelectDirect()
- Specified by:
forSelectDirectin interfaceJWFileImageSetType- Returns:
- An icon for the "select direct" button
-
forDirectoryCreate
public java.net.URL forDirectoryCreate()
- Specified by:
forDirectoryCreatein interfaceJWFileImageSetType- Returns:
- An icon for the "create directory" button
-
forDirectoryUp
public java.net.URL forDirectoryUp()
- Specified by:
forDirectoryUpin interfaceJWFileImageSetType- Returns:
- An icon for the "parent directory" button
-
forRecentItems
public java.net.URL forRecentItems()
- Specified by:
forRecentItemsin interfaceJWFileImageSetType- Returns:
- An icon for the "recent items" entry
-
forFileSystem
public java.net.URL forFileSystem()
- Specified by:
forFileSystemin interfaceJWFileImageSetType- Returns:
- An icon for filesystem roots
-
forFileKind
public java.util.Optional<java.net.URL> forFileKind(JWFileKind kind)
Description copied from interface:JWFileImageSetTypeFind an icon for the given file kind.- Specified by:
forFileKindin interfaceJWFileImageSetType- Parameters:
kind- The file kind- Returns:
- An icon for the given kind
-
-