wiiusej.wiiuseapirequest
Class TwoIntValueRequest

java.lang.Object
  extended by wiiusej.wiiuseapirequest.WiiUseApiRequest
      extended by wiiusej.wiiuseapirequest.IntValueRequest
          extended by wiiusej.wiiuseapirequest.TwoIntValueRequest

public class TwoIntValueRequest
extends IntValueRequest

Represents a request with two int values to pass to wiiuse API.

Author:
guiguito

Field Summary
private  int secondIntValue
           
 
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
TwoIntValueRequest(int id, int type)
          Constructor setting the id of the wiimote concerned and the type of the request.
TwoIntValueRequest(int id, int type, int x, int y)
          Constructor setting the id of the wiimote concerned, the type of the request and the two int values.
 
Method Summary
 int getSecondIntValue()
          Get the second int value.
 void setSecondIntValue(int secondIntValue)
          Set the second int value.
 
Methods inherited from class wiiusej.wiiuseapirequest.IntValueRequest
getIntValue, setIntValue
 
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

secondIntValue

private int secondIntValue
Constructor Detail

TwoIntValueRequest

public TwoIntValueRequest(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.
type - type of the request

TwoIntValueRequest

public TwoIntValueRequest(int id,
                          int type,
                          int x,
                          int y)
Constructor setting the id of the wiimote concerned, the type of the request and the two int values.

Parameters:
id - the id of the wiimote concerned.
type - type of the request
x - first int value.
y - second int value.
Method Detail

getSecondIntValue

public int getSecondIntValue()
Get the second int value.

Returns:
the secondIntValue

setSecondIntValue

public void setSecondIntValue(int secondIntValue)
Set the second int value.

Parameters:
secondIntValue - the secondIntValue to set.