public static class GLDrawableUtil.ReshapeGLEventListener extends Object implements GLRunnable
GLRunnable
to issue GLEventListener.reshape(GLAutoDrawable, int, int, int, int)
,
returning true
on GLRunnable.run(GLAutoDrawable)
.Constructor and Description |
---|
GLDrawableUtil.ReshapeGLEventListener(GLEventListener listener,
boolean displayAfterReshape) |
public GLDrawableUtil.ReshapeGLEventListener(GLEventListener listener, boolean displayAfterReshape)
listener
- displayAfterReshape
- true
to issue GLEventListener.display(GLAutoDrawable)
after GLEventListener.reshape(GLAutoDrawable, int, int, int, int)
,
otherwise false.public boolean run(GLAutoDrawable drawable)
run
in interface GLRunnable
drawable
- the associated drawable and current context for this callGLAutoDrawable
will call
display(GLAutoDrawable)
of all registered GLEventListener
s once more.GLRunnable
Copyright 2010 JogAmp Community.