Package com.io7m.jwheatsheaf.ui.internal
Class JWImages
java.lang.Object
com.io7m.jwheatsheaf.ui.internal.JWImages
Functions to deal with images.
-
Method Summary
Modifier and TypeMethodDescriptionstatic javafx.scene.image.ImageView
imageOfKind
(JWFileImageSetType images, JWFileKind kind) Load an image for the given file kind.static javafx.scene.image.ImageView
imageView16x16Of
(URL url) Construct a 16x16 image view for the given URL.
-
Method Details
-
imageView16x16Of
Construct a 16x16 image view for the given URL.- Parameters:
url
- The URL- Returns:
- An image view
-
imageOfKind
Load an image for the given file kind.- Parameters:
images
- The image providerkind
- The kind- Returns:
- An image
-