public class DesignImageEvent extends ImageEvent
构造器和说明 |
---|
DesignImageEvent() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone() |
protected JSONObject |
createRequestJson() |
protected JSONObject |
createVanChartJSON(VanChartGlyph chartGlyph,
int width,
int height) |
protected void |
endRequestImage(CallbackEvent callback) |
boolean |
equals(java.lang.Object ob) |
java.awt.image.BufferedImage |
getImage(VanChartGlyph vanChartGlyph,
int width,
int height,
CallbackEvent callback)
判断是否重新请求的步骤:
1、是不是属性版的改变(包括地图底图请求完毕之后,也会设置chartAttrDirty属性为true)
2、属性版的改变是否导致json的改变
|
protected java.lang.String |
getLocaleJS()
获取国际化文件
|
boolean |
isChartAttrDirty() |
protected boolean |
isNullImage() |
static void |
registerDefaultCallbackEvent(CallbackEvent event) |
static void |
registerDownloadSourcesEvent(DownloadSourcesEvent event) |
void |
setChartAttrDirty(boolean chartAttrDirty) |
getBase64Image, getImageAttr, requestImage, setBase64Image, setImageAttr
public void setChartAttrDirty(boolean chartAttrDirty)
public boolean isChartAttrDirty()
public static void registerDefaultCallbackEvent(CallbackEvent event)
public static void registerDownloadSourcesEvent(DownloadSourcesEvent event)
public java.awt.image.BufferedImage getImage(VanChartGlyph vanChartGlyph, int width, int height, CallbackEvent callback)
vanChartGlyph
- width
- height
- protected java.lang.String getLocaleJS()
getLocaleJS
在类中 ImageEvent
protected JSONObject createVanChartJSON(VanChartGlyph chartGlyph, int width, int height) throws JSONException
createVanChartJSON
在类中 ImageEvent
JSONException
protected JSONObject createRequestJson() throws JSONException
createRequestJson
在类中 ImageEvent
JSONException
protected void endRequestImage(CallbackEvent callback)
endRequestImage
在类中 ImageEvent
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 ImageEvent
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常public boolean equals(java.lang.Object ob)
equals
在类中 ImageEvent
protected boolean isNullImage()