|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wicket.behavior.AbstractBehavior
org.apache.wicket.behavior.AbstractHeaderContributor
org.apache.wicket.behavior.StringHeaderContributor
public class StringHeaderContributor
A simple header contributor that just spits out the string it is constructed with as a header contribution.
Constructor Summary | |
---|---|
StringHeaderContributor(IModel<?> contribution)
Construct. |
|
StringHeaderContributor(String contribution)
Construct. |
Method Summary | |
---|---|
void |
detach(Component component)
Allows the behavior to detach any state it has attached during request processing. |
IHeaderContributor[] |
getHeaderContributors()
Gets the header contributors for this behavior. |
String |
toString()
|
Methods inherited from class org.apache.wicket.behavior.AbstractHeaderContributor |
---|
renderHead |
Methods inherited from class org.apache.wicket.behavior.AbstractBehavior |
---|
afterRender, beforeRender, bind, cleanup, detachModel, exception, getStatelessHint, isEnabled, isTemporary, onComponentTag, onConfigure, onException, onRendered, rendered |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StringHeaderContributor(String contribution)
contribution
- header contribution as a plain stringpublic StringHeaderContributor(IModel<?> contribution)
contribution
- header contribution as a model that returns a plain stringMethod Detail |
---|
public final IHeaderContributor[] getHeaderContributors()
AbstractHeaderContributor
getHeaderContributors
in class AbstractHeaderContributor
AbstractHeaderContributor.getHeaderContributors()
public void detach(Component component)
IBehavior
detach
in interface IBehavior
detach
in class AbstractBehavior
component
- the component that initiates the detachment of this behaviorAbstractBehavior.detach(org.apache.wicket.Component)
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |