Package org.robolectric.shadows
Class DragEventBuilder
- java.lang.Object
-
- org.robolectric.shadows.DragEventBuilder
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DragEvent
build()
static DragEventBuilder
newBuilder()
DragEventBuilder
setAction(int action)
DragEventBuilder
setClipData(ClipData clipData)
DragEventBuilder
setClipDescription(ClipDescription clipDescription)
DragEventBuilder
setLocalState(Object localState)
DragEventBuilder
setResult(boolean result)
DragEventBuilder
setX(float x)
DragEventBuilder
setY(float y)
-
-
-
Method Detail
-
newBuilder
public static DragEventBuilder newBuilder()
-
setAction
public DragEventBuilder setAction(int action)
-
setX
public DragEventBuilder setX(float x)
-
setY
public DragEventBuilder setY(float y)
-
setLocalState
public DragEventBuilder setLocalState(@Nullable Object localState)
-
setClipDescription
public DragEventBuilder setClipDescription(@Nullable ClipDescription clipDescription)
-
setClipData
public DragEventBuilder setClipData(@Nullable ClipData clipData)
-
setResult
public DragEventBuilder setResult(boolean result)
-
build
public DragEvent build()
-
-