Class Select2BootstrapTheme

java.lang.Object
org.wicketstuff.select2.Select2BootstrapTheme
All Implemented Interfaces:
Serializable, ISelect2Theme

public class Select2BootstrapTheme extends Object implements ISelect2Theme
Select2BootstrapThemeBehavior. Adds bootstrap look and feel to select2, See https://github.com/select2/select2-bootstrap-theme
Author:
Ernesto Reinaldo Barreiro (reirn70@gmail.com)
See Also:
  • Constructor Details

    • Select2BootstrapTheme

      public Select2BootstrapTheme(boolean useBootstrapWebJar)
  • Method Details

    • renderHead

      public void renderHead(Component varComponent, IHeaderResponse response)
      Description copied from interface: ISelect2Theme
      Allows theme to contribute headers (e.g. extra CSS resources)
      Specified by:
      renderHead in interface ISelect2Theme
      Parameters:
      varComponent - The component
      response - The header response
    • name

      public String name()
      Specified by:
      name in interface ISelect2Theme
      Returns:
      The name of the theme.