Package com.arubanetworks.meridian.maps
Class Transaction.Builder
java.lang.Object
com.arubanetworks.meridian.maps.Transaction.Builder
- Enclosing class:
- Transaction
A Builder fro creating Transactions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdd a Marker to this Transaction.addMarkers
(Collection<Marker> markers) Add a Collection of Markers to this Transaction.build()
Build the Transaction.long
getSize()
Get the number of markers in this Transaction.setAnimated
(boolean animated) Set if the Transaction is animated or not.setAnimationDuration
(long duration) Set the duration of teh Transactions animation in milliseconds.setListener
(Transaction.Listener listener) Set the Listener for this Transaction.setType
(Transaction.Type type) Set the Type of this Transaction.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setListener
Set the Listener for this Transaction. -
setAnimated
Set if the Transaction is animated or not. -
setAnimationDuration
Set the duration of teh Transactions animation in milliseconds.The default animation length is 500 milliseconds.
-
addMarker
Add a Marker to this Transaction. -
addMarkers
Add a Collection of Markers to this Transaction. -
setType
Set the Type of this Transaction. -
getSize
public long getSize()Get the number of markers in this Transaction. -
build
Build the Transaction.
-