Interface IconAdornment


  • @OpenApiAll
    public interface IconAdornment
    An adornment of the browser tree node icon. For example containment tree uses these kinds of adornments for marking hyperlinked elements.
    See Also:
    TreeNodeAdornmentManager
    • Method Detail

      • adorn

        @CheckForNull
        javax.swing.Icon adorn​(java.awt.Component component,
                               @CheckForNull
                               javax.swing.Icon icon,
                               BaseElement element)
        Adorn the given icon.
        Parameters:
        component - tree component.
        icon - icon to adorn.
        element - element represented by the node.
        Returns:
        adorned icon.