public class

VectorElementDragInfo

extends Object
java.lang.Object
   ↳ com.carto.ui.VectorElementDragInfo

Class Overview

A container class that provides information about a dragging performed on
a vector element or vector element vertex.

Summary

Public Methods
synchronized void delete()
boolean equals(Object obj)
Checks if this object is equal to the specified object.
VectorElementDragMode getDragMode()
Returns the drag mode.
MapPos getMapPos()
Returns the drag position in projection coordinate system of the layer.
ScreenPos getScreenPos()
Returns the drag position in screen coordinates.
VectorElement getVectorElement()
Returns the vector element being dragged.
int hashCode()
Returns the hash value of this object.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public synchronized void delete ()

public boolean equals (Object obj)

Checks if this object is equal to the specified object.

Parameters
obj The reference object.
Returns
  • True when objects are equal, false otherwise.

public VectorElementDragMode getDragMode ()

Returns the drag mode.

Returns
  • The drag mode.

public MapPos getMapPos ()

Returns the drag position in projection coordinate system of the layer.

Returns
  • The drag position in projection coordinate system of the layer.

public ScreenPos getScreenPos ()

Returns the drag position in screen coordinates.

Returns
  • The drag position in screen coordinates.

public VectorElement getVectorElement ()

Returns the vector element being dragged.

Returns
  • The vector element being dragged.

public int hashCode ()

Returns the hash value of this object.

Returns
  • The hash value of this object.