Interface IconAware

  • All Known Implementing Classes:
    JRendererLabel, WrappingIconPanel

    public interface IconAware
    Interface for tagging rendering components to allow Highlighters to treat the Icon (Issue #1311-swingx) as a visual decoration. ComponentProviders which hand out IconAware rendering components must guarantee to reset its Icon property in each configuration round.
    • Method Detail

      • setIcon

        void setIcon​(javax.swing.Icon icon)
        Sets the icon property.
        Parameters:
        icon -
      • getIcon

        javax.swing.Icon getIcon()
        Returns the icon property.
        Returns: