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

  `GLRunnable` to issue `GLEventListener.reshape(GLAutoDrawable, int, int, int, int)`, returning `true` on `GLRunnable.run(GLAutoDrawable)`.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `GLDrawableUtil.ReshapeGLEventListener(GLEventListener listener, boolean displayAfterReshape)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `run(GLAutoDrawable drawable)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### GLDrawableUtil.ReshapeGLEventListener

          public GLDrawableUtil.ReshapeGLEventListener(GLEventListener listener,
                                               boolean displayAfterReshape)

      Parameters:
        `listener` -
        `displayAfterReshape` - `true` to issue `GLEventListener.display(GLAutoDrawable)` after `GLEventListener.reshape(GLAutoDrawable, int, int, int, int)`, otherwise false.

  - ### Method Detail

    - #### run

          public boolean run(GLAutoDrawable drawable)

      Specified by:
        `run` in interface `GLRunnable`
      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 call `display(GLAutoDrawable)` of all registered `GLEventListener`s once more.
      See Also:
        `GLRunnable`

Copyright 2010 JogAmp Community.