|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdesktop.beans.AbstractBean
org.jdesktop.swingx.mapviewer.Tile
public class Tile
The Tile class represents a particular square image piece of the world bitmap at a particular zoom level.
| Nested Class Summary | |
|---|---|
static class |
Tile.Priority
|
| Constructor Summary | |
|---|---|
Tile(int x,
int y,
int zoom)
Create a new Tile at the specified tile point and zoom level |
|
| Method Summary | |
|---|---|
void |
addUniquePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Adds a single property change listener. |
Throwable |
getError()
|
BufferedImage |
getImage()
Returns the Image associated with this Tile. |
Throwable |
getLoadingError()
Returns the Throwable tied to any error that may have ocurred while loading the tile. |
Tile.Priority |
getPriority()
Gets the loading priority of this tile. |
Throwable |
getUnrecoverableError()
Returns the last error in a possible chain of errors that occured during the loading of the tile |
String |
getURL()
Gets the URL of this tile. |
int |
getX()
|
int |
getY()
|
int |
getZoom()
|
boolean |
isLoaded()
Indicates if this tile's underlying image has been successfully loaded yet. |
boolean |
isLoading()
|
void |
setError(Throwable error)
|
void |
setLoading(boolean isLoading)
|
void |
setPriority(Tile.Priority priority)
Set the loading priority of this tile. |
| Methods inherited from class org.jdesktop.beans.AbstractBean |
|---|
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Tile(int x,
int y,
int zoom)
location - zoom - | Method Detail |
|---|
public boolean isLoaded()
public Throwable getUnrecoverableError()
public Throwable getLoadingError()
public BufferedImage getImage()
public int getZoom()
public void addUniquePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
propertyName - listener - public Throwable getError()
public void setError(Throwable error)
error - the error to setpublic boolean isLoading()
public void setLoading(boolean isLoading)
isLoading - the isLoading to setpublic Tile.Priority getPriority()
public void setPriority(Tile.Priority priority)
priority - the priority to setpublic String getURL()
public int getX()
public int getY()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||