Package com.jogamp.opengl.util
Class GLDrawableUtil.ReshapeGLEventListener
java.lang.Object
com.jogamp.opengl.util.GLDrawableUtil.ReshapeGLEventListener
- All Implemented Interfaces:
GLRunnable
- Enclosing class:
- GLDrawableUtil
GLRunnable
to issue GLEventListener.reshape(GLAutoDrawable, int, int, int, int)
,
returning true
on GLRunnable.run(GLAutoDrawable)
.-
Constructor Summary
ConstructorsConstructorDescriptionReshapeGLEventListener
(GLEventListener listener, boolean displayAfterReshape) -
Method Summary
-
Constructor Details
-
ReshapeGLEventListener
- Parameters:
listener
-displayAfterReshape
-true
to issueGLEventListener.display(GLAutoDrawable)
afterGLEventListener.reshape(GLAutoDrawable, int, int, int, int)
, otherwise false.
-
-
Method Details
-
run
- Specified by:
run
in 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
GLAutoDrawable
will calldisplay(GLAutoDrawable)
of all registeredGLEventListener
s once more. - See Also:
-