Class TypeInfoTreeItem

    • Constructor Detail

      • TypeInfoTreeItem

        public TypeInfoTreeItem​(String caption)
    • Method Detail

      • addChild

        public void addChild​(TypeInfoTreeItem child)
        Add child tree item
        Parameters:
        child -
      • getChilds

        public List<TypeInfoTreeItem> getChilds()
        Get list childs of this tree item
        Returns:
        list childs
      • isChecked

        public boolean isChecked()
        Returns:
        true if this item checked in selected type dialog
      • setChecked

        public void setChecked​(boolean checked)
        Set checked to tree item
        Parameters:
        checked -
      • isCheckable

        public boolean isCheckable()
        Returns:
        true if this tree item can be checked in selected type dialog
      • setCheckable

        public void setCheckable​(boolean checkable)
        Set checkable to tree item
        Parameters:
        checkable -
      • getParent

        public TypeInfoTreeItem getParent()
        Method returned parent of this tree item. Can be null
        Returns:
        parent of this item
      • setParent

        public void setParent​(TypeInfoTreeItem parent)
        Set parent of this tree item
        Parameters:
        parent -
      • getType

        public TypeInfo getType()
        Returns:
        type info that contained this tree item
      • setType

        public void setType​(TypeInfo type)
        Set type info
        Parameters:
        type -
      • getCaption

        public String getCaption()
        Returns:
        name of tree item if it is virtual
      • getOrder

        public int getOrder()
        Returns:
        tree item order identificator
      • getErrorMessage

        public String getErrorMessage()
        Returns:
        the errorMessage
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • setErrorMessage

        public void setErrorMessage​(String errorMessage)
        Parameters:
        errorMessage - the errorMessage to set