Package com.jogamp.nativewindow
Class UpstreamWindowHookMutableSizePos
- java.lang.Object
-
- com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize
-
- com.jogamp.nativewindow.UpstreamWindowHookMutableSizePos
-
- All Implemented Interfaces:
UpstreamSurfaceHook,UpstreamSurfaceHook.MutableSize
public class UpstreamWindowHookMutableSizePos extends UpstreamSurfaceHookMutableSize
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.jogamp.nativewindow.UpstreamSurfaceHook
UpstreamSurfaceHook.MutableSize
-
-
Constructor Summary
Constructors Constructor Description UpstreamWindowHookMutableSizePos(int winX, int winY, int winWidth, int winHeight, int pixWidth, int pixHeight)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetHeight()intgetWidth()intgetX()intgetY()voidsetWinPos(int winX, int winY)voidsetWinSize(int winWidth, int winHeight)StringtoString()-
Methods inherited from class com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize
create, destroy, getSurfaceHeight, getSurfaceWidth, getUpstreamSurface, setSurfaceSize
-
-
-
-
Constructor Detail
-
UpstreamWindowHookMutableSizePos
public UpstreamWindowHookMutableSizePos(int winX, int winY, int winWidth, int winHeight, int pixWidth, int pixHeight)- Parameters:
winX- initial window x-poswinY- initial window y-poswinWidth- initial window widthwinHeight- initial window heightpixWidth- initial surface pixel width, FIXME: pixel-dim == window-dim 'for now' ?pixHeight- initial surface pixel height, FIXME: pixel-dim == window-dim 'for now' ?
-
-
Method Detail
-
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:
toStringin classUpstreamSurfaceHookMutableSize
-
-