|
||||||||||
| 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.HeaderContributor
org.efaps.ui.wicket.resources.StaticHeaderContributor
public class StaticHeaderContributor
A HeaderContributor for Content wich is stored inside the eFaps-DataBase.
Unlike other HeaderContributor the Instance of StaticHeaderContributor migtht
be removed on rendering from the component to merge it with other
StaticHeaderContributor and added as a new merged StaticHeaderContributor to
a ParentComponent. To prevent a StaticHeaderContributor from merging for e.g.
keep the Sequence of Behaviors in a Compoment merged must be set to
true.
| Nested Class Summary | |
|---|---|
static class |
StaticHeaderContributor.HeaderType
this enum is used to distinguish between the different Types of the Header. |
| Constructor Summary | |
|---|---|
StaticHeaderContributor(org.apache.wicket.markup.html.IHeaderContributor _headerContributor,
EFapsContentReference _reference)
Constructor setting the IHeaderContributor in the SuperClass and the Reference. |
|
| Method Summary | |
|---|---|
void |
bind(org.apache.wicket.Component _component)
(non-Javadoc). |
static StaticHeaderContributor |
forCss(EFapsContentReference _reference)
Static method to get a StaticHeaderContributor for CSS that will be merged. |
static StaticHeaderContributor |
forCss(EFapsContentReference _reference,
boolean _merged)
Static method to get a StaticHeaderContributor for CSS. |
static StaticHeaderContributor |
forJavaScript(EFapsContentReference _reference)
Static method to get a StaticHeaderContributor for JavaScript that will be merged. |
static StaticHeaderContributor |
forJavaScript(EFapsContentReference _reference,
boolean _nomerge)
* Static method to get a StaticHeaderContributor for JavaScript. |
org.apache.wicket.Component |
getComponent()
This is the getter method for the instance variable component. |
StaticHeaderContributor.HeaderType |
getHeaderType()
This is the getter method for the instance variable headerType. |
EFapsContentReference |
getReference()
This is the getter method for the instance variable reference. |
boolean |
isMerged()
This is the getter method for the instance variable merged. |
void |
setHeaderType(StaticHeaderContributor.HeaderType _headerType)
This is the setter method for the instance variable headerType. |
void |
setMerged(boolean _merged)
This is the setter method for the instance variable merged. |
| Methods inherited from class org.apache.wicket.behavior.HeaderContributor |
|---|
forCss, forCss, forCss, forCss, forCss, forCss, forJavaScript, forJavaScript, forJavaScript, getHeaderContributors |
| Methods inherited from class org.apache.wicket.behavior.AbstractHeaderContributor |
|---|
renderHead |
| Methods inherited from class org.apache.wicket.behavior.AbstractBehavior |
|---|
afterRender, beforeRender, cleanup, detach, detachModel, exception, getStatelessHint, isEnabled, isTemporary, onComponentTag, onException, onRendered, rendered |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StaticHeaderContributor(org.apache.wicket.markup.html.IHeaderContributor _headerContributor,
EFapsContentReference _reference)
_headerContributor - IHeaderContributor_reference - EFapsContentReference| Method Detail |
|---|
public static final StaticHeaderContributor forCss(EFapsContentReference _reference)
_reference - Reference to the Content
public static final StaticHeaderContributor forCss(EFapsContentReference _reference,
boolean _merged)
_reference - Reference to the Content_merged - should this StaticHeaderContributor merged
public static final StaticHeaderContributor forJavaScript(EFapsContentReference _reference)
_reference - Reference to the Content
public static final StaticHeaderContributor forJavaScript(EFapsContentReference _reference,
boolean _nomerge)
_reference - Reference to the Content_nomerge - should this StaticHeaderContributor not bemerged
public boolean isMerged()
merged.
mergedpublic void bind(org.apache.wicket.Component _component)
bind in interface org.apache.wicket.behavior.IBehaviorbind in class org.apache.wicket.behavior.AbstractBehavior_component - ComponentAbstractBehavior.bind(org.apache.wicket.Component)public void setMerged(boolean _merged)
merged.
_merged - the merged to setpublic org.apache.wicket.Component getComponent()
component.
componentpublic EFapsContentReference getReference()
reference.
referencepublic StaticHeaderContributor.HeaderType getHeaderType()
headerType.
headerTypepublic void setHeaderType(StaticHeaderContributor.HeaderType _headerType)
headerType.
_headerType - the headerType to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||