|
|
@@ -10,9 +10,9 @@ ifdef::env-github,env-browser[:outfilesuffix: .adoc]
|
|
|
|
|
|
== DragElement Class
|
|
|
|
|
|
-Contrary to hearsay, the DragElement is <strong>NOT</strong> a male Element dressed in women's clothing. It simply provides an easy-to-use Element pre-configured for managing Drag & Drop interaction, with a few extra features.+
|
|
|
-+
|
|
|
-The DragElement class uses the single constructor of the Element class and configures the Element to:+
|
|
|
+Contrary to hearsay, the DragElement is <strong>NOT</strong> a male Element dressed in women's clothing. It simply provides an easy-to-use Element pre-configured for managing Drag & Drop interaction, with a few extra features.
|
|
|
+
|
|
|
+The DragElement class uses the single constructor of the Element class and configures the Element to:
|
|
|
|
|
|
[source,java]
|
|
|
----
|
|
|
@@ -36,6 +36,7 @@ dragEl.getIsEnabled();
|
|
|
----
|
|
|
|
|
|
|
|
|
+
|
|
|
=== Managing Drop Elements
|
|
|
|
|
|
[source,java]
|
|
|
@@ -55,6 +56,7 @@ dragEl.removeDropElement(Element element);
|
|
|
----
|
|
|
|
|
|
|
|
|
+
|
|
|
=== Responding to Incorrect Drops
|
|
|
|
|
|
[source,java]
|
|
|
@@ -71,6 +73,7 @@ dragEl.getUseSpringBackEffect();
|
|
|
----
|
|
|
|
|
|
|
|
|
+
|
|
|
=== Responding to Correct Drops
|
|
|
|
|
|
[source,java]
|
|
|
@@ -87,6 +90,7 @@ dragEl.getUseLockToDropElementEffect();
|
|
|
----
|
|
|
|
|
|
|
|
|
+
|
|
|
=== Abstract Event Methods
|
|
|
|
|
|
[source,java]
|