类 ItemNode

    • 构造器详细资料

      • ItemNode

        public ItemNode()
        Constructor
    • 方法详细资料

      • getParentLegend

        public LayersLegend getParentLegend()
        Get parent layers legend
        返回:
        LayersLegend
      • getTop

        public int getTop()
        Get top
        返回:
        Top
      • setTop

        public void setTop​(int top)
        Set top
        参数:
        top - Top
      • getHeight

        public int getHeight()
        Get height
        返回:
        Height
      • setHeight

        public void setHeight​(int height)
        Set height
        参数:
        height - Height
      • isExpanded

        public boolean isExpanded()
        Get if is expanded
        返回:
        Boolean
      • isChecked

        public boolean isChecked()
        Get if is checked
        返回:
        Boolean
      • setChecked

        public void setChecked​(boolean checked)
        Set if is checked
        参数:
        checked - Boolean
      • getText

        public java.lang.String getText()
        Get text
        返回:
        The text
      • setText

        public void setText​(java.lang.String text)
        Set text
        参数:
        text - The text
      • getBackColor

        public java.awt.Color getBackColor()
        Get background color
        返回:
        Background color
      • setBackColor

        public void setBackColor​(java.awt.Color backColor)
        Set background color
        参数:
        backColor - Background color
      • getForeColor

        public java.awt.Color getForeColor()
        Get foreground color
        返回:
        foreground color
      • setForeColor

        public void setForeColor​(java.awt.Color foreColor)
        Set foreground color
        参数:
        foreColor - Foreground color
      • getNodeType

        public NodeTypes getNodeType()
        Get node type
        返回:
        The node type
      • setNodeType

        public void setNodeType​(NodeTypes nodeType)
        Set node type
        参数:
        nodeType - The node type
      • isSelected

        public boolean isSelected()
        Get if is selected
        返回:
        Boolean
      • setSelected

        public void setSelected​(boolean sel)
        Set if is selected
        参数:
        sel - Boolean
      • setParentLegend

        public void setParentLegend​(LayersLegend aLegend)
        Set parent legend
        参数:
        aLegend - The layers legend
      • expand

        public void expand()
        Expand the node
      • collapse

        public void collapse()
        Collapse the node
      • getExpandedHeight

        public abstract int getExpandedHeight()
        Get expanded height
        返回:
        The expanded height
      • getDrawHeight

        public abstract int getDrawHeight()
        Get drawing height
        返回:
        The drawing height