|
Groovy Documentation | |||||||
| 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 extends TileFactory
A null implementation of TileFactory. Draws empty areas.
| Field Summary | |
|---|---|
private BufferedImage |
emptyTile
The empty tile image. |
| Fields inherited from class TileFactory | |
|---|---|
| info |
| 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 |
| Methods inherited from class TileFactory | |
|---|---|
| geoToPixel, getInfo, getMapSize, getTile, getTileSize, pixelToGeo, startLoading |
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Field Detail |
|---|
private BufferedImage emptyTile
| Constructor Detail |
|---|
public EmptyTileFactory()
public EmptyTileFactory(TileFactoryInfo info)
| Method Detail |
|---|
public Tile getTile(int x, int y, int zoom)
x
- 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.
tile - The tile to load.
Groovy Documentation