Top Fields Constructors Methods
jogamp.newt.driver

public Class PNGIcon

extends Object
Class Inheritance
Imports
java.io.IOException, java.net.MalformedURLException, java.nio.ByteBuffer, jogamp.newt.Debug, .DisplayImpl, com.jogamp.common.util.IOUtil, .ReflectionUtil

Field Summary

Modifier and TypeField and Description
private static final boolean
private static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static ByteBuffer

Returns:

BGRA8888 bytes with origin at upper-left corner where component B is located on the lowest 8-bit and component A is located on the highest 8-bit.
arrayToX11BGRAImages
(final IOUtil.ClassResources resources, final int[] data_size, final int[] elem_bytesize)

Special implementation for X11 Window Icons

The returned byte buffer is a direct buffer!

public static boolean
isAvailable()

Returns true if PNG decoder is available.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

availback to summary
private static final boolean avail
err0back to summary
private static final String err0

Constructor Detail

PNGIconback to summary
public PNGIcon()

Method Detail

arrayToX11BGRAImagesback to summary
public static ByteBuffer arrayToX11BGRAImages(final IOUtil.ClassResources resources, final int[] data_size, final int[] elem_bytesize) throws UnsupportedOperationException, InterruptedException, IOException, MalformedURLException

Special implementation for X11 Window Icons

The returned byte buffer is a direct buffer!

Returns:ByteBuffer

BGRA8888 bytes with origin at upper-left corner where component B is located on the lowest 8-bit and component A is located on the highest 8-bit.

Exceptions
UnsupportedOperationException:
if not implemented
isAvailableback to summary
public static boolean isAvailable()

Returns true if PNG decoder is available.