Interface ImageView.Builder

All Superinterfaces:
ComponentBuilder<ImageView, ImageView.Builder>, ComponentValueBuilder<ImageView, byte[], ImageView.Builder>, Supplier<ImageView>
Enclosing class:
ImageView

public static interface ImageView.Builder extends ComponentValueBuilder<ImageView, byte[], ImageView.Builder>
Builds an ImageView, its ComponentValue the image bytes, not copied.
  • Method Details

    • enlarge

      ImageView.Builder enlarge(boolean enlarge)
      Default false.
      Parameters:
      enlarge - true if an image smaller than the view should be enlarged to fit it, false to display it at its own size
      Returns:
      this builder
    • orient

      ImageView.Builder orient(boolean orient)
      Whether an image, a JPEG's, is displayed turned as its EXIF orientation says, as a camera records a photo taken with the camera turned, which ImageIO ignores. For display only: the bytes are left as they are.
      Parameters:
      orient - true if an image should be displayed as its EXIF orientation says
      Returns:
      this builder
      See Also: