|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wicket.behavior.AbstractBehavior wicket.behavior.AbstractHeaderContributor 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 |
detachModel(Component component)
Provides for the ability to detach any models this behavior has. |
IHeaderContributor[] |
getHeaderContributors()
Gets the header contributors for this behavior. |
java.lang.String |
toString()
|
Methods inherited from class wicket.behavior.AbstractHeaderContributor |
---|
cleanup, renderHead |
Methods inherited from class wicket.behavior.AbstractBehavior |
---|
bind, exception, 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 stringMethod Detail |
---|
public final IHeaderContributor[] getHeaderContributors()
AbstractHeaderContributor
getHeaderContributors
in class AbstractHeaderContributor
AbstractHeaderContributor.getHeaderContributors()
public void detachModel(Component component)
IBehavior
detachModel
in interface IBehavior
detachModel
in class AbstractBehavior
component
- the component that initiates the detachement of this behaviorAbstractBehavior.detachModel(wicket.Component)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |