|
||||||||||
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.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(String attribute,
CharSequence value)
Construct. |
Method Summary | |
---|---|
String |
getAttribute()
|
CharSequence |
getValue()
|
boolean |
isEnabled()
Deprecated. use isEnabled(Component) now. |
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 org.apache.wicket.behavior.AbstractBehavior |
---|
afterRender, beforeRender, bind, cleanup, detach, detachModel, exception, getStatelessHint, isEnabled, isTemporary, onConfigure, onException, onRendered, rendered, renderHead |
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()
@Deprecated public final boolean isEnabled()
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(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 |