All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.qozix.tileview.hotspots.HotSpot Maven / Gradle / Ivy

Go to download

The TileView widget is a subclass of ViewGroup that provides a mechanism to asynchronously display tile-based images, with additional functionality for 2D dragging, flinging, pinch or double-tap to zoom, adding overlaying Views (markers), built-in Hot Spot support, dynamic path drawing, multiple levels of detail, and support for any relative positioning or coordinate system.

The newest version!
package com.qozix.tileview.hotspots;

import android.graphics.Rect;
import android.graphics.Region;


public class HotSpot extends Region {
	
	private Object tag;
	private HotSpotEventListener listener;
	
	public HotSpot() {
		super();
	}

	public HotSpot( int left, int top, int right, int bottom ) {
		super( left, top, right, bottom );
	}

	public HotSpot( Rect r ) {
		super( r );
	}

	public HotSpot( Region region ) {
		super( region );
	}
	
	public Object getTag(){
		return tag;
	}
	
	public void setTag( Object o ) {
		tag = o;
	}
	
	public void setHotSpotEventListener( HotSpotEventListener l ) {
		listener = l;
	}
	
	public HotSpotEventListener getHotSpotEventListener() { 
		return listener;
	}
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy