Examples of IHeaderContributor


Examples of org.apache.wicket.markup.html.IHeaderContributor

  {
    if (renderHeadListeners != null)
    {
      for (Iterator<IHeaderContributor> iter = renderHeadListeners.iterator(); iter.hasNext();)
      {
        IHeaderContributor listener = iter.next();
        listener.renderHead(response);
      }
    }
  }
View Full Code Here

Examples of org.apache.wicket.markup.html.IHeaderContributor

  }

  public MergedHeaderContributor(List<ResourceReference> refs, String cssMediaType) {
    _refs = new ArrayList<ResourceReference>(refs);
    _cssMediaType = cssMediaType;
    _contributor = new IHeaderContributor() {

      private static final long serialVersionUID = 1L;

      public void renderHead(final IHeaderResponse response) {
        for (final ResourceReference ref : _refs) {
View Full Code Here

Examples of org.apache.wicket.markup.html.IHeaderContributor

    protected void configureWicketBootstrap() {
        final IBootstrapSettings settings = new BootstrapSettings();
        Bootstrap.install(this, settings);

        getHeaderContributorListenerCollection().add(new IHeaderContributor() {
            @Override
            public void renderHead(IHeaderResponse response) {
                BootstrapBaseBehavior bootstrapBaseBehavior = new BootstrapBaseBehavior();
                bootstrapBaseBehavior.renderHead(settings, response);
            }
View Full Code Here

Examples of org.apache.wicket.markup.html.IHeaderContributor

  {
    if (renderHeadListeners != null)
    {
      for (Iterator i = renderHeadListeners.iterator(); i.hasNext();)
      {
        IHeaderContributor listener = (IHeaderContributor)i.next();
        listener.renderHead(response);
      }
    }
  }
View Full Code Here

Examples of org.apache.wicket.markup.html.IHeaderContributor

   *            The path
   * @return the new header contributor instance
   */
  public static final HeaderContributor forCss(final Class< ? > scope, final String path)
  {
    return new HeaderContributor(new IHeaderContributor()
    {
      private static final long serialVersionUID = 1L;

      public void renderHead(IHeaderResponse response)
      {
View Full Code Here

Examples of org.apache.wicket.markup.html.IHeaderContributor

   * @return the new header contributor instance
   */
  public static final HeaderContributor forCss(final Class< ? > scope, final String path,
    final String media)
  {
    return new HeaderContributor(new IHeaderContributor()
    {
      private static final long serialVersionUID = 1L;

      public void renderHead(IHeaderResponse response)
      {
View Full Code Here

Examples of org.apache.wicket.markup.html.IHeaderContributor

   *
   * @return the new header contributor instance
   */
  public static final HeaderContributor forCss(final ResourceReference reference)
  {
    return new HeaderContributor(new IHeaderContributor()
    {
      private static final long serialVersionUID = 1L;

      public void renderHead(IHeaderResponse response)
      {
View Full Code Here

Examples of org.apache.wicket.markup.html.IHeaderContributor

   * @return the new header contributor instance
   */
  public static final HeaderContributor forCss(final ResourceReference reference,
    final String media)
  {
    return new HeaderContributor(new IHeaderContributor()
    {
      private static final long serialVersionUID = 1L;

      public void renderHead(IHeaderResponse response)
      {
View Full Code Here

Examples of org.apache.wicket.markup.html.IHeaderContributor

   *            The location of the css file.
   * @return the new header contributor instance
   */
  public static final HeaderContributor forCss(final String location)
  {
    return new HeaderContributor(new IHeaderContributor()
    {
      private static final long serialVersionUID = 1L;

      public void renderHead(IHeaderResponse response)
      {
View Full Code Here

Examples of org.apache.wicket.markup.html.IHeaderContributor

   *            The media type for this CSS ("print", "screen", etc.)
   * @return the new header contributor instance
   */
  public static final HeaderContributor forCss(final String location, final String media)
  {
    return new HeaderContributor(new IHeaderContributor()
    {
      private static final long serialVersionUID = 1L;

      public void renderHead(IHeaderResponse response)
      {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.