Package com.io7m.jwheatsheaf.api
Interface JWFileImageSetType
- All Known Implementing Classes:
JWFileImageDefaultSet
,JWOxygenIconSet
public interface JWFileImageSetType
An image resolver used to supply icon resources for the file chooser UI.
-
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()
-
Method Details
-
forSelectDirect
java.net.URL forSelectDirect()- Returns:
- An icon for the "select direct" button
-
forDirectoryCreate
java.net.URL forDirectoryCreate()- Returns:
- An icon for the "create directory" button
-
forDirectoryUp
java.net.URL forDirectoryUp()- Returns:
- An icon for the "parent directory" button
-
forHome
java.net.URL forHome()- Returns:
- An icon for the "home" button
-
forRecentItems
java.net.URL forRecentItems()- Returns:
- An icon for the "recent items" entry
-
forFileSystem
java.net.URL forFileSystem()- Returns:
- An icon for filesystem roots
-
forFileKind
Find an icon for the given file kind.- Parameters:
kind
- The file kind- Returns:
- An icon for the given kind
-