wiiusej.wiiuseapirequest
Class IntValueRequest

java.lang.Object
  extended by wiiusej.wiiuseapirequest.WiiUseApiRequest
      extended by wiiusej.wiiuseapirequest.IntValueRequest
Direct Known Subclasses:
TwoIntValueRequest

public class IntValueRequest
extends WiiUseApiRequest

Represents a request with an int value to pass to wiiuse API.

Author:
guiguito

Field Summary
private  int intValue
           
 
Fields inherited from class wiiusej.wiiuseapirequest.WiiUseApiRequest
WIIUSE_ACCEL_THRESHOLHD_REQUEST, WIIUSE_ACTIVATE_CONTINUOUS_REQUEST, WIIUSE_ACTIVATE_IR_TRACKING_REQUEST, WIIUSE_ACTIVATE_MOTION_SENSING_REQUEST, WIIUSE_ACTIVATE_RUMBLE_REQUEST, WIIUSE_ACTIVATE_SMOOTHING_REQUEST, WIIUSE_ALPHA_SMOOTHING_REQUEST, WIIUSE_ASPECT_RATIO_16_9, WIIUSE_ASPECT_RATIO_4_3, WIIUSE_CLOSE_CONNECTION_REQUEST, WIIUSE_DEACTIVATE_CONTINUOUS_REQUEST, WIIUSE_DEACTIVATE_IR_TRACKING_REQUEST, WIIUSE_DEACTIVATE_MOTION_SENSING_REQUEST, WIIUSE_DEACTIVATE_RUMBLE_REQUEST, WIIUSE_DEACTIVATE_SMOOTHING_REQUEST, WIIUSE_LEDS_REQUEST, WIIUSE_ORIENT_THRESHOLHD_REQUEST, WIIUSE_RESYNC, WIIUSE_SENSOR_BAR_ABOVE, WIIUSE_SENSOR_BAR_BELOW, WIIUSE_SET_VIRTUAL_RESOLUTION, WIIUSE_STATUS_REQUEST
 
Constructor Summary
IntValueRequest(int id, int type)
          Constructor setting the id of the wiimote concerned and the type of the request.
IntValueRequest(int id, int type, int th)
          Constructor setting the id of the wiimote concerned, the type of the request and the int value.
 
Method Summary
 int getIntValue()
          Get the int value.
 void setIntValue(int val)
          Set the int value.
 
Methods inherited from class wiiusej.wiiuseapirequest.WiiUseApiRequest
getId, getRequestType, setId, setRequestType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

intValue

private int intValue
Constructor Detail

IntValueRequest

public IntValueRequest(int id,
                       int type)
Constructor setting the id of the wiimote concerned and the type of the request.

Parameters:
id - the id of the wiimote concerned.

IntValueRequest

public IntValueRequest(int id,
                       int type,
                       int th)
Constructor setting the id of the wiimote concerned, the type of the request and the int value.

Parameters:
id - the id of the wiimote concerned.
type - type of the request
th - the int value.
Method Detail

getIntValue

public int getIntValue()
Get the int value.

Returns:
the int value

setIntValue

public void setIntValue(int val)
Set the int value.

Parameters:
val - the value to set