Class TreeNodeAdornmentManager

    • Constructor Detail

      • TreeNodeAdornmentManager

        private TreeNodeAdornmentManager()
    • Method Detail

      • addIconAdornment

        public void addIconAdornment​(IconAdornment adornment)
        Add icon adornment.
        Parameters:
        adornment - icon adornment to register.
      • removeIconAdornment

        public void removeIconAdornment​(IconAdornment adornment)
        Remove registered icon adornment.
        Parameters:
        adornment - icon adornment to remove.
      • addNodeIconAdornment

        public void addNodeIconAdornment​(NodeIconAdornment adornment)
        Add node icon adornment.
        Parameters:
        adornment - icon adornment to register
      • removeNodeIconAdornment

        public void removeNodeIconAdornment​(NodeIconAdornment adornment)
        Remove registered node icon adornment.
        Parameters:
        adornment - icon adornment to remove.
      • addTextAdornment

        public void addTextAdornment​(TextAdornment adornment)
        Add text adornment.
        Parameters:
        adornment - text adornment to register.
      • removeTextAdornment

        public void removeTextAdornment​(TextAdornment adornment)
        Remove registered text adornment.
        Parameters:
        adornment - text adornment to remove.
      • addNodeTextAdornment

        public void addNodeTextAdornment​(NodeTextAdornment adornment)
        Add node text adornment.
        Parameters:
        adornment - text adornment to register
      • removeTextAdornment

        public void removeTextAdornment​(NodeTextAdornment adornment)
        Remove registered node text adornment.
        Parameters:
        adornment - text adornment to remove
      • getIconAdornments

        java.util.List<IconAdornment> getIconAdornments()
        Get icon adornments.
        Returns:
        icon adornments.
      • getNodeIconAdornments

        java.util.List<NodeIconAdornment> getNodeIconAdornments()
        Get node icon adornments.
        Returns:
        node icon adornments.
      • getTextAdornments

        java.util.List<TextAdornment> getTextAdornments()
        Get text adornments.
        Returns:
        text adornments.
      • getNodeTextAdornments

        java.util.List<NodeTextAdornment> getNodeTextAdornments()
        Get node text adornments.
        Returns:
        text adornments
      • modify

        private static <T> java.util.List<T> modify​(java.util.List<T> list,
                                                    java.util.function.Consumer<java.util.List<T>> modificationFunction)