类 LayerNode
- java.lang.Object
-
- org.meteoinfo.legend.ItemNode
-
- org.meteoinfo.legend.LayerNode
-
public class LayerNode extends ItemNode
- 作者:
- yaqiang
-
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 java.lang.Objectclone()CloneintgetDrawHeight()Get drawing heightintgetExpandedHeight()Get expanded heightintgetGroupHandle()Get group handleintgetLayerHandle()Get layer handlejava.util.List<LegendNode>getLegendNodes()Get legend node listLegendSchemegetLegendScheme()Get the layer legend schemeMapFramegetMapFrame()Get map frameMapLayergetMapLayer()Get map layerShapeTypesgetShapeType()Get the layer shape typebooleanisEditing()Get if is editingvoidsetEditing(boolean value)Set if is editingvoidsetGroupHandle(int handle)Set group handlevoidsetMapFrame(MapFrame mf)Set map framevoidsetMapLayer(MapLayer layer)Set map layervoidupdate()Update propertiesvoidupdateLegendScheme(LegendScheme aLS)Update legend nodes using a legend scheme-
从类继承的方法 org.meteoinfo.legend.ItemNode
collapse, expand, getBackColor, getForeColor, getHeight, getNodeType, getParentLegend, getText, getTop, isChecked, isExpanded, isSelected, setBackColor, setChecked, setForeColor, setHeight, setNodeType, setParentLegend, setSelected, setText, setTop
-
-
-
-
构造器详细资料
-
LayerNode
public LayerNode(MapLayer aLayer)
Constructor- 参数:
aLayer-
-
-
方法详细资料
-
getMapFrame
public MapFrame getMapFrame()
Get map frame- 返回:
- The map frame
-
setMapFrame
public void setMapFrame(MapFrame mf)
Set map frame- 参数:
mf- The map frame
-
getLayerHandle
public int getLayerHandle()
Get layer handle- 返回:
- The layer handle
-
getMapLayer
public MapLayer getMapLayer()
Get map layer- 返回:
- The map layer
-
setMapLayer
public void setMapLayer(MapLayer layer)
Set map layer- 参数:
layer- The map layer
-
getLegendScheme
public LegendScheme getLegendScheme()
Get the layer legend scheme- 返回:
- The legend scheme
-
getShapeType
public ShapeTypes getShapeType()
Get the layer shape type- 返回:
- The shape type
-
getLegendNodes
public java.util.List<LegendNode> getLegendNodes()
Get legend node list- 返回:
- The legend node list
-
getGroupHandle
public int getGroupHandle()
Get group handle- 返回:
- The group handle
-
setGroupHandle
public void setGroupHandle(int handle)
Set group handle- 参数:
handle-
-
isEditing
public boolean isEditing()
Get if is editing- 返回:
- Boolean
-
setEditing
public void setEditing(boolean value)
Set if is editing- 参数:
value- Boolean
-
update
public void update()
Update properties
-
updateLegendScheme
public void updateLegendScheme(LegendScheme aLS)
Update legend nodes using a legend scheme- 参数:
aLS- The legend scheme
-
getDrawHeight
public int getDrawHeight()
从类复制的说明:ItemNodeGet drawing height- 指定者:
getDrawHeight在类中ItemNode- 返回:
- The drawing height
-
getExpandedHeight
public int getExpandedHeight()
从类复制的说明:ItemNodeGet expanded height- 指定者:
getExpandedHeight在类中ItemNode- 返回:
- The expanded height
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionClone- 覆盖:
clone在类中java.lang.Object- 返回:
- LayerNode object
- 抛出:
java.lang.CloneNotSupportedException
-
-