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

Quick Search    Search Deep

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

java.lang.Object
  extended byorg.libsdl.event.SDLMouseState

public class SDLMouseState
extends java.lang.Object

The SDLMouseState represents a snapshot of the mouse state.

Version:
$revision$

Field Summary
private  short mask
           
private  int x
           
private  int y
           
 
Constructor Summary
SDLMouseState(short mask, int x, int y)
          Constructs a new SDLMouseState with the given mask, x, and y parameters
 
Method Summary
 short getMask()
          Return the mask.
 int getX()
          Return the x value.
 int getY()
          Return the y value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mask

private short mask

x

private int x

y

private int y
Constructor Detail

SDLMouseState

public SDLMouseState(short mask,
                     int x,
                     int y)
Constructs a new SDLMouseState with the given mask, x, and y parameters

Method Detail

getMask

public short getMask()
Return the mask.


getX

public int getX()
Return the x value.


getY

public int getY()
Return the y value.