Package com.jogamp.opengl.util
Class GLDrawableUtil.ReshapeGLEventListener
- java.lang.Object
-
- com.jogamp.opengl.util.GLDrawableUtil.ReshapeGLEventListener
-
- All Implemented Interfaces:
GLRunnable
- Enclosing class:
- GLDrawableUtil
public static class GLDrawableUtil.ReshapeGLEventListener extends Object implements GLRunnable
GLRunnableto issueGLEventListener.reshape(GLAutoDrawable, int, int, int, int), returningtrueonGLRunnable.run(GLAutoDrawable).
-
-
Constructor Summary
Constructors Constructor Description ReshapeGLEventListener(GLEventListener listener, boolean displayAfterReshape)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanrun(GLAutoDrawable drawable)
-
-
-
Constructor Detail
-
ReshapeGLEventListener
public ReshapeGLEventListener(GLEventListener listener, boolean displayAfterReshape)
- Parameters:
listener-displayAfterReshape-trueto issueGLEventListener.display(GLAutoDrawable)afterGLEventListener.reshape(GLAutoDrawable, int, int, int, int), otherwise false.
-
-
Method Detail
-
run
public boolean run(GLAutoDrawable drawable)
- Specified by:
runin interfaceGLRunnable- Parameters:
drawable- the associated drawable and current context for this call- Returns:
- true if the GL [back] framebuffer remains intact by this runnable, otherwise false.
If returning false
GLAutoDrawablewill calldisplay(GLAutoDrawable)of all registeredGLEventListeners once more. - See Also:
GLRunnable
-
-