... | ... | @@ -41,7 +41,7 @@ Lets have a closer look at the individual methods. |
|
|
* Calling the **tetherWith()** method will initiate the tethering process between this **tetherable** instance and the specified candidate. The **separateFrom()** method does the opposite by tearing down a previously established link.
|
|
|
* Tethering should normally only take place between current active, i.e. visible objects. The **isActive()** method helps in determining whether this is true or not.
|
|
|
* The **isTethered()** method helps in figuring out whether this **tetherable** instance currently is tethered to another instance or not.
|
|
|
* The **Tetherable interface defines a property called *draggable*. If you remember, normal object behaviour when the distance between currently tethered object exceeds the specified tethering distance consists in tearing down the established connection. **Draggable** objects however, will follow along as if they were on a leach.
|
|
|
* The **Tetherable** interface defines a property called *draggable*. If you remember, normal object behaviour when the distance between currently tethered object exceeds the specified tethering distance consists in tearing down the established connection. **Draggable** objects however, will follow along as if they were on a leach.
|
|
|
|
|
|
public boolean isDraggable();
|
|
|
public boolean isExclusive();
|
... | ... | |