类 EmptyTileFactory


  • public class EmptyTileFactory
    extends TileFactory
    A null implementation of TileFactory. Draws empty areas.
    作者:
    joshy
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      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.
      void load​(Tile tile)  
      protected void startLoading​(Tile tile)
      Override this method to load the tile using, for example, an ExecutorService.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • EmptyTileFactory

        public EmptyTileFactory()
        Creates a new instance of EmptyTileFactory
      • EmptyTileFactory

        public EmptyTileFactory​(TileFactoryInfo info)
        Creates a new instance of EmptyTileFactory using the specified info.
        参数:
        info - TileFactoryInfo
    • 方法详细资料

      • getTile

        public 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.
        指定者:
        getTile 在类中 TileFactory
        参数:
        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.
        返回:
        Tile
      • startLoading

        protected void startLoading​(Tile tile)
        Override this method to load the tile using, for example, an ExecutorService.
        指定者:
        startLoading 在类中 TileFactory
        参数:
        tile - The tile to load.