org.herac.tuxguitar.gui.editors.tab

Class CacheImage


public class CacheImage
extends java.lang.Object

Constructor Summary

CacheImage(Device device)
CacheImage(Device device, int width, int height)

Method Summary

void
dispose()
GC
getGC()
Image
getImage()
boolean
isDisposed()
void
paintImage(GC gc, int x, int y)
void
setSize(int width, int height)

Constructor Details

CacheImage

public CacheImage(Device device)

CacheImage

public CacheImage(Device device,
                  int width,
                  int height)

Method Details

dispose

public void dispose()

getGC

public GC getGC()

getImage

public Image getImage()

isDisposed

public boolean isDisposed()

paintImage

public void paintImage(GC gc,
                       int x,
                       int y)

setSize

public void setSize(int width,
                    int height)