public class

PopupClickInfo

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

Class Overview

A container class that provides information about a click performed on
a popup.

Summary

Public Methods
synchronized void delete()
boolean equals(Object obj)
Checks if this object is equal to the specified object.
MapPos getClickPos()
Returns the click position.
ClickType getClickType()
Returns the click type.
ScreenPos getElementClickPos()
Returns the 2D click position on the clicked popup.
Popup getPopup()
Returns the clicked popup.
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 MapPos getClickPos ()

Returns the click position.

Returns
  • The click position in the coordinate system of the data source.

public ClickType getClickType ()

Returns the click type.

Returns
  • The type of the click performed.

public ScreenPos getElementClickPos ()

Returns the 2D click position on the clicked popup.

Returns
  • The 2D element click position in pixels.

public Popup getPopup ()

Returns the clicked popup.

Returns
  • The popup on which the click was performed.

public int hashCode ()

Returns the hash value of this object.

Returns
  • The hash value of this object.