Package com.massifmaps.ui
Class PopupClickInfo
java.lang.Object
com.massifmaps.ui.PopupClickInfo
A container class that provides information about a click performed on
a popup.
a popup.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if this object is equal to the specified object.Returns the click info.Returns the click position.intReturns the click type.Returns the 2D click position on the clicked popup.getPopup()Returns the clicked popup.inthashCode()Returns the hash value of this object.
-
Method Details
-
equals
Checks if this object is equal to the specified object. -
hashCode
public int hashCode()Returns the hash value of this object. -
getClickType
public int getClickType()Returns the click type.- Returns:
- The type of the click performed.
-
getClickInfo
Returns the click info.- Returns:
- The attributes of the click.
-
getClickPos
Returns the click position.- Returns:
- The click position in the coordinate system of the data source.
-
getElementClickPos
Returns the 2D click position on the clicked popup.- Returns:
- The 2D element click position in pixels.
-
getPopup
Returns the clicked popup.- Returns:
- The popup on which the click was performed.
-