Main Page | Namespace List | Class Hierarchy | Data Structures | Directories | File List | Data Fields

sdl4gcj::input::Joystick Class Reference

Inheritance diagram for sdl4gcj::input::Joystick:

Inheritance graph
[legend]
Collaboration diagram for sdl4gcj::input::Joystick:

Collaboration graph
[legend]

Public Member Functions

int getIndex ()
native boolean isOpened ()
native void open ()
native void close ()
native String getName ()
native int getNumAxes ()
native int getNumBalls ()
native int getNumHats ()
native int getNumButtons ()
native int getAxis (int axisIndex)
native int getBallDX (int ballIndex)
native int getBallDY (int ballIndex)
native int getHat (int hatIndex)
native int getButton (int butotnIndex)
String toString ()

Static Public Member Functions

static native int getNumJoysticks ()
static Joystick getJoystick (int index)
static Joystick getJoystick ()
static Joystick[] getAllJoysticks ()

Protected Member Functions

void finalize () throws Throwable

Private Member Functions

 Joystick (int joystickIndex)

Static Private Member Functions

static Joystick[] getJoysticks ()
static SDLException createNotOpenedException (int index, String name)

Private Attributes

int index
gnu.gcj.RawData implementation

Static Private Attributes

static Joystick[] joysticks = null

Constructor & Destructor Documentation

sdl4gcj::input::Joystick::Joystick int  joystickIndex  )  [inline, private]
 


Member Function Documentation

native void sdl4gcj::input::Joystick::close  ) 
 

static SDLException sdl4gcj::input::Joystick::createNotOpenedException int  index,
String  name
[inline, static, private]
 

void sdl4gcj::input::Joystick::finalize  )  throws Throwable [inline, protected]
 

static Joystick [] sdl4gcj::input::Joystick::getAllJoysticks  )  [inline, static]
 

native int sdl4gcj::input::Joystick::getAxis int  axisIndex  ) 
 

native int sdl4gcj::input::Joystick::getBallDX int  ballIndex  ) 
 

native int sdl4gcj::input::Joystick::getBallDY int  ballIndex  ) 
 

native int sdl4gcj::input::Joystick::getButton int  butotnIndex  ) 
 

native int sdl4gcj::input::Joystick::getHat int  hatIndex  ) 
 

int sdl4gcj::input::Joystick::getIndex  )  [inline]
 

static Joystick sdl4gcj::input::Joystick::getJoystick  )  [inline, static]
 

static Joystick sdl4gcj::input::Joystick::getJoystick int  index  )  [inline, static]
 

static Joystick [] sdl4gcj::input::Joystick::getJoysticks  )  [inline, static, private]
 

native String sdl4gcj::input::Joystick::getName  ) 
 

native int sdl4gcj::input::Joystick::getNumAxes  ) 
 

native int sdl4gcj::input::Joystick::getNumBalls  ) 
 

native int sdl4gcj::input::Joystick::getNumButtons  ) 
 

native int sdl4gcj::input::Joystick::getNumHats  ) 
 

static native int sdl4gcj::input::Joystick::getNumJoysticks  )  [static]
 

native boolean sdl4gcj::input::Joystick::isOpened  ) 
 

native void sdl4gcj::input::Joystick::open  ) 
 

String sdl4gcj::input::Joystick::toString  )  [inline]
 


Field Documentation

gnu.gcj.RawData sdl4gcj::input::Joystick::implementation [private]
 

int sdl4gcj::input::Joystick::index [private]
 

Joystick [] sdl4gcj::input::Joystick::joysticks = null [static, private]
 


The documentation for this class was generated from the following file:
Generated on Tue Jul 19 19:29:13 2005 for sdl4gcj by  doxygen 1.4.3