Uses of Class
java.nio.IntBuffer

  • Packages that use IntBuffer
    Package Description
    java.nio
    Defines buffers, which are containers for data, and provides an overview of the other NIO packages.
    javafx.scene.image
    Provides the set of classes for loading and displaying images.
    • Uses of IntBuffer in java.nio

      Methods in java.nio that return IntBuffer
      Modifier and Type Method Description
      static IntBuffer IntBuffer.allocate ​(int capacity)
      Allocates a new int buffer.
      abstract IntBuffer ByteBuffer.asIntBuffer ​()
      Creates a view of this byte buffer as an int buffer.
      abstract IntBuffer IntBuffer.asReadOnlyBuffer ​()
      Creates a new, read-only int buffer that shares this buffer's content.
      IntBuffer IntBuffer.clear ​()
      Clears this buffer.
      abstract IntBuffer IntBuffer.compact ​()
      Compacts this buffer (optional operation).
      abstract IntBuffer IntBuffer.duplicate ​()
      Creates a new int buffer that shares this buffer's content.
      IntBuffer IntBuffer.flip ​()
      Flips this buffer.
      IntBuffer IntBuffer.get ​(int[] dst)
      Relative bulk get method.
      IntBuffer IntBuffer.get ​(int[] dst, int offset, int length)
      Relative bulk get method.
      IntBuffer IntBuffer.limit ​(int newLimit)
      Sets this buffer's limit.
      IntBuffer IntBuffer.mark ​()
      Sets this buffer's mark at its position.
      IntBuffer IntBuffer.position ​(int newPosition)
      Sets this buffer's position.
      abstract IntBuffer IntBuffer.put ​(int i)
      Relative put method (optional operation).
      IntBuffer IntBuffer.put ​(int[] src)
      Relative bulk put method (optional operation).
      IntBuffer IntBuffer.put ​(int[] src, int offset, int length)
      Relative bulk put method (optional operation).
      abstract IntBuffer IntBuffer.put ​(int index, int i)
      Absolute put method (optional operation).
      IntBuffer IntBuffer.put ​(IntBuffer src)
      Relative bulk put method (optional operation).
      IntBuffer IntBuffer.reset ​()
      Resets this buffer's position to the previously-marked position.
      IntBuffer IntBuffer.rewind ​()
      Rewinds this buffer.
      abstract IntBuffer IntBuffer.slice ​()
      Creates a new int buffer whose content is a shared subsequence of this buffer's content.
      static IntBuffer IntBuffer.wrap ​(int[] array)
      Wraps an int array into a buffer.
      static IntBuffer IntBuffer.wrap ​(int[] array, int offset, int length)
      Wraps an int array into a buffer.
      Methods in java.nio with parameters of type IntBuffer
      Modifier and Type Method Description
      int IntBuffer.compareTo ​(IntBuffer that)
      Compares this buffer to another.
      IntBuffer IntBuffer.put ​(IntBuffer src)
      Relative bulk put method (optional operation).
    • Uses of IntBuffer in javafx.scene.image

      Methods in javafx.scene.image that return types with arguments of type IntBuffer
      Modifier and Type Method Description
      static WritablePixelFormat<IntBuffer> PixelFormat.getIntArgbInstance ​()
      Returns a WritablePixelFormat instance describing a pixel layout with the pixels stored in 32-bit integers with the non-premultiplied components stored in order, from MSb to LSb: alpha, red, green, blue.
      static WritablePixelFormat<IntBuffer> PixelFormat.getIntArgbPreInstance ​()
      Returns a WritablePixelFormat instance describing a pixel layout with the pixels stored in 32-bit integers with the premultiplied components stored in order, from MSb to LSb: alpha, red, green, blue.
      Method parameters in javafx.scene.image with type arguments of type IntBuffer
      Modifier and Type Method Description
      void PixelReader.getPixels ​(int x, int y, int w, int h, WritablePixelFormat<IntBuffer> pixelformat, int[] buffer, int offset, int scanlineStride)
      Reads pixel data from a rectangular region of the surface into the specified int array.
      void PixelWriter.setPixels ​(int x, int y, int w, int h, PixelFormat<IntBuffer> pixelformat, int[] buffer, int offset, int scanlineStride)
      Stores pixel data from an int array into a rectangular region of the surface.