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

Quick Search    Search Deep

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

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

public class SDLActiveEvent
extends SDLEvent

The SDLActiveEvent represents an application visibility event.

Version:
$revision$

Field Summary
private  short gain
           
private  short state
           
 
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
SDLActiveEvent(short type, short gain, short state)
          Constructs a new SDLActiveEvent with the given type, gain, and state parameters.
 
Method Summary
 short getGain()
          Return the gain of this active event.
 short getState()
          Return the state of this active 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

gain

private short gain

state

private short state
Constructor Detail

SDLActiveEvent

public SDLActiveEvent(short type,
                      short gain,
                      short state)
Constructs a new SDLActiveEvent with the given type, gain, and state parameters.

Method Detail

getGain

public short getGain()
Return the gain of this active event.


getState

public short getState()
Return the state of this active event.