|
||||||||||
| 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(java.lang.String attribute,
java.lang.CharSequence value)
Construct. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAttribute()
|
java.lang.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, 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(java.lang.String attribute,
java.lang.CharSequence value)
attribute - The attributevalue - The value| Method Detail |
|---|
public final java.lang.String getAttribute()
public final java.lang.CharSequence getValue()
@Deprecated public final boolean isEnabled()
public void onComponentTag(Component component,
ComponentTag tag)
IBehavior
onComponentTag in interface IBehavioronComponentTag in class AbstractBehaviorcomponent - 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 | |||||||||