Main Page | Namespace List | Class Hierarchy | Data Structures | 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

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

Protected Member Functions

void finalize () throws Throwable

Private Member Functions

 Joystick (int joystickIndex)

Static Private Member Functions

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

Private Attributes

int index
gnu.gcj.RawData implementation

Static Private Attributes

Joystick[] joysticks = null

Constructor & Destructor Documentation

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


Member Function Documentation

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

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

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

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]
 

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

Joystick sdl4gcj::input::Joystick::getJoystick int  index  )  [inline, 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  ) 
 

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 Wed Dec 22 18:13:21 2004 for sdl4gcj by doxygen 1.3.7