Class JWImages

java.lang.Object
com.io7m.jwheatsheaf.ui.internal.JWImages

public final class JWImages
extends java.lang.Object
Functions to deal with images.
  • Method Summary

    Modifier and Type Method Description
    static javafx.scene.image.ImageView imageOfKind​(JWFileImageSetType images, JWFileKind kind)
    Load an image for the given file kind.
    static javafx.scene.image.ImageView imageView16x16Of​(java.net.URL url)
    Construct a 16x16 image view for the given URL.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • imageView16x16Of

      public static javafx.scene.image.ImageView imageView16x16Of​(java.net.URL url)
      Construct a 16x16 image view for the given URL.
      Parameters:
      url - The URL
      Returns:
      An image view
    • imageOfKind

      public static javafx.scene.image.ImageView imageOfKind​(JWFileImageSetType images, JWFileKind kind)
      Load an image for the given file kind.
      Parameters:
      images - The image provider
      kind - The kind
      Returns:
      An image