|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.epseelon.mobimap.tiles.Tile
public class Tile
The Tile class represents a particular square image piece of the world bitmap at a particular zoom level.
| Constructor Summary | |
|---|---|
Tile(int x,
int y,
int zoom,
java.lang.String url,
TileFactory dtf)
Create a new Tile that loads its data from the given URL. |
|
| Method Summary | |
|---|---|
java.lang.Throwable |
getError()
|
javax.microedition.lcdui.Image |
getImage()
|
java.lang.Throwable |
getLoadingError()
|
java.lang.Throwable |
getUnrecoverableError()
Returns the last error in a possible chain of errors that occured during the loading of the tile |
java.lang.String |
getURL()
|
int |
getX()
|
int |
getY()
|
int |
getZoom()
|
boolean |
isLoaded()
Indicates if this tile's underlying image has been successfully loaded yet. |
boolean |
isLoading()
|
void |
setError(java.lang.Throwable error)
|
void |
setImage(javax.microedition.lcdui.Image image)
|
void |
setLoading(boolean isLoading)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Tile(int x,
int y,
int zoom,
java.lang.String url,
TileFactory dtf)
| Method Detail |
|---|
public boolean isLoading()
public void setLoading(boolean isLoading)
isLoading - the isLoading to setpublic java.lang.Throwable getError()
public void setError(java.lang.Throwable error)
error - the error to setpublic java.lang.String getURL()
public boolean isLoaded()
public int getX()
public int getY()
public int getZoom()
public javax.microedition.lcdui.Image getImage()
public void setImage(javax.microedition.lcdui.Image image)
image - The loaded image for this tilepublic java.lang.Throwable getUnrecoverableError()
public java.lang.Throwable getLoadingError()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||