public class IconDescriptor extends Object
IconDescriptor
is an image resource that needs to be processed
by higher level classes that can read, modify and display the image data.
IconDescriptor
can be very expensive, is highly
recommended to cache the result when possible.Constructor and Description |
---|
IconDescriptor(ByteBuffer data) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
ByteBuffer |
getData() |
int |
hashCode() |
static IconDescriptor |
loadIcon(ClassLoader classloader,
String resource)
Loads an icon by calling from the given resource file and
ClassLoader . |
public IconDescriptor(ByteBuffer data)
public ByteBuffer getData()
public static IconDescriptor loadIcon(ClassLoader classloader, String resource) throws IOException
ClassLoader
.IOException
Copyright © 2013. All rights reserved.