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

org.wicketstuff.select2.ISelect2Theme Maven / Gradle / Ivy

There is a newer version: 10.2.0
Show newest version
package org.wicketstuff.select2;

import org.apache.wicket.Component;
import org.apache.wicket.markup.head.IHeaderResponse;

import java.io.Serializable;

/**
 * Defines a select2 theme.
 *  
 */
public interface ISelect2Theme extends Serializable {

    /**
     * Allows theme to contribute headers (e.g. extra CSS resources) 
     *  
     * @param component The component
     * @param response The header response
     */
    void renderHead(final Component component, final IHeaderResponse response);

    /**
     *
     * @return The name of the theme.
     */
    String name();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy