public class LayerExtensionBase extends Layer implements IDisposable
构造器和说明 |
---|
LayerExtensionBase(long handle)
构建拓展图层
|
限定符和类型 | 方法和说明 |
---|---|
static void |
addLayerExtensionBaseCreatedListener(LayerExtensionBaseCreatedListener l)
添加拓展图层创建后监听器
|
void |
dispose()
销毁当前拓展图层对象
|
void |
FromXML(String xml) |
Rectangle2D |
getBounds()
获取拓展图层的范围
|
int |
getExtensionType()
获取拓展类型
|
boolean |
hitTest(Point2D pt,
double tolerance,
String resultExpression,
ArrayList<GeoText> testResult)
返回选中的专题元素。
|
void |
OnDraw(MapPainter painter) |
static void |
removeLayerExtensionBaseCreatedListener(LayerExtensionBaseCreatedListener l)
移除拓展图层创建后监听器
|
void |
setBounds(Rectangle2D bounds)
设置拓展图层的范围
|
void |
setExtensionType(int type)
设置拓展类型
|
String |
ToXML(WorkspaceVersion version) |
addCaptionChangedListener, addEditableChangedListener, addElementDrawingListener, addGridFunction, addSelectableChangedListener, addSnapableChangedListener, addVisibleChangedListener, checkLayerSubType, clearThemeElementPositions, findLayer, fromXML, getAdditionalSetting, getBlendMode, getCaption, getClipRegion, getDataset, getDeduplicateThreshold, getDeduplicateTolerance, getDescription, getDisplayControledLayer, getDisplayFilter, getDisplayFilterStr, getExtensionPlugin, getExtensionUserInfo, getExternalInfo, getFieldValuesDisplayFilter, getFillMarkerOrder, getGridFunctionArgs, getGridFunctionType, getGridFunctonCount, getLayerWeight, getMap, getMaxVisibleScale, getMinVisibleGeometrySize, getMinVisibleScale, getName, getOpaqueRate, getOverlapGeometryPixel, getOverlapGeometryThreshold, getParentGroup, getParentSnapshot, getRepresentationField, getSelection, getSource, getSubLayerType, getSubType, getSymbolScale, getTheme, getThemeElementPosition, getTimeEndField, getTimeFilterEnding, getTimeFilterStarting, getTimeStartField, getTimeStepInterval, getValueExpressions, hitTest, hitTest, hitTestGeoCompound, isAntialias, isClipRegionEnabled, isCompleteLineSymbolDisplayed, isCrossroadOptimized, isDeduplicateEnabled, isDiposed, isDisposed, isEditable, isFullLabelEnabled, isInteroperable, isLayerCacheEnabled, isModified, isOverlapDisplayed, isOverlapGeometryEnabled, isRepresentationEnabled, isSelectable, isSnapable, isSuperAndSubScript, isSwipeEnabled, isSymbolScalable, IsTimeFilterEnable, isVisible, isVisibleScale, removeCaptionChangedListener, removeEditableChangedListener, removeElementDrawingListener, removeGridFunction, removeSelectableChangedListener, removeSnapableChangedListener, removeThemeElementPosition, removeVisibleChangedListener, setAdditionalSetting, setAntialias, setBlendMode, setCaption, setClipRegion, setClipRegionEnabled, setCompleteLineSymbolDisplayed, setCrossroadOptimized, setDataset, setDeduplicateEnabled, setDeduplicateThreshold, setDeduplicateTolerance, setDescription, setDisplayControledLayer, setDisplayFilter, setDisplayFilterStr, setEditable, setExtensionUserInfo, setExternalInfo, setFillMarkerOrder, setFullLabelEnabled, setInteroperable, SetLayerCacheEnabled, SetLayerCacheRefresh, setLayerWeight, setMaxVisibleScale, setMinVisibleGeometrySize, setMinVisibleScale, setModified, setOpaqueRate, setOverlapDisplayed, setOverlapGeometryEnabled, setOverlapGeometryPixel, setOverlapGeometryThreshold, setRepresentationEnabled, setRepresentationField, setSelectable, setSelection, setSnapable, setSource, setSource, setSuperAndSubScript, setSwipeEnabled, setSymbolScalable, setSymbolScale, setThemeElementPosition, setTimeEndField, setTimeFilterEnable, setTimeFilterEnding, setTimeFilterStarting, setTimeStartField, setTimeStepInterval, setValueExpressions, setVisible, themeSymbolsToGeometries, themeSymbolsToGeometrys, themeToDatasetVector, toXML
public void OnDraw(MapPainter painter)
public String ToXML(WorkspaceVersion version)
public void FromXML(String xml)
public Rectangle2D getBounds()
getBounds
在类中 Layer
IllegalStateException
- 当前对象已被释放public void setBounds(Rectangle2D bounds)
bounds
- 拓展图层的范围IllegalStateException
- 当前对象已被释放public int getExtensionType()
IllegalStateException
- 当前对象已被释放public void setExtensionType(int type)
type
- 拓展类型IllegalStateException
- 当前对象已被释放public void dispose()
dispose
在接口中 IDisposable
public static void addLayerExtensionBaseCreatedListener(LayerExtensionBaseCreatedListener l)
l
- 创建后监听器public static void removeLayerExtensionBaseCreatedListener(LayerExtensionBaseCreatedListener l)
l
- 创建后监听器Copyright © 2021–2024 SuperMap. All rights reserved.