Class MapInteractionInfo

java.lang.Object
com.massifmaps.ui.MapInteractionInfo

public class MapInteractionInfo extends Object
A container class that provides information about a map interaction performed from UI.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks if this object is equal to the specified object.
    int
    Returns the hash value of this object.
    boolean
    Returns true if the interaction has started an animation.
    boolean
    Returns true if the interaction included a map pan action.
    boolean
    Returns true if the interaction included a rotate action.
    boolean
    Returns true if the interaction included a tilt action.
    boolean
    Returns true if the interaction included a zoom action.

    Methods inherited from class java.lang.Object

    clone, getClass, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • equals

      public boolean equals(Object obj)
      Checks if this object is equal to the specified object.
      Overrides:
      equals in class Object
      Parameters:
      obj - The reference object.
      Returns:
      True when objects are equal, false otherwise.
    • hashCode

      public int hashCode()
      Returns the hash value of this object.
      Overrides:
      hashCode in class Object
      Returns:
      The hash value of this object.
    • isPanAction

      public boolean isPanAction()
      Returns true if the interaction included a map pan action.
      Returns:
      True if the interaction included a map pan action.
    • isZoomAction

      public boolean isZoomAction()
      Returns true if the interaction included a zoom action.
      Returns:
      True if the interaction included a zoom action.
    • isRotateAction

      public boolean isRotateAction()
      Returns true if the interaction included a rotate action.
      Returns:
      True if the interaction included a rotate action.
    • isTiltAction

      public boolean isTiltAction()
      Returns true if the interaction included a tilt action.
      Returns:
      True if the interaction included a tilt action.
    • isAnimationStarted

      public boolean isAnimationStarted()
      Returns true if the interaction has started an animation.
      Returns:
      True if the interaction has started an animation.