|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wicket.behavior.AbstractBehavior wicket.behavior.SimpleAttributeModifier
public class SimpleAttributeModifier
A lightweight version of the attribute modifier. This is convenient for simpler situations where you know the value upfront and you do not need a pull-based model.
Constructor Summary | |
---|---|
SimpleAttributeModifier(java.lang.String attribute,
java.lang.CharSequence value)
Construct. |
Method Summary | |
---|---|
protected boolean |
isEnabled()
|
void |
onComponentTag(Component component,
ComponentTag tag)
Called any time a component that has this behavior registered is rendering the component tag. |
Methods inherited from class wicket.behavior.AbstractBehavior |
---|
bind, cleanup, detachModel, exception, onException, onRendered, rendered |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleAttributeModifier(java.lang.String attribute, java.lang.CharSequence value)
attribute
- The attributevalue
- The valueMethod Detail |
---|
public void onComponentTag(Component component, ComponentTag tag)
IBehavior
onComponentTag
in interface IBehavior
onComponentTag
in class AbstractBehavior
component
- the component that renders this tag currentlytag
- the tag that is renderedAbstractBehavior.onComponentTag(wicket.Component,
wicket.markup.ComponentTag)
protected boolean isEnabled()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |