com.supermap.mapping
类 MapDrawContinuingEvent

java.lang.Object
  继承者 com.supermap.mapping.MapEvent
      继承者 com.supermap.mapping.MapDrawContinuingEvent

已过时。

public class MapDrawContinuingEvent
extends MapEvent

指示地图绘制继续的事件。

在地图绘制过程中大概每几百毫秒会触发一次,表示地图进行继续绘制。


构造方法摘要
MapDrawContinuingEvent(java.lang.Object source, Map map, int percent, boolean cancel)
          已过时。 根据给定的参数构造一个 MapDrawContinuingEvent 类的新实例。
 
方法摘要
 boolean getCancel()
          已过时。 返回指示是否应取消事件的值。
 int getPercent()
          已过时。 返回当前绘制的地图部分占整个地图的百分比。
 void setCancel(boolean cancel)
          已过时。 设置指示是否应取消事件的值。
 
从类 com.supermap.mapping.MapEvent 继承的方法
getMap
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

MapDrawContinuingEvent

public MapDrawContinuingEvent(java.lang.Object source,
                              Map map,
                              int percent,
                              boolean cancel)
已过时。 
根据给定的参数构造一个 MapDrawContinuingEvent 类的新实例。

参数:
source - 发起事件的对象。
map - 指定的当前绘制的地图对象。
percent - 当前绘制的地图部分占整个地图的百分比。
cancel - 是否取消继续绘制地图的操作。
方法详细信息

getCancel

public boolean getCancel()
已过时。 
返回指示是否应取消事件的值。

返回:
一个布尔值,true 代表应取消事件,否则返回 false。

setCancel

public void setCancel(boolean cancel)
已过时。 
设置指示是否应取消事件的值。

参数:
cancel - 指示是否应取消事件的值,true 代表应取消事件。

getPercent

public int getPercent()
已过时。 
返回当前绘制的地图部分占整个地图的百分比。

返回:
当前绘制的地图部分占整个地图的百分比。