com.jwebmp.plugins.themify.icons.ThemifyIcon Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jwebmp-themify-icons Show documentation
Show all versions of jwebmp-themify-icons Show documentation
The JWebSwing implementation for Themify Icons
package com.jwebmp.plugins.themify.icons;
import com.jwebmp.core.base.html.Span;
import com.jwebmp.core.base.html.attributes.NoAttributes;
import com.jwebmp.core.base.interfaces.IComponentHierarchyBase;
/**
* Creates a span that will contain this icon as a class name
*/
public class ThemifyIcon
extends Span
{
/**
* Creates the span for the given icon
*
* @param icon
* The icon to use
*/
public ThemifyIcon(ThemifyIcons icon)
{
this();
addClass(icon);
}
/**
* Creates an empty span with no icon, use the other constructor
*/
public ThemifyIcon()
{
}
}