All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.devocative.wickomp.wrcs.FontAwesomeBehavior Maven / Gradle / Ivy

There is a newer version: 2.11
Show newest version
package org.devocative.wickomp.wrcs;

import org.apache.wicket.Component;
import org.apache.wicket.behavior.Behavior;
import org.apache.wicket.markup.head.HeaderItem;
import org.apache.wicket.markup.head.IHeaderResponse;

public class FontAwesomeBehavior extends Behavior {
	private static final long serialVersionUID = 5411730158972972793L;

	private static HeaderItem CSS = Resource.getCommonCSS("fontawesome/css/font-awesome.min.css");

	public static void setCSS(HeaderItem CSS) {
		FontAwesomeBehavior.CSS = CSS;
	}

	@Override
	public void renderHead(Component component, IHeaderResponse response) {
		response.render(CSS);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy