|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sdljava.event.SDLEvent sdljava.event.SDLResizeEvent
public class SDLResizeEvent
SDL_ResizeEvent is a member of the SDL_Event union and is used when an event of type SDL_VIDEORESIZE is reported.
When SDL_RESIZABLE is passed as a flag to SDL_SetVideoMode the user is allowed to resize the applications window. When the window is resized an SDL_VIDEORESIZE is reported, with the new window width and height values stored in w and h respectively. When an SDL_VIDEORESIZE is recieved the window should be resized to the new dimensions using SDL_SetVideoMode.
Field Summary | |
---|---|
(package private) SDL_ResizeEvent |
swigResizeEvent
|
Constructor Summary | |
---|---|
SDLResizeEvent()
|
Method Summary | |
---|---|
int |
getHeight()
Get the new height |
SDL_ResizeEvent |
getSwigResizeEvent()
Gets the value of swigResizeEvent |
int |
getType()
The type of the this event |
int |
getWidth()
Get the new width |
void |
setSwigResizeEvent(SDL_ResizeEvent argSwigResizeEvent)
Sets the value of swigResizeEvent |
Methods inherited from class sdljava.event.SDLEvent |
---|
enableKeyRepeat, enableUNICODE, eventState, getAppState, getKeyName, getModState, getMouseState, getRelativeMouseState, joystickEventState, pollEvent, pollEvent, processEvent, pumpEvents, setModState, waitEvent, waitEvent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
SDL_ResizeEvent swigResizeEvent
Constructor Detail |
---|
public SDLResizeEvent()
Method Detail |
---|
public SDL_ResizeEvent getSwigResizeEvent()
public void setSwigResizeEvent(SDL_ResizeEvent argSwigResizeEvent)
argSwigResizeEvent
- Value to assign to this.swigResizeEventpublic int getWidth()
public int getHeight()
public int getType()
getType
in class SDLEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |