public class Layer3DsTree
extends javax.swing.JTree
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
LAYER3D_CHANGE_EVENT |
static java.lang.String |
LAYER3D_REMOVED_EVENT |
构造器和说明 |
---|
Layer3DsTree()
默认构造函数
|
限定符和类型 | 方法和说明 |
---|---|
com.supermap.realspace.Scene |
getScene()
获取三维图层管理器的场景
|
boolean |
isLayer3DsNodeVisible()
获得3D图层节点是否可见
|
boolean |
isPathEditable(javax.swing.tree.TreePath path) |
boolean |
isScreenLayer3DNodeVisible()
获得屏幕图层节点是否可见
|
boolean |
isTerrainLayersVisible()
获取地形图层是否可见
|
void |
paint(java.awt.Graphics g) |
void |
refreshLayer3DKMLNode(com.supermap.realspace.Layer3DKML layer3DKML)
刷新kml图层节点
|
void |
refreshThemeNode(com.supermap.realspace.Layer3D layer)
针对专题图的刷新,通过传入当前图层来刷新
|
void |
reload()
当工作空间改变时,重新构建所有的节点刷新树控件
|
void |
setLayer3DsNodeVisible(boolean isLayer3DsNodeVisible)
设置3D图层节点是否可见
|
void |
setScene(com.supermap.realspace.Scene scene)
设置三维图层管理器的场景
|
void |
setTerrainLayersVisible(boolean isTerrainLayersVisible)
设置地形图层是否可见
|
public static final java.lang.String LAYER3D_CHANGE_EVENT
public static final java.lang.String LAYER3D_REMOVED_EVENT
public com.supermap.realspace.Scene getScene()
public void paint(java.awt.Graphics g)
paint
在类中 javax.swing.JComponent
public void setScene(com.supermap.realspace.Scene scene)
scene
- 要设置的场景对象public void reload()
public boolean isScreenLayer3DNodeVisible()
public void setLayer3DsNodeVisible(boolean isLayer3DsNodeVisible)
isLayer3DsNodeVisible
- 是否可见public boolean isLayer3DsNodeVisible()
public void setTerrainLayersVisible(boolean isTerrainLayersVisible)
isTerrainLayersVisible
- 是否可见public boolean isTerrainLayersVisible()
public boolean isPathEditable(javax.swing.tree.TreePath path)
isPathEditable
在类中 javax.swing.JTree
public void refreshLayer3DKMLNode(com.supermap.realspace.Layer3DKML layer3DKML)
layer3DKML
-public void refreshThemeNode(com.supermap.realspace.Layer3D layer)
layer
-