|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SDLEvent | |
---|---|
sdljava.event | Provides the interface to SDL event management defined int SDL_events.h |
sdljavax.gui |
Uses of SDLEvent in sdljava.event |
---|
Subclasses of SDLEvent in sdljava.event | |
---|---|
class |
DummyEvent
|
class |
SDLActiveEvent
When the mouse leaves or enters the window area a SDL_APPMOUSEFOCUS type activation event occurs, if the mouse entered the window then gain will be 1, otherwise gain will be 0. |
class |
SDLExposeEvent
SDL_ExposeEvent is a member of the SDL_Event union and is used whan an event of type SDL_VIDEOEXPOSE is reported. |
class |
SDLJoyAxisEvent
A SDLJoyAxisEvent event occurs whenever a user moves an axis on the joystick. |
class |
SDLJoyBallEvent
A SDLJoyBallEvent event occurs when a user moves a trackball on the joystick. |
class |
SDLJoyButtonEvent
A SDLJoyButtonEvent event occurs when ever a user presses or releases a button on a joystick. |
class |
SDLJoyHatEvent
A SDLJoyHatEvent event occurs when ever a user moves a hat on the joystick. |
class |
SDLKeyboardEvent
A keyboard event occurs when a key is released (type=SDK_KEYUP or state=SDL_RELEASED) and when a key is pressed (type=SDL_KEYDOWN or state=SDL_PRESSED). |
class |
SDLMouseButtonEvent
When a mouse button press or release is detected then number of the button pressed (from 1 to 255, with 1 usually being the left button and 2 the right) is placed into button, the position of the mouse when this event occured is stored in the x and the y fields. |
class |
SDLMouseMotionEvent
Simply put, a SDL_MOUSEMOTION type event occurs when a user moves the mouse within the application window or when SDL_WarpMouse is called. |
class |
SDLQuitEvent
As can be seen, the SDL_QuitEvent structure serves no useful purpose. |
class |
SDLResizeEvent
SDL_ResizeEvent is a member of the SDL_Event union and is used when an event of type SDL_VIDEORESIZE is reported. |
class |
SDLSysWMEvent
Platform-dependent window manager event. |
class |
SDLUserEvent
This event is unique, it is never created by SDL but only by the user. |
Methods in sdljava.event that return SDLEvent | |
---|---|
static SDLEvent |
SDLEvent.pollEvent()
Polls for currently pending events. |
static SDLEvent |
SDLEvent.pollEvent(boolean returnEvent)
Polls for currently pending events. |
(package private) static SDLEvent |
SDLEvent.processEvent(SDL_Event swigEvent)
|
static SDLEvent |
SDLEvent.waitEvent()
Waits indefinitely for the next available event |
static SDLEvent |
SDLEvent.waitEvent(boolean returnEvent)
Waits indefinitely for the next available event |
Methods in sdljava.event with parameters of type SDLEvent | |
---|---|
void |
SDLEventListener.handleEvent(SDLEvent event)
Called when an SDLEvent occurs |
void |
SDLEventManager.notifyEvent(SDLEvent event)
Notify all listeners registered for the event type of the new SDLEvent. |
Uses of SDLEvent in sdljavax.gui |
---|
Methods in sdljavax.gui with parameters of type SDLEvent | |
---|---|
void |
Button.handleEvent(SDLEvent event)
|
void |
Container.handleEvent(SDLEvent event)
|
void |
ListBox.handleEvent(SDLEvent event)
|
void |
Widget.handleEvent(SDLEvent event)
Describe handleEvent method here. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |