|
||||||||||
| 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.AttributeModifier
net.databinder.components.AlternatingClassModifier
public class AlternatingClassModifier
Alternates between class attribute values of "a" and "b", or user selected values, for even and odd ListItem components.
| Field Summary |
|---|
| Fields inherited from class org.apache.wicket.AttributeModifier |
|---|
VALUELESS_ATTRIBUTE_ADD, VALUELESS_ATTRIBUTE_REMOVE |
| Constructor Summary | |
|---|---|
AlternatingClassModifier(org.apache.wicket.markup.html.list.ListItem item)
Constructs AttributeModifier for "class" with values "a" or "b". |
|
AlternatingClassModifier(org.apache.wicket.markup.html.list.ListItem item,
java.lang.String classA,
java.lang.String classB)
Constructs AttributeModifier for "class" with the given alternating class values. |
|
| Method Summary |
|---|
| Methods inherited from class org.apache.wicket.AttributeModifier |
|---|
detach, getAddAttributeIfNotPresent, getAttribute, getContextRelativeValue, getPattern, getReplaceModel, isEnabled, isEnabled, newValue, onComponentTag, replaceAttibuteValue, setEnabled, toString |
| Methods inherited from class org.apache.wicket.behavior.AbstractBehavior |
|---|
afterRender, beforeRender, bind, cleanup, detachModel, exception, getStatelessHint, isTemporary, onException, onRendered, rendered, renderHead |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AlternatingClassModifier(org.apache.wicket.markup.html.list.ListItem item)
item - Object whose index determines class value.
public AlternatingClassModifier(org.apache.wicket.markup.html.list.ListItem item,
java.lang.String classA,
java.lang.String classB)
item - Object whose index determines class value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||