Logo Search packages:      
Sourcecode: jinput version File versions  Download package

net::java::games::input::Mouse Class Reference

Inheritance diagram for net::java::games::input::Mouse:

net::java::games::input::AbstractController net::java::games::input::Controller net::java::games::input::AWTMouse net::java::games::input::DIMouse net::java::games::input::LinuxMouse net::java::games::input::OSXMouse net::java::games::input::RawMouse

List of all members.

Detailed Description

A Mouse is a type of controller consisting of two child controllers, a ball and a button pad. This includes devices such as touch pads, trackballs, and fingersticks.

Definition at line 49 of file Mouse.java.

Public Member Functions

Component getBack ()
Component getButton3 ()
Component getButton4 ()
final Component getComponent (Component.Identifier id)
final Component[] getComponents ()
final Controller[] getControllers ()
final EventQueue getEventQueue ()
Component getExtra ()
Component getForward ()
Component getLeft ()
Component getMiddle ()
final String getName ()
int getPortNumber ()
PortType getPortType ()
Component getPrimaryButton ()
Component getRight ()
final Rumbler[] getRumblers ()
Component getSecondaryButton ()
Component getSide ()
Component getTertiaryButton ()
Type getType ()
Component getWheel ()
Component getX ()
Component getY ()
synchronized boolean poll ()
final void setEventQueueSize (int size)
String toString ()

Protected Member Functions

abstract boolean getNextDeviceEvent (Event event) throws IOException
 Mouse (String name, Component[] components, Controller[] children, Rumbler[] rumblers)
void pollDevice () throws IOException
void setDeviceEventQueueSize (int size) throws IOException

Static Package Attributes

static final int EVENT_QUEUE_DEPTH = 32

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index