code: public static void iconComponent(Component component, UiIcon icon)
  	{
  		component.add(AttributeModifier.append("class", "ui-icon " + icon.getCssClass()));
  	}
docs: Method to display your composant as an icon
  
  @param component
  Wicket component
  @param icon
  Icon to display