com.jayway.android.robotium.remotecontrol
Class PointCollection

java.lang.Object
  extended by com.jayway.android.robotium.remotecontrol.PointCollection
All Implemented Interfaces:
java.io.Serializable

public class PointCollection
extends java.lang.Object
implements java.io.Serializable

From release4.1+, Robotium begins to provide some APIs who use android.graphics.PointF as
parameter. Some APIs need more than one PointF parameter, to transport multiple PointF as
an object thru our TCP protocol in the same time, this class is created.
Example of usage:
At controller side, user can simply call PointCollection() to create an instance, add some.
instances of PointF and send this object thru the wire.
At the device side, we receive that object 'PointCollection' and we call getPointList()
to get an Android's PointF objects, which can be used by Robotium's APIs.

Since:
Jun 21, 2013
See Also:
Serialized Form

Constructor Summary
PointCollection()
           
 
Method Summary
 void addToPointList(PointF p)
           
 java.util.List<PointF> getPointList()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PointCollection

public PointCollection()
Method Detail

getPointList

public java.util.List<PointF> getPointList()

addToPointList

public void addToPointList(PointF p)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object