com.jogamp.nativewindow
Class UpstreamSurfaceHookMutableSizePos

java.lang.Object
  extended by com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize
      extended by com.jogamp.nativewindow.UpstreamSurfaceHookMutableSizePos
All Implemented Interfaces:
UpstreamSurfaceHook, UpstreamSurfaceHook.MutableSize

public class UpstreamSurfaceHookMutableSizePos
extends UpstreamSurfaceHookMutableSize


Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.media.nativewindow.UpstreamSurfaceHook
UpstreamSurfaceHook.MutableSize
 
Constructor Summary
UpstreamSurfaceHookMutableSizePos(int x, int y, int width, int height)
           
 
Method Summary
 int getX()
           
 int getY()
           
 void setPos(int x, int y)
           
 String toString()
           
 
Methods inherited from class com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize
create, destroy, getHeight, getWidth, setSize
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UpstreamSurfaceHookMutableSizePos

public UpstreamSurfaceHookMutableSizePos(int x,
                                         int y,
                                         int width,
                                         int height)
Parameters:
width - initial width
height - initial height
Method Detail

setPos

public final void setPos(int x,
                         int y)

getX

public final int getX()

getY

public final int getY()

toString

public String toString()
Overrides:
toString in class UpstreamSurfaceHookMutableSize


Copyright 2010 JogAmp Community.