Class IconDeckResizableIcon<T>

java.lang.Object
org.pushingpixels.flamingo.api.common.icon.IconDeckResizableIcon<T>
Type Parameters:
T - enumeration key into the deck
All Implemented Interfaces:
Icon, AsynchronousLoading, ResizableIcon

public class IconDeckResizableIcon<T> extends Object implements ResizableIcon, AsynchronousLoading
Implementation of the ResizableIcon that allows switching the icon painting at runtime. This class can be used as a delegate in the DecoratedResizableIcon where the "base" icon is changed at runtime without the need to recompute all the decorators.