org.apache.wicket.behavior
Class CssReferenceHeaderContributor

java.lang.Object
  extended by org.apache.wicket.behavior.AbstractBehavior
      extended by org.apache.wicket.behavior.AbstractHeaderContributor
          extended by org.apache.wicket.behavior.CssReferenceHeaderContributor
All Implemented Interfaces:
java.io.Serializable, IBehavior, IClusterable, IHeaderContributor

public class CssReferenceHeaderContributor
extends AbstractHeaderContributor

Author:
Juergen Donnerstag
See Also:
Serialized Form

Constructor Summary
CssReferenceHeaderContributor(ResourceReference reference)
          Construct.
CssReferenceHeaderContributor(ResourceReference reference, java.lang.String media)
          Construct.
 
Method Summary
 void renderHead(IHeaderResponse response)
          Render to the web response whatever the component wants to contribute to the head section.
 
Methods inherited from class org.apache.wicket.behavior.AbstractHeaderContributor
returnRelativePath
 
Methods inherited from class org.apache.wicket.behavior.AbstractBehavior
afterRender, beforeRender, bind, cleanup, detach, exception, getStatelessHint, isEnabled, isTemporary, onComponentTag, onException, onRendered, unbind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CssReferenceHeaderContributor

public CssReferenceHeaderContributor(ResourceReference reference)
Construct.

Parameters:
reference -

CssReferenceHeaderContributor

public CssReferenceHeaderContributor(ResourceReference reference,
                                     java.lang.String media)
Construct.

Parameters:
reference -
media - The media type for this CSS ("print", "screen", etc.)
Method Detail

renderHead

public void renderHead(IHeaderResponse response)
Description copied from interface: IHeaderContributor
Render to the web response whatever the component wants to contribute to the head section. TODO: Post 1.3, add component parameter, so that the behaviors dont' have to track component instances

Specified by:
renderHead in interface IHeaderContributor
Specified by:
renderHead in class AbstractHeaderContributor
Parameters:
response - Response object
See Also:
AbstractHeaderContributor.renderHead(org.apache.wicket.markup.html.IHeaderResponse)


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.