org.wamblee.wicket.behavior
Class CompositeBehavior
java.lang.Object
org.wamblee.wicket.behavior.CompositeBehavior
- All Implemented Interfaces:
- java.io.Serializable, org.apache.wicket.behavior.IBehavior, org.apache.wicket.IClusterable, org.apache.wicket.markup.html.IHeaderContributor
- Direct Known Subclasses:
- AbstractJQueryBehavior, LocalizedCompositeBehavior
public class CompositeBehavior
- extends java.lang.Object
- implements org.apache.wicket.behavior.IBehavior, org.apache.wicket.markup.html.IHeaderContributor
Composite behavior that allows combining a sequence of behaviors in one. This
behavior return true by default for getStatelessHint(Component)
. It
also returns false by default for isTemporary()
.
- See Also:
- Serialized Form
Constructor Summary |
CompositeBehavior(org.apache.wicket.behavior.IBehavior... aBehaviors)
Constructs the behvavior |
Method Summary |
void |
add(org.apache.wicket.behavior.IBehavior aBehavior)
Adds a behavior |
void |
afterRender(org.apache.wicket.Component aComponent)
|
void |
beforeRender(org.apache.wicket.Component aComponent)
|
void |
bind(org.apache.wicket.Component aComponent)
|
void |
detach(org.apache.wicket.Component aComponent)
|
void |
exception(org.apache.wicket.Component aComponent,
java.lang.RuntimeException aException)
|
boolean |
getStatelessHint(org.apache.wicket.Component aComponent)
|
boolean |
isEnabled(org.apache.wicket.Component aComponent)
|
boolean |
isTemporary()
|
void |
onComponentTag(org.apache.wicket.Component aComponent,
org.apache.wicket.markup.ComponentTag aTag)
|
void |
renderHead(org.apache.wicket.markup.html.IHeaderResponse aResponse)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeBehavior
public CompositeBehavior(org.apache.wicket.behavior.IBehavior... aBehaviors)
- Constructs the behvavior
- Parameters:
aBehaviors
- Array of behaviors.
add
public void add(org.apache.wicket.behavior.IBehavior aBehavior)
- Adds a behavior
- Parameters:
aBehavior
- Behavior.
bind
public void bind(org.apache.wicket.Component aComponent)
- Specified by:
bind
in interface org.apache.wicket.behavior.IBehavior
detach
public void detach(org.apache.wicket.Component aComponent)
- Specified by:
detach
in interface org.apache.wicket.behavior.IBehavior
exception
public void exception(org.apache.wicket.Component aComponent,
java.lang.RuntimeException aException)
- Specified by:
exception
in interface org.apache.wicket.behavior.IBehavior
onComponentTag
public void onComponentTag(org.apache.wicket.Component aComponent,
org.apache.wicket.markup.ComponentTag aTag)
- Specified by:
onComponentTag
in interface org.apache.wicket.behavior.IBehavior
renderHead
public void renderHead(org.apache.wicket.markup.html.IHeaderResponse aResponse)
- Specified by:
renderHead
in interface org.apache.wicket.markup.html.IHeaderContributor
beforeRender
public void beforeRender(org.apache.wicket.Component aComponent)
- Specified by:
beforeRender
in interface org.apache.wicket.behavior.IBehavior
afterRender
public void afterRender(org.apache.wicket.Component aComponent)
- Specified by:
afterRender
in interface org.apache.wicket.behavior.IBehavior
getStatelessHint
public boolean getStatelessHint(org.apache.wicket.Component aComponent)
- Specified by:
getStatelessHint
in interface org.apache.wicket.behavior.IBehavior
isEnabled
public boolean isEnabled(org.apache.wicket.Component aComponent)
- Specified by:
isEnabled
in interface org.apache.wicket.behavior.IBehavior
isTemporary
public boolean isTemporary()
- Specified by:
isTemporary
in interface org.apache.wicket.behavior.IBehavior
Copyright © 2022. All Rights Reserved.