javax.media.nativewindow

## Interface UpstreamSurfaceHook.MutableSize

- All Superinterfaces:
    UpstreamSurfaceHook
  All Known Implementing Classes:
    DelegatedUpstreamSurfaceHookMutableSize, UpstreamSurfaceHookMutableSize, UpstreamWindowHookMutableSizePos
  Enclosing interface:
    UpstreamSurfaceHook

      public static interface UpstreamSurfaceHook.MutableSize
      extends UpstreamSurfaceHook

  `UpstreamSurfaceHook` w/ mutable size, allowing it's `ProxySurface` user to resize.

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface javax.media.nativewindow.UpstreamSurfaceHook

      `UpstreamSurfaceHook.MutableSize`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `setSurfaceSize(int width, int height)` Resizes the upstream surface.

    - ### Methods inherited from interface javax.media.nativewindow.UpstreamSurfaceHook

      `create, destroy, getSurfaceHeight, getSurfaceWidth, getUpstreamSurface`

- - ### Method Detail

    - #### setSurfaceSize

          void setSurfaceSize(int width,
                            int height)

      Resizes the upstream surface.
      Parameters:
        `width` - new width in pixel units
        `height` - new height in pixel units

Copyright 2010 JogAmp Community.