Class LayerNode



  • public class LayerNode
    extends ItemNode
    • Constructor Detail

      • LayerNode

        public LayerNode​(MapLayer aLayer)
        Constructor
        Parameters:
        aLayer -
    • Method Detail

      • getMapFrame

        public MapFrame getMapFrame​()
        Get map frame
        Returns:
        The map frame
      • setMapFrame

        public void setMapFrame​(MapFrame mf)
        Set map frame
        Parameters:
        mf - The map frame
      • getLayerHandle

        public int getLayerHandle​()
        Get layer handle
        Returns:
        The layer handle
      • getMapLayer

        public MapLayer getMapLayer​()
        Get map layer
        Returns:
        The map layer
      • setMapLayer

        public void setMapLayer​(MapLayer layer)
        Set map layer
        Parameters:
        layer - The map layer
      • getLegendScheme

        public LegendScheme getLegendScheme​()
        Get the layer legend scheme
        Returns:
        The legend scheme
      • getShapeType

        public ShapeTypes getShapeType​()
        Get the layer shape type
        Returns:
        The shape type
      • getLegendNodes

        public java.util.List<LegendNode> getLegendNodes​()
        Get legend node list
        Returns:
        The legend node list
      • getGroupHandle

        public int getGroupHandle​()
        Get group handle
        Returns:
        The group handle
      • setGroupHandle

        public void setGroupHandle​(int handle)
        Set group handle
        Parameters:
        handle -
      • isEditing

        public boolean isEditing​()
        Get if is editing
        Returns:
        Boolean
      • setEditing

        public void setEditing​(boolean value)
        Set if is editing
        Parameters:
        value - Boolean
      • update

        public void update​()
        Update properties
      • updateLegendScheme

        public void updateLegendScheme​(LegendScheme aLS)
        Update legend nodes using a legend scheme
        Parameters:
        aLS - The legend scheme
      • getDrawHeight

        public int getDrawHeight​()
        Description copied from class: ItemNode
        Get drawing height
        Specified by:
        getDrawHeight in class ItemNode
        Returns:
        The drawing height
      • getExpandedHeight

        public int getExpandedHeight​()
        Description copied from class: ItemNode
        Get expanded height
        Specified by:
        getExpandedHeight in class ItemNode
        Returns:
        The expanded height
      • clone

        public java.lang.Object clone​()
                               throws java.lang.CloneNotSupportedException
        Clone
        Overrides:
        clone in class java.lang.Object
        Returns:
        LayerNode object
        Throws:
        java.lang.CloneNotSupportedException