public OverlayIcon withOverlay ( ImageIcon ... overlays ) { if ( overlays != null ) { for ( ImageIcon overlay : overlays ) { this . overlays . add ( overlay ) ; } } return this ; }
Adds an overlay icon to the base icon .