|
||||||||||
| 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(java.lang.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. |
java.lang.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, onException, onRendered, rendered |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StringHeaderContributor(java.lang.String contribution)
contribution - header contribution as a plain stringpublic StringHeaderContributor(IModel<?> contribution)
contribution - header contribution as a model that returns a plain string| Method Detail |
|---|
public final IHeaderContributor[] getHeaderContributors()
AbstractHeaderContributor
getHeaderContributors in class AbstractHeaderContributorAbstractHeaderContributor.getHeaderContributors()public void detach(Component component)
IBehavior
detach in interface IBehaviordetach in class AbstractBehaviorcomponent - the component that initiates the detachment of this behaviorAbstractBehavior.detach(org.apache.wicket.Component)public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||