org.jdesktop.swingx.renderer.IconAware Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swingx-all Show documentation
Show all versions of swingx-all Show documentation
A Maven project to aggregate all modules into a single artifact.
/*
* Created on 05.11.2010
*
*/
package org.jdesktop.swingx.renderer;
import javax.swing.Icon;
/**
* 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
*/
public interface IconAware {
/**
* Sets the icon property.
*
* @param icon
*/
public void setIcon(Icon icon);
/**
* Returns the icon property.
*
* @return
*/
public Icon getIcon();
}