Module wicket.bootstrap.core
Class ListBehavior
java.lang.Object
org.apache.wicket.behavior.Behavior
de.agilecoders.wicket.core.markup.html.bootstrap.behavior.BootstrapBaseBehavior
de.agilecoders.wicket.core.markup.html.bootstrap.list.ListBehavior
- All Implemented Interfaces:
Serializable,IComponentAwareEventSink,IComponentAwareHeaderContributor,IClusterable
A bootstrap styled list of elements. (ol/ul/dl tag)
- Author:
- miha
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ListBehaviorsets a special css class so that this list will be rendered horizontally.inline()sets a special css class so that this list will be rendered inline.voidonComponentTag(Component component, ComponentTag tag) static ListBehaviorordered()static ListBehaviorunstyled()whether to us styles or not for ul tags.Methods inherited from class de.agilecoders.wicket.core.markup.html.bootstrap.behavior.BootstrapBaseBehavior
addTo, getBootstrapSettings, instance, removeFrom, renderHead, renderHeadMethods inherited from class org.apache.wicket.behavior.Behavior
afterRender, beforeRender, bind, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onRemove, onTag, unbind
-
Constructor Details
-
ListBehavior
public ListBehavior()Constructor usingListBehavior.Type.DYNAMIC.
-
-
Method Details
-
description
- Returns:
- a new description list behavior
-
unordered
- Returns:
- a new unordered list behavior
-
ordered
- Returns:
- a new ordered list behavior
-
horizontal
sets a special css class so that this list will be rendered horizontally.- Returns:
- this instance for chaining.
-
inline
sets a special css class so that this list will be rendered inline.- Returns:
- this instance for chaining.
-
unstyled
whether to us styles or not for ul tags.- Returns:
- this instance for chaining
-
onComponentTag
- Overrides:
onComponentTagin classBehavior
-