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.
Author:
Jeanette Winzenburg, Berlin
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the icon property.
    void
    setIcon(Icon icon)
    Sets the icon property.
  • Method Details

    • setIcon

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

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