|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.behavior.Behavior org.apache.wicket.behavior.SimpleAttributeModifier
AttributeModifier.replace(String, java.io.Serializable)
instead
@Deprecated 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(String attribute,
CharSequence value)
Deprecated. Construct. |
Method Summary | |
---|---|
String |
getAttribute()
Deprecated. |
CharSequence |
getValue()
Deprecated. |
void |
onComponentTag(Component component,
ComponentTag tag)
Deprecated. Called any time a component that has this behavior registered is rendering the component tag. |
Methods inherited from class org.apache.wicket.behavior.Behavior |
---|
afterRender, beforeRender, bind, canCallListenerInterface, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onConfigure, onEvent, onException, renderHead, unbind |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleAttributeModifier(String attribute, CharSequence value)
attribute
- The attributevalue
- The valueMethod Detail |
---|
public final String getAttribute()
public final CharSequence getValue()
public void onComponentTag(Component component, ComponentTag tag)
Behavior
onComponentTag
in class Behavior
component
- the component that renders this tag currentlytag
- the tag that is renderedBehavior.onComponentTag(org.apache.wicket.Component,
org.apache.wicket.markup.ComponentTag)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |