public class

RasterTileClickInfo

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

Class Overview

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

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.
Color getInterpolatedColor()
Returns the interpolated color at the click position.
Layer getLayer()
Returns the layer of the raster tile.
MapTile getMapTile()
Returns the tile id of the clicked feature.
Color getNearestColor()
Returns the color of the nearest pixel to the click position.
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 Color getInterpolatedColor ()

Returns the interpolated color at the click position.

Returns
  • The interpolated color at the click position.

public Layer getLayer ()

Returns the layer of the raster tile.

Returns
  • The layer of the raster tile.

public MapTile getMapTile ()

Returns the tile id of the clicked feature.

Returns
  • The tile id of the clicked feature.

public Color getNearestColor ()

Returns the color of the nearest pixel to the click position.

Returns
  • The color of the nearest pixel to the click position.

public int hashCode ()

Returns the hash value of this object.

Returns
  • The hash value of this object.