Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.libsdl.event
Class SDLResizeEvent  view SDLResizeEvent download SDLResizeEvent.java

java.lang.Object
  extended byorg.libsdl.event.SDLEvent
      extended byorg.libsdl.event.SDLResizeEvent

public class SDLResizeEvent
extends SDLEvent

The SDLResizeEvent represents a window resize event.

Version:
$revision$

Field Summary
private  int h
           
private  int w
           
 
Fields inherited from class org.libsdl.event.SDLEvent
SDL_ACTIVEEVENT, SDL_EVENT_RESERVED1, SDL_EVENT_RESERVED2, SDL_EVENT_RESERVED3, SDL_EVENT_RESERVED4, SDL_EVENT_RESERVED5, SDL_EVENT_RESERVED6, SDL_EVENT_RESERVED7, SDL_EVENT_RESERVEDA, SDL_EVENT_RESERVEDB, SDL_JOYAXISMOTION, SDL_JOYBALLMOTION, SDL_JOYBUTTONDOWN, SDL_JOYBUTTONUP, SDL_JOYHATMOTION, SDL_KEYDOWN, SDL_KEYUP, SDL_MOUSEBUTTONDOWN, SDL_MOUSEBUTTONUP, SDL_MOUSEMOTION, SDL_NOEVENT, SDL_NUMEVENTS, SDL_QUIT, SDL_SYSWMEVENT, SDL_USEREVENT, SDL_VIDEORESIZE
 
Constructor Summary
SDLResizeEvent(short type, int w, int h)
          Constructs a new SDLResizeEvent with the given type, width, and height parameters.
 
Method Summary
 int getHeight()
          Return the height of this resize event.
 int getWidth()
          Return the width of this resize event.
 
Methods inherited from class org.libsdl.event.SDLEvent
getSubType, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

w

private int w

h

private int h
Constructor Detail

SDLResizeEvent

public SDLResizeEvent(short type,
                      int w,
                      int h)
Constructs a new SDLResizeEvent with the given type, width, and height parameters.

Method Detail

getWidth

public int getWidth()
Return the width of this resize event.


getHeight

public int getHeight()
Return the height of this resize event.