Class UpstreamWindowHookMutableSizePos

java.lang.Object
com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize
com.jogamp.nativewindow.UpstreamWindowHookMutableSizePos
All Implemented Interfaces:
UpstreamSurfaceHook, UpstreamSurfaceHook.MutableSize

public class UpstreamWindowHookMutableSizePos extends UpstreamSurfaceHookMutableSize
  • Constructor Details

    • UpstreamWindowHookMutableSizePos

      public UpstreamWindowHookMutableSizePos(int winX, int winY, int winWidth, int winHeight, int pixWidth, int pixHeight)
      Parameters:
      winX - initial window x-pos
      winY - initial window y-pos
      winWidth - initial window width
      winHeight - initial window height
      pixWidth - initial surface pixel width, FIXME: pixel-dim == window-dim 'for now' ?
      pixHeight - initial surface pixel height, FIXME: pixel-dim == window-dim 'for now' ?
  • Method Details

    • setWinPos

      public final void setWinPos(int winX, int winY)
    • setWinSize

      public final void setWinSize(int winWidth, int winHeight)
    • getX

      public final int getX()
    • getY

      public final int getY()
    • getWidth

      public final int getWidth()
    • getHeight

      public final int getHeight()
    • toString

      public String toString()
      Overrides:
      toString in class UpstreamSurfaceHookMutableSize