public class InputBehavior extends BootstrapBaseBehavior
InputBehavior controls the size of an input tag.| Modifier and Type | Class and Description |
|---|---|
static class |
InputBehavior.Size
Holder class for all possible input element sizes
|
| Constructor and Description |
|---|
InputBehavior()
Construct.
|
InputBehavior(InputBehavior.Size size)
Construct.
|
InputBehavior(SpanType size)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onComponentTag(org.apache.wicket.Component component,
org.apache.wicket.markup.ComponentTag tag) |
InputBehavior |
size(InputBehavior.Size size)
sets the size of input tag
|
InputBehavior |
size(SpanType size)
sets the size of input tag
|
addTo, getBootstrapSettings, removeFrom, renderHead, renderHeadpublic InputBehavior()
InputBehavior.Size.Medium as default size.public InputBehavior(SpanType size)
size - size of input tag.public InputBehavior(InputBehavior.Size size)
size - size of input tag.public InputBehavior size(SpanType size)
size - the size to usepublic InputBehavior size(InputBehavior.Size size)
size - the size to usepublic void onComponentTag(org.apache.wicket.Component component,
org.apache.wicket.markup.ComponentTag tag)
onComponentTag in class org.apache.wicket.behavior.BehaviorCopyright © 2013 agilecoders.de. All Rights Reserved.