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.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.URLforHome()java.net.URLforRecentItems()java.net.URLforSelectDirect()
-
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
-