org.jdesktop.swingx.renderer
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
 Icon getIcon()
          Returns the icon property.
 void setIcon(Icon icon)
          Sets the icon property.
 

Method Detail

setIcon

void setIcon(Icon icon)
Sets the icon property.

Parameters:
icon -

getIcon

Icon getIcon()
Returns the icon property.

Returns:


Copyright © 2012. All Rights Reserved.