|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.nutiteq.components.MapTile
public class MapTile
Object containing map tile location on the map (x, y coordinates of upper-left corner on whole map) and image data for that tile.
| Constructor Summary | |
|---|---|
MapTile(int mapX,
int mapY,
int zoom,
GeoMap map,
com.nutiteq.maps.MapTilesRequestor screen)
Not part of public API |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
byte[] |
getData()
|
java.lang.String |
getIDString()
Not part of public API |
Image |
getImage()
Not part of public API |
GeoMap |
getMap()
|
long |
getSize()
Not part of public API |
int |
getZoom()
|
int |
getX()
|
int |
getY()
|
int |
hashCode()
|
boolean |
isVisible(MapPos centerPos,
GeoMap displayedMap,
int screenCenterX,
int screenCenterY)
Not part of public API Check if the map tile is visible. |
void |
notifyError()
Not part of public API |
void |
setImagesData(byte[][] data)
Not part of public API |
void |
setOverlayData(byte[][] overlay)
|
boolean |
tryAgain()
Not part of public API |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MapTile(int mapX,
int mapY,
int zoom,
GeoMap map,
com.nutiteq.maps.MapTilesRequestor screen)
| Method Detail |
|---|
public int getX()
public int getY()
public int getZoom()
public GeoMap getMap()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
public boolean isVisible(MapPos centerPos,
GeoMap displayedMap,
int screenCenterX,
int screenCenterY)
centerPos - the position of the center of the map
public java.lang.String getIDString()
public long getSize()
public void notifyError()
public void setImagesData(byte[][] data)
public Image getImage()
public boolean tryAgain()
public byte[] getData()
public void setOverlayData(byte[][] overlay)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||