diff --git a/WiiuseJ/doc/allclasses-frame.html b/WiiuseJ/doc/allclasses-frame.html deleted file mode 100644 index fdc2c10..0000000 --- a/WiiuseJ/doc/allclasses-frame.html +++ /dev/null @@ -1,45 +0,0 @@ - - - -
- -| GForce
- -Orientation - -Point2DInteger - -Tests - -WiiMoteEvent - -WiiUseApi - -WiiUseApiListener - -WiiUseApiManager - - |
-
| GForce
- -Orientation - -Point2DInteger - -Tests - -WiiMoteEvent - -WiiUseApi - -WiiUseApiListener - -WiiUseApiManager - - |
-
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
- ---The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.
- ---Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:
-
-- Interfaces (italic)
- Classes
- Enums
- Exceptions
- Errors
- Annotation Types
- -- --Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
-
-Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.- Class inheritance diagram
- Direct Subclasses
- All Known Subinterfaces
- All Known Implementing Classes
- Class/interface declaration
- Class/interface description -
-
- Nested Class Summary
- Field Summary
- Constructor Summary
- Method Summary -
-
- Field Detail
- Constructor Detail
- Method Detail
- -- --Each annotation type has its own separate page with the following sections:
-
-- Annotation Type declaration
- Annotation Type description
- Required Element Summary
- Optional Element Summary
- Element Detail
- ---Each enum has its own separate page with the following sections:
-
-- Enum declaration
- Enum description
- Enum Constant Summary
- Enum Constant Detail
-Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.-
-There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with-java.lang.Object. The interfaces do not inherit fromjava.lang.Object.-
-- When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
- When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
-The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.-
-The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.-
-
-
-
-
-This help file applies to API documentation generated using the standard doclet.
-
-
-
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV LETTER - NEXT LETTER | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV LETTER - NEXT LETTER | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV LETTER - NEXT LETTER | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV LETTER - NEXT LETTER | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV LETTER - NEXT LETTER | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV LETTER - NEXT LETTER | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV LETTER - NEXT LETTER | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV LETTER - NEXT LETTER | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV LETTER - NEXT LETTER | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV LETTER - NEXT LETTER | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV LETTER - NEXT LETTER | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV LETTER - NEXT LETTER | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV LETTER - NEXT LETTER | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV LETTER - NEXT LETTER | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV LETTER - NEXT LETTER | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV LETTER - NEXT LETTER | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV LETTER - NEXT LETTER | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV LETTER - NEXT LETTER | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV LETTER - NEXT LETTER | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV LETTER - NEXT LETTER | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV LETTER - NEXT LETTER | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV LETTER - NEXT LETTER | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV LETTER - NEXT LETTER | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV LETTER - NEXT LETTER | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV LETTER - NEXT LETTER | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV LETTER - NEXT LETTER | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV LETTER - NEXT LETTER | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV LETTER - NEXT LETTER | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV LETTER - NEXT LETTER | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV LETTER - NEXT LETTER | -- FRAMES - NO FRAMES - - - - - | -|||||||||
| - | -
|---|
| All Classes - | -
- - - diff --git a/WiiuseJ/doc/overview-summary.html b/WiiuseJ/doc/overview-summary.html deleted file mode 100644 index 4de0dff..0000000 --- a/WiiuseJ/doc/overview-summary.html +++ /dev/null @@ -1,160 +0,0 @@ - - - -
- -
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
| -Packages | -|
|---|---|
| tests | -- |
| wiiusej | -- |
-
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV CLASS - NEXT CLASS | -- FRAMES - NO FRAMES - - - - - | -|||||||||
| - SUMMARY: NESTED | FIELD | CONSTR | METHOD | --DETAIL: FIELD | CONSTR | METHOD | -|||||||||
-java.lang.Object --tests.Tests -
public class Tests
-
| -Constructor Summary | -|
|---|---|
Tests()
-
-- |
-|
| -Method Summary | -|
|---|---|
-static void |
-main(java.lang.String[] args)
-
-- |
-
- void |
-wiimoteEvent(WiiMoteEvent e)
-
-- |
-
| Methods inherited from class java.lang.Object | -
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
-
| -Constructor Detail | -
|---|
-public Tests()-
| -Method Detail | -
|---|
-public void wiimoteEvent(WiiMoteEvent e)-
wiimoteEvent in interface WiiUseApiListener-public static void main(java.lang.String[] args)-
args -
-
-
|
-- - | -|||||||||
| - PREV CLASS - NEXT CLASS | -- FRAMES - NO FRAMES - - - - - | -|||||||||
| - SUMMARY: NESTED | FIELD | CONSTR | METHOD | --DETAIL: FIELD | CONSTR | METHOD | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
|
-Classes
-
- -Tests |
-
-
-
|
-- - | -|||||||||
| - PREV PACKAGE - NEXT PACKAGE | -- FRAMES - NO FRAMES - - - - - | -|||||||||
| -Class Summary | -|
|---|---|
| Tests | -- |
-
-
-
|
-- - | -|||||||||
| - PREV PACKAGE - NEXT PACKAGE | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV CLASS - NEXT CLASS | -- FRAMES - NO FRAMES - - - - - | -|||||||||
| - SUMMARY: NESTED | FIELD | CONSTR | METHOD | --DETAIL: FIELD | CONSTR | METHOD | -|||||||||
-java.lang.Object --wiiusej.GForce -
public class GForce
-Represents gravity force on each axis. -
- -
-
| -Constructor Summary | -|
|---|---|
GForce()
-
-- Default constructor; |
-|
GForce(float xx,
- float yy,
- float zz)
-
-- Constructor with gravity force on each axis. |
-|
| -Method Summary | -|
|---|---|
- float |
-getX()
-
-- |
-
- float |
-getY()
-
-- |
-
- float |
-getZ()
-
-- |
-
- void |
-setX(float x)
-
-- |
-
- void |
-setY(float y)
-
-- |
-
- void |
-setZ(float z)
-
-- |
-
- java.lang.String |
-toString()
-
-- |
-
| Methods inherited from class java.lang.Object | -
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
-
| -Constructor Detail | -
|---|
-public GForce()-
-
-public GForce(float xx, - float yy, - float zz)-
-
xx - x valueyy - x valuezz - x value| -Method Detail | -
|---|
-public float getX()-
-public void setX(float x)-
x - the x to set-public float getY()-
-public void setY(float y)-
y - the y to set-public float getZ()-
-public void setZ(float z)-
z - the z to set-public java.lang.String toString()-
toString in class java.lang.Object
-
-
|
-- - | -|||||||||
| - PREV CLASS - NEXT CLASS | -- FRAMES - NO FRAMES - - - - - | -|||||||||
| - SUMMARY: NESTED | FIELD | CONSTR | METHOD | --DETAIL: FIELD | CONSTR | METHOD | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV CLASS - NEXT CLASS | -- FRAMES - NO FRAMES - - - - - | -|||||||||
| - SUMMARY: NESTED | FIELD | CONSTR | METHOD | --DETAIL: FIELD | CONSTR | METHOD | -|||||||||
-java.lang.Object --wiiusej.Orientation -
public class Orientation
-Class that represents the orientation of the wiimote. -
- -
-
| -Constructor Summary | -|
|---|---|
Orientation()
-
-- Default constructor. |
-|
Orientation(float r,
- float p,
- float y)
-
-- Contructor with raw, pitch , yaw. |
-|
| -Method Summary | -|
|---|---|
- float |
-getPitch()
-
-- |
-
- float |
-getRoll()
-
-- |
-
- float |
-getYaw()
-
-- |
-
- void |
-setPitch(float pitch)
-
-- |
-
- void |
-setRoll(float roll)
-
-- |
-
- void |
-setYaw(float yaw)
-
-- |
-
- java.lang.String |
-toString()
-
-- |
-
| Methods inherited from class java.lang.Object | -
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
-
| -Constructor Detail | -
|---|
-public Orientation()-
-
-public Orientation(float r, - float p, - float y)-
-
r - rawp - pitchy - yaw| -Method Detail | -
|---|
-public float getRoll()-
-public void setRoll(float roll)-
roll - the roll to set-public float getPitch()-
-public void setPitch(float pitch)-
pitch - the pitch to set-public float getYaw()-
-public void setYaw(float yaw)-
yaw - the yaw to set-public java.lang.String toString()-
toString in class java.lang.Object
-
-
|
-- - | -|||||||||
| - PREV CLASS - NEXT CLASS | -- FRAMES - NO FRAMES - - - - - | -|||||||||
| - SUMMARY: NESTED | FIELD | CONSTR | METHOD | --DETAIL: FIELD | CONSTR | METHOD | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV CLASS - NEXT CLASS | -- FRAMES - NO FRAMES - - - - - | -|||||||||
| - SUMMARY: NESTED | FIELD | CONSTR | METHOD | --DETAIL: FIELD | CONSTR | METHOD | -|||||||||
-java.lang.Object --java.awt.geom.Point2D -
wiiusej.Point2DInteger -
public class Point2DInteger
-
| -Nested Class Summary | -
|---|
| Nested classes/interfaces inherited from class java.awt.geom.Point2D | -
|---|
java.awt.geom.Point2D.Double, java.awt.geom.Point2D.Float |
-
| -Constructor Summary | -|
|---|---|
Point2DInteger(int xx,
- int yy)
-
-- |
-|
| -Method Summary | -|
|---|---|
- double |
-getX()
-
-- |
-
- double |
-getY()
-
-- |
-
- void |
-setLocation(double xx,
- double yy)
-
-- |
-
- java.lang.String |
-toString()
-
-- |
-
| Methods inherited from class java.awt.geom.Point2D | -
|---|
clone, distance, distance, distance, distanceSq, distanceSq, distanceSq, equals, hashCode, setLocation |
-
| Methods inherited from class java.lang.Object | -
|---|
getClass, notify, notifyAll, wait, wait, wait |
-
| -Constructor Detail | -
|---|
-public Point2DInteger(int xx, - int yy)-
| -Method Detail | -
|---|
-public double getX()-
getX in class java.awt.geom.Point2D-public double getY()-
getY in class java.awt.geom.Point2D-public void setLocation(double xx, - double yy)-
setLocation in class java.awt.geom.Point2D-public java.lang.String toString()-
toString in class java.lang.Object
-
-
|
-- - | -|||||||||
| - PREV CLASS - NEXT CLASS | -- FRAMES - NO FRAMES - - - - - | -|||||||||
| - SUMMARY: NESTED | FIELD | CONSTR | METHOD | --DETAIL: FIELD | CONSTR | METHOD | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV CLASS - NEXT CLASS | -- FRAMES - NO FRAMES - - - - - | -|||||||||
| - SUMMARY: NESTED | FIELD | CONSTR | METHOD | --DETAIL: FIELD | CONSTR | METHOD | -|||||||||
-java.lang.Object --wiiusej.WiiMoteEvent -
public class WiiMoteEvent
-Class that is a bean to be filled by the wiiuse API. -
- -
-
| -Constructor Summary | -|
|---|---|
WiiMoteEvent()
-
-- Default constructor |
-|
WiiMoteEvent(int id)
-
-- Construct the Wiimote setting up the id. |
-|
| -Method Summary | -|
|---|---|
- void |
-addIRpoint(int x,
- int y)
-
-- Add IR Point in the list (Max 4 points) |
-
- void |
-EmptyIRPoints()
-
-- Clear IR points. |
-
- float |
-getBatteryLevel()
-
-- Get battery level. |
-
- short |
-getButtonsHeld()
-
-- get the int storing the buttons held |
-
- short |
-getButtonsJustPressed()
-
-- Get the int storing the buttons just pressed |
-
- short |
-getButtonsJustReleased()
-
-- Get the int storing the buttons just released |
-
- GForce |
-getGforce()
-
-- Get the gravity force. |
-
- Point2DInteger[] |
-getIRPoints()
-
-- Get list of IR points. |
-
- short |
-getLeds()
-
-- Get status of the leds . |
-
- Orientation |
-getOrientation()
-
-- |
-
- int |
-getWiimoteId()
-
-- Get Wiimote ID |
-
- boolean |
-isButtonAHeld()
-
-- |
-
- boolean |
-isButtonAJustPressed()
-
-- |
-
- boolean |
-isButtonAJustReleased()
-
-- |
-
- boolean |
-isButtonBHeld()
-
-- |
-
- boolean |
-isButtonBJustPressed()
-
-- |
-
- boolean |
-isButtonBJustReleased()
-
-- |
-
- boolean |
-isButtonDownHeld()
-
-- |
-
- boolean |
-isButtonDownJustPressed()
-
-- |
-
- boolean |
-isButtonDownJustReleased()
-
-- |
-
- boolean |
-isButtonHomeHeld()
-
-- |
-
- boolean |
-isButtonHomeJustPressed()
-
-- |
-
- boolean |
-isButtonHomeJustReleased()
-
-- |
-
- boolean |
-isButtonLeftHeld()
-
-- |
-
- boolean |
-isButtonLeftJustPressed()
-
-- |
-
- boolean |
-isButtonLeftJustReleased()
-
-- |
-
- boolean |
-isButtonMinusHeld()
-
-- |
-
- boolean |
-isButtonMinusJustPressed()
-
-- |
-
- boolean |
-isButtonMinusJustReleased()
-
-- |
-
- boolean |
-isButtonOneHeld()
-
-- |
-
- boolean |
-isButtonOneJustPressed()
-
-- |
-
- boolean |
-isButtonOneJustReleased()
-
-- |
-
- boolean |
-isButtonPlusHeld()
-
-- |
-
- boolean |
-isButtonPlusJustPressed()
-
-- |
-
- boolean |
-isButtonPlusJustReleased()
-
-- |
-
- boolean |
-isButtonRightHeld()
-
-- |
-
- boolean |
-isButtonRightJustPressed()
-
-- |
-
- boolean |
-isButtonRightJustReleased()
-
-- |
-
- boolean |
-isButtonTwoHeld()
-
-- |
-
- boolean |
-isButtonTwoJustPressed()
-
-- |
-
- boolean |
-isButtonTwoJustReleased()
-
-- |
-
- boolean |
-isButtonUpHeld()
-
-- |
-
- boolean |
-isButtonUpJustPressed()
-
-- |
-
- boolean |
-isButtonUpJustReleased()
-
-- |
-
- boolean |
-isConnected()
-
-- True if the wiimote is connected false otherwise. |
-
- boolean |
-isIrActive()
-
-- Tell if the IR Tracking is active. |
-
- boolean |
-isMotionSensingActive()
-
-- Get the flag indicating if the motion sensing is active. |
-
- boolean |
-isRumbleActive()
-
-- Get the status of rumble. |
-
- boolean |
-isSpeakerEnabled()
-
-- Tell if the speaker is enable for this wiimote |
-
- boolean |
-isThereAttachment()
-
-- Tell if there is an attachment to the Wiimote |
-
- void |
-setBatteryLevel(float batteryLevel)
-
-- Set level battery. |
-
- void |
-setButtonsHeld(short buttonsHeld)
-
-- set the int storing the buttons held |
-
- void |
-setButtonsJustPressed(short buttonsJustPressed)
-
-- set the int storing the buttons just pressed |
-
- void |
-setButtonsJustReleased(short buttonsJustReleased)
-
-- set the int storing the buttons just released |
-
- void |
-setConnected()
-
-- Set the connected value to true. |
-
- void |
-setDisconnected()
-
-- Set the connected value to false. |
-
- void |
-setGforce(float x,
- float y,
- float z)
-
-- Set the gravity force. |
-
- void |
-setIrActive()
-
-- Set the value isIrActive to true |
-
- void |
-setIrInactive()
-
-- Set the value isIrActive to true |
-
- void |
-setLeds(short leds)
-
-- Set Status of the leds. |
-
- void |
-setMotionSensingActive()
-
-- Set the motion sensing flag to active. |
-
- void |
-setMotionSensingInactive()
-
-- Set the motion sensing flag to inactive. |
-
- void |
-setOrientation(float r,
- float p,
- float y)
-
-- Set orientation of the wiimote. |
-
- void |
-setRumbleActive()
-
-- Set Rumble flag to Active. |
-
- void |
-setRumbleInactive()
-
-- Set Rumble flag to Inactive. |
-
- void |
-setSpeakerDisabled()
-
-- Set the flag for the speaker to "disabled" |
-
- void |
-setSpeakerEnabled()
-
-- Set the flag for the speaker to "enabled" |
-
- void |
-setThereIsAnAttachment()
-
-- Set the flag for the attachment to true |
-
- void |
-setThereIsNoAttachment()
-
-- Set the flag for the attachment to false |
-
- void |
-setWiimoteId(int wiimoteId)
-
-- Set Wiimote ID |
-
- java.lang.String |
-toString()
-
-- |
-
| Methods inherited from class java.lang.Object | -
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
-
| -Constructor Detail | -
|---|
-public WiiMoteEvent()-
-
-public WiiMoteEvent(int id)-
-
id - the Wiimote id| -Method Detail | -
|---|
-public int getWiimoteId()-
-
-public void setWiimoteId(int wiimoteId)-
-
wiimoteId - id of the wiimote-public boolean isConnected()-
-
-public void setConnected()-
-
-public void setDisconnected()-
-
-public float getBatteryLevel()-
-
-public void setBatteryLevel(float batteryLevel)-
-
batteryLevel - must be between 0 and 1-public short getLeds()-
-
-public void setLeds(short leds)-
-
leds - -public boolean isSpeakerEnabled()-
-
-public void setSpeakerEnabled()-
-
-public void setSpeakerDisabled()-
-
-public boolean isThereAttachment()-
-
-public void setThereIsAnAttachment()-
-
-public void setThereIsNoAttachment()-
-
-public boolean isRumbleActive()-
-
-public void setRumbleActive()-
-
-public void setRumbleInactive()-
-
-public short getButtonsJustPressed()-
-
-public void setButtonsJustPressed(short buttonsJustPressed)-
-
buttonsJustPressed - -public short getButtonsJustReleased()-
-
-public void setButtonsJustReleased(short buttonsJustReleased)-
-
buttonsJustReleased - -public short getButtonsHeld()-
-
-public void setButtonsHeld(short buttonsHeld)-
-
buttonsHeld - -public boolean isIrActive()-
-
-public void setIrActive()-
-
-public void setIrInactive()-
-
-public Point2DInteger[] getIRPoints()-
-
-public void addIRpoint(int x, - int y)-
-
x - x valuey - y value-public void EmptyIRPoints()-
-
-public boolean isMotionSensingActive()-
-
-public void setMotionSensingActive()-
-
-public void setMotionSensingInactive()-
-
-public Orientation getOrientation()-
-public void setOrientation(float r, - float p, - float y)-
-
r - rollp - pitchy - yaw-public GForce getGforce()-
-
-public void setGforce(float x, - float y, - float z)-
-
x - gravity force on x axisy - gravity force on y axisz - gravity force on z axis-public boolean isButtonOneJustPressed()-
-public boolean isButtonOneJustReleased()-
-public boolean isButtonOneHeld()-
-public boolean isButtonTwoJustPressed()-
-public boolean isButtonTwoJustReleased()-
-public boolean isButtonTwoHeld()-
-public boolean isButtonAJustPressed()-
-public boolean isButtonAJustReleased()-
-public boolean isButtonAHeld()-
-public boolean isButtonBJustPressed()-
-public boolean isButtonBJustReleased()-
-public boolean isButtonBHeld()-
-public boolean isButtonLeftJustPressed()-
-public boolean isButtonLeftJustReleased()-
-public boolean isButtonLeftHeld()-
-public boolean isButtonRightJustPressed()-
-public boolean isButtonRightJustReleased()-
-public boolean isButtonRightHeld()-
-public boolean isButtonUpJustPressed()-
-public boolean isButtonUpJustReleased()-
-public boolean isButtonUpHeld()-
-public boolean isButtonDownJustPressed()-
-public boolean isButtonDownJustReleased()-
-public boolean isButtonDownHeld()-
-public boolean isButtonMinusJustPressed()-
-public boolean isButtonMinusJustReleased()-
-public boolean isButtonMinusHeld()-
-public boolean isButtonPlusJustPressed()-
-public boolean isButtonPlusJustReleased()-
-public boolean isButtonPlusHeld()-
-public boolean isButtonHomeJustPressed()-
-public boolean isButtonHomeJustReleased()-
-public boolean isButtonHomeHeld()-
-public java.lang.String toString()-
toString in class java.lang.Object
-
-
|
-- - | -|||||||||
| - PREV CLASS - NEXT CLASS | -- FRAMES - NO FRAMES - - - - - | -|||||||||
| - SUMMARY: NESTED | FIELD | CONSTR | METHOD | --DETAIL: FIELD | CONSTR | METHOD | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV CLASS - NEXT CLASS | -- FRAMES - NO FRAMES - - - - - | -|||||||||
| - SUMMARY: NESTED | FIELD | CONSTR | METHOD | --DETAIL: FIELD | CONSTR | METHOD | -|||||||||
-java.lang.Object --wiiusej.WiiUseApi -
public class WiiUseApi
-Singleton used to manipulate WiiUse Api. -
- -
-
| -Constructor Summary | -|
|---|---|
WiiUseApi()
-
-- |
-|
| -Method Summary | -|
|---|---|
-static void |
-main(java.lang.String[] args)
-
-- |
-
| Methods inherited from class java.lang.Object | -
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
-
| -Constructor Detail | -
|---|
-public WiiUseApi()-
| -Method Detail | -
|---|
-public static void main(java.lang.String[] args)-
-
-
|
-- - | -|||||||||
| - PREV CLASS - NEXT CLASS | -- FRAMES - NO FRAMES - - - - - | -|||||||||
| - SUMMARY: NESTED | FIELD | CONSTR | METHOD | --DETAIL: FIELD | CONSTR | METHOD | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV CLASS - NEXT CLASS | -- FRAMES - NO FRAMES - - - - - | -|||||||||
| - SUMMARY: NESTED | FIELD | CONSTR | METHOD | --DETAIL: FIELD | CONSTR | METHOD | -|||||||||
public interface WiiUseApiListener
-
| -Method Summary | -|
|---|---|
- void |
-wiimoteEvent(WiiMoteEvent e)
-
-- |
-
| -Method Detail | -
|---|
-void wiimoteEvent(WiiMoteEvent e)-
-
-
|
-- - | -|||||||||
| - PREV CLASS - NEXT CLASS | -- FRAMES - NO FRAMES - - - - - | -|||||||||
| - SUMMARY: NESTED | FIELD | CONSTR | METHOD | --DETAIL: FIELD | CONSTR | METHOD | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV CLASS - NEXT CLASS | -- FRAMES - NO FRAMES - - - - - | -|||||||||
| - SUMMARY: NESTED | FIELD | CONSTR | METHOD | --DETAIL: FIELD | CONSTR | METHOD | -|||||||||
-java.lang.Object --java.lang.Thread -
wiiusej.WiiUseApiManager -
public class WiiUseApiManager
-
| -Nested Class Summary | -
|---|
| Nested classes/interfaces inherited from class java.lang.Thread | -
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
-
| -Field Summary | -
|---|
| Fields inherited from class java.lang.Thread | -
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
-
| -Constructor Summary | -|
|---|---|
WiiUseApiManager()
-
-- |
-|
| -Method Summary | -|
|---|---|
- void |
-activateIRTRacking(int id)
-
-- Activate IR Tracking for the wiimotes with the given id. |
-
- void |
-activateMotionSensing(int id)
-
-- Activate IR Tracking of the wiimotes with the given id. |
-
- void |
-activateRumble(int id)
-
-- Activate the rumble for the wiimotes with the given id. |
-
- void |
-addWiiUseApiListener(WiiUseApiListener listener)
-
-- |
-
- void |
-closeConnection(int id)
-
-- Ask the thread to close a connection. |
-
- int |
-connectWiimotes()
-
-- Connect wiimote and get the nu ber of wiimotes connected. |
-
- void |
-deactivateIRTRacking(int id)
-
-- Deactivate IR Tracking for the wiimotes with the given id. |
-
- void |
-deactivateMotionSensing(int id)
-
-- |
-
- void |
-deactivateRumble(int id)
-
-- Deactivate the rumble for the wiimotes with the given id. |
-
-static WiiUseApiManager |
-getInstance()
-
-- |
-
- int |
-getNbConnectedWiimotes()
-
-- Get the number of wiimotes connected. |
-
- void |
-getStatus(int id)
-
-- |
-
- WiiUseApiListener[] |
-getWiiUseApiListeners()
-
-- |
-
- boolean |
-loadLibrary()
-
-- Load the wiimote library. |
-
- void |
-notifyWiiUseApiListener(WiiMoteEvent evt)
-
-- |
-
- void |
-removeWiiUseApiListener(WiiUseApiListener listener)
-
-- |
-
- void |
-run()
-
-- |
-
- void |
-shutdown()
-
-- Stop thread and shutdown wiiuse Api. |
-
| Methods inherited from class java.lang.Thread | -
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
-
| Methods inherited from class java.lang.Object | -
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
-
| -Constructor Detail | -
|---|
-public WiiUseApiManager()-
| -Method Detail | -
|---|
-public static WiiUseApiManager getInstance()-
-public boolean loadLibrary()-
-
-public int connectWiimotes()-
-
-public void closeConnection(int id)-
-
id - id of the wiimote to disconnect.-public int getNbConnectedWiimotes()-
-
-public void shutdown()-
-
-public void activateRumble(int id)-
-
id - the id of the wiimote.-public void deactivateRumble(int id)-
-
id - the id of the wiimote.-public void activateIRTRacking(int id)-
-
id - the id of the wiimote.-public void deactivateIRTRacking(int id)-
-
id - the id of the wiimote.-public void activateMotionSensing(int id)-
-
id - the id of the wiimote.-public void deactivateMotionSensing(int id)-
-public void getStatus(int id)-
-public void run()-
run in interface java.lang.Runnablerun in class java.lang.Thread-public void addWiiUseApiListener(WiiUseApiListener listener)-
-public void removeWiiUseApiListener(WiiUseApiListener listener)-
-public WiiUseApiListener[] getWiiUseApiListeners()-
-public void notifyWiiUseApiListener(WiiMoteEvent evt)-
-
-
|
-- - | -|||||||||
| - PREV CLASS - NEXT CLASS | -- FRAMES - NO FRAMES - - - - - | -|||||||||
| - SUMMARY: NESTED | FIELD | CONSTR | METHOD | --DETAIL: FIELD | CONSTR | METHOD | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
| -Packages that use GForce | -|
|---|---|
| wiiusej | -- |
| -Uses of GForce in wiiusej | -
|---|
- -
| Methods in wiiusej that return GForce | -|
|---|---|
- GForce |
-WiiMoteEvent.getGforce()
-
-- Get the gravity force. |
-
-
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
| -Packages that use Orientation | -|
|---|---|
| wiiusej | -- |
| -Uses of Orientation in wiiusej | -
|---|
- -
| Methods in wiiusej that return Orientation | -|
|---|---|
- Orientation |
-WiiMoteEvent.getOrientation()
-
-- |
-
-
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
| -Packages that use Point2DInteger | -|
|---|---|
| wiiusej | -- |
| -Uses of Point2DInteger in wiiusej | -
|---|
- -
| Methods in wiiusej that return Point2DInteger | -|
|---|---|
- Point2DInteger[] |
-WiiMoteEvent.getIRPoints()
-
-- Get list of IR points. |
-
-
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
| -Packages that use WiiMoteEvent | -|
|---|---|
| tests | -- |
| wiiusej | -- |
| -Uses of WiiMoteEvent in tests | -
|---|
- -
| Methods in tests with parameters of type WiiMoteEvent | -|
|---|---|
- void |
-Tests.wiimoteEvent(WiiMoteEvent e)
-
-- |
-
| -Uses of WiiMoteEvent in wiiusej | -
|---|
- -
| Methods in wiiusej with parameters of type WiiMoteEvent | -|
|---|---|
- void |
-WiiUseApiManager.notifyWiiUseApiListener(WiiMoteEvent evt)
-
-- |
-
- void |
-WiiUseApiListener.wiimoteEvent(WiiMoteEvent e)
-
-- |
-
-
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
| -Packages that use WiiUseApiListener | -|
|---|---|
| tests | -- |
| wiiusej | -- |
| -Uses of WiiUseApiListener in tests | -
|---|
- -
| Classes in tests that implement WiiUseApiListener | -|
|---|---|
- class |
-Tests
-
-- |
-
| -Uses of WiiUseApiListener in wiiusej | -
|---|
- -
| Methods in wiiusej that return WiiUseApiListener | -|
|---|---|
- WiiUseApiListener[] |
-WiiUseApiManager.getWiiUseApiListeners()
-
-- |
-
- -
| Methods in wiiusej with parameters of type WiiUseApiListener | -|
|---|---|
- void |
-WiiUseApiManager.addWiiUseApiListener(WiiUseApiListener listener)
-
-- |
-
- void |
-WiiUseApiManager.removeWiiUseApiListener(WiiUseApiListener listener)
-
-- |
-
-
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
| -Packages that use WiiUseApiManager | -|
|---|---|
| wiiusej | -- |
| -Uses of WiiUseApiManager in wiiusej | -
|---|
- -
| Methods in wiiusej that return WiiUseApiManager | -|
|---|---|
-static WiiUseApiManager |
-WiiUseApiManager.getInstance()
-
-- |
-
-
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
|
-Interfaces
-
- -WiiUseApiListener |
-
|
-Classes
-
- -GForce - -Orientation - -Point2DInteger - -WiiMoteEvent - -WiiUseApi - -WiiUseApiManager |
-
-
-
|
-- - | -|||||||||
| - PREV PACKAGE - NEXT PACKAGE | -- FRAMES - NO FRAMES - - - - - | -|||||||||
| -Interface Summary | -|
|---|---|
| WiiUseApiListener | -- |
- -
| -Class Summary | -|
|---|---|
| GForce | -Represents gravity force on each axis. | -
| Orientation | -Class that represents the orientation of the wiimote. | -
| Point2DInteger | -- |
| WiiMoteEvent | -Class that is a bean to be filled by the wiiuse API. | -
| WiiUseApi | -Singleton used to manipulate WiiUse Api. | -
| WiiUseApiManager | -- |
-
-
-
|
-- - | -|||||||||
| - PREV PACKAGE - NEXT PACKAGE | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||
| -Packages that use wiiusej | -|
|---|---|
| tests | -- |
| wiiusej | -- |
| -Classes in wiiusej used by tests | -|
|---|---|
| WiiMoteEvent
-
- - Class that is a bean to be filled by the wiiuse API. |
-|
| WiiUseApiListener
-
- - |
-|
| -Classes in wiiusej used by wiiusej | -|
|---|---|
| GForce
-
- - Represents gravity force on each axis. |
-|
| Orientation
-
- - Class that represents the orientation of the wiimote. |
-|
| Point2DInteger
-
- - |
-|
| WiiMoteEvent
-
- - Class that is a bean to be filled by the wiiuse API. |
-|
| WiiUseApiListener
-
- - |
-|
| WiiUseApiManager
-
- - |
-|
-
-
-
|
-- - | -|||||||||
| - PREV - NEXT | -- FRAMES - NO FRAMES - - - - - | -|||||||||