Module wicket.bootstrap.core
Class TableBehavior
java.lang.Object
org.apache.wicket.behavior.Behavior
de.agilecoders.wicket.core.markup.html.bootstrap.behavior.BootstrapBaseBehavior
de.agilecoders.wicket.core.markup.html.bootstrap.table.TableBehavior
- All Implemented Interfaces:
Serializable,IComponentAwareEventSink,IComponentAwareHeaderContributor,IClusterable
A
TableBehavior that is able to style a html table.- Author:
- miha
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbordered()adds the "bordered" style to tabledark()adds the "dark" flag to tablehover()adds the "hover" flag to tablelight()add the "light" flag to tablevoidonComponentTag(Component component, ComponentTag tag) sm()adds the "sm" style to tablestriped()adds the "striped" style to tableMethods 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
-
TableBehavior
public TableBehavior()
-
-
Method Details
-
striped
adds the "striped" style to table- Returns:
- this instance for chaining
-
sm
adds the "sm" style to table- Returns:
- this instance for chaining
-
bordered
adds the "bordered" style to table- Returns:
- this instance for chaining
-
hover
adds the "hover" flag to table- Returns:
- this instance for chaining
-
dark
adds the "dark" flag to table- Returns:
- this instance for chaining
-
light
add the "light" flag to table- Returns:
- this instance for chaining
-
onComponentTag
- Overrides:
onComponentTagin classBehavior
-