Class DragAndDropParameter
- java.lang.Object
-
- io.appium.java_client.flutter.commands.FlutterCommandParameter
-
- io.appium.java_client.flutter.commands.DragAndDropParameter
-
public class DragAndDropParameter extends FlutterCommandParameter
-
-
Constructor Summary
Constructors Constructor Description DragAndDropParameter(org.openqa.selenium.WebElement source, org.openqa.selenium.WebElement target)
Constructs a new instance ofDragAndDropParameter
with the given source and targetWebElement
s.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
toJson()
-
Methods inherited from class io.appium.java_client.flutter.commands.FlutterCommandParameter
parseFlutterLocator
-
-
-
-
Constructor Detail
-
DragAndDropParameter
public DragAndDropParameter(org.openqa.selenium.WebElement source, org.openqa.selenium.WebElement target)
Constructs a new instance ofDragAndDropParameter
with the given source and targetWebElement
s. Throws anIllegalArgumentException
if eithersource
ortarget
isnull
.- Parameters:
source
- The sourceWebElement
from which the drag operation starts.target
- The targetWebElement
where the drag operation ends.- Throws:
java.lang.IllegalArgumentException
- ifsource
ortarget
isnull
.
-
-
Method Detail
-
toJson
public java.util.Map<java.lang.String,java.lang.Object> toJson()
- Specified by:
toJson
in classFlutterCommandParameter
-
-