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
A set of icons based on the Oxygen icon theme.
- See Also:
- "https://github.com/KDE/oxygen-icons"
-
Constructor Summary
Constructors Constructor Description JWOxygenIconSet()
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
-
JWOxygenIconSet
public JWOxygenIconSet()Construct a set of images.
-
-
Method Details
-
forSelectDirect
public java.net.URL forSelectDirect()- Specified by:
forSelectDirect
in interfaceJWFileImageSetType
- Returns:
- An icon for the "select direct" button
-
forDirectoryCreate
public java.net.URL forDirectoryCreate()- Specified by:
forDirectoryCreate
in interfaceJWFileImageSetType
- Returns:
- An icon for the "create directory" button
-
forDirectoryUp
public java.net.URL forDirectoryUp()- Specified by:
forDirectoryUp
in interfaceJWFileImageSetType
- Returns:
- An icon for the "parent directory" button
-
forHome
public java.net.URL forHome()- Specified by:
forHome
in interfaceJWFileImageSetType
- Returns:
- An icon for the "home" button
-
forRecentItems
public java.net.URL forRecentItems()- Specified by:
forRecentItems
in interfaceJWFileImageSetType
- Returns:
- An icon for the "recent items" entry
-
forFileSystem
public java.net.URL forFileSystem()- Specified by:
forFileSystem
in interfaceJWFileImageSetType
- Returns:
- An icon for filesystem roots
-
forFileKind
Description copied from interface:JWFileImageSetType
Find an icon for the given file kind.- Specified by:
forFileKind
in interfaceJWFileImageSetType
- Parameters:
kind
- The file kind- Returns:
- An icon for the given kind
-