Methods Summary |
---|
public void | dispose()
synchronized (byId) {
byId.remove(new Integer(nativeId));
this.nativeId = 0;
}
|
private native void | finalize()
|
public int | getHeight()
return this.height;
|
public static javax.microedition.khronos.egl.EGLSurfaceImpl | getInstance(int nativeId, int width, int height)
synchronized (byId) {
WeakReference ref = (WeakReference)byId.get(new Integer(nativeId));
EGLSurfaceImpl surface = ref != null ?
(EGLSurfaceImpl)ref.get() : null;
if (surface == null) {
return new EGLSurfaceImpl(nativeId, width, height);
} else {
return surface;
}
}
|
public static javax.microedition.khronos.egl.EGLSurfaceImpl | getInstance(int nativeId)
return getInstance(nativeId, -1, -1);
|
public int | getPixmapPointer()
return this.pixmapPointer;
|
public javax.microedition.lcdui.Graphics | getTarget()
return this.target;
|
public int | getWidth()
return this.width;
|
public int | nativeId()
return nativeId;
|
public void | setPixmapPointer(int pixmapPointer)
this.pixmapPointer = pixmapPointer;
|
public void | setTarget(javax.microedition.lcdui.Graphics target)
this.target = target;
|
public java.lang.String | toString()
return "EGLSurfaceImpl[" + nativeId + "]";
|