|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdesktop.swingx.mapviewer.TileFactory
org.jdesktop.swingx.mapviewer.empty.EmptyTileFactory
public class EmptyTileFactory
A null implementation of TileFactory. Draws empty areas.
| Constructor Summary | |
|---|---|
EmptyTileFactory()
Creates a new instance of EmptyTileFactory |
|
EmptyTileFactory(TileFactoryInfo info)
Creates a new instance of EmptyTileFactory using the specified info. |
|
| Method Summary | |
|---|---|
Tile |
getTile(int x,
int y,
int zoom)
Gets an instance of an empty tile for the given tile position and zoom on the world map. |
protected void |
startLoading(Tile tile)
Override this method to load the tile using, for example, an ExecutorService. |
| Methods inherited from class org.jdesktop.swingx.mapviewer.TileFactory |
|---|
geoToPixel, getInfo, getMapSize, getTileSize, pixelToGeo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EmptyTileFactory()
public EmptyTileFactory(TileFactoryInfo info)
| Method Detail |
|---|
public Tile getTile(int x,
int y,
int zoom)
getTile in class TileFactoryx - The tile's x position on the world map.y - The tile's y position on the world map.zoom - The current zoom level.
protected void startLoading(Tile tile)
ExecutorService.
startLoading in class TileFactorytile - The tile to load.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||