sdljava.event

Class SDLQuitEvent

public class SDLQuitEvent extends SDLEvent

As can be seen, the SDL_QuitEvent structure serves no useful purpose. The event itself, on the other hand, is very important. If you filter out or ignore a quit event then it is impossible for the user to close the window. On the other hand, if you do accept a quit event then the application window will be closed, and screen updates will still report success event though the application will no longer be visible.

Version: $Id: SDLQuitEvent.java,v 1.7 2005/01/25 02:50:45 ivan_ganza Exp $

Author: Ivan Z. Ganza

Field Summary
SDL_QuitEventswigQuitEvent
Method Summary
SDL_QuitEventgetSwigQuitEvent()
Gets the value of swigQuitEvent
intgetType()
The type of the this event
voidsetSwigQuitEvent(SDL_QuitEvent argSwigQuitEvent)
Sets the value of swigQuitEvent

Field Detail

swigQuitEvent

SDL_QuitEvent swigQuitEvent

Method Detail

getSwigQuitEvent

public SDL_QuitEvent getSwigQuitEvent()
Gets the value of swigQuitEvent

Returns: the value of swigQuitEvent

getType

public int getType()
The type of the this event

Returns: The type of event

setSwigQuitEvent

public void setSwigQuitEvent(SDL_QuitEvent argSwigQuitEvent)
Sets the value of swigQuitEvent

Parameters: argSwigQuitEvent Value to assign to this.swigQuitEvent