org.apache.wicket.markup.html
Class HTML5Attributes
java.lang.Object
org.apache.wicket.behavior.Behavior
org.apache.wicket.markup.html.HTML5Attributes
- All Implemented Interfaces:
- Serializable, IComponentAwareEventSink, IComponentAwareHeaderContributor, IClusterable
public class HTML5Attributes
- extends Behavior
Behavior which renders HTML5 attributes.
- See Also:
onInput(AbstractTextComponent, ComponentTag)
,
onButton(Button, ComponentTag)
,
Serialized Form
Methods inherited from class org.apache.wicket.behavior.Behavior |
afterRender, beforeRender, bind, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onConfigure, onEvent, onException, onRemove, renderHead, unbind |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTML5Attributes
public HTML5Attributes()
onComponentTag
public void onComponentTag(Component component,
ComponentTag tag)
- Description copied from class:
Behavior
- Called any time a component that has this behavior registered is rendering the component tag.
- Overrides:
onComponentTag
in class Behavior
- Parameters:
component
- the component that renders this tag currentlytag
- the tag that is rendered
onInput
protected void onInput(AbstractTextComponent<?> input,
ComponentTag tag)
- Writes HTML5 attributes for
AbstractTextComponent
inputs:
onButton
protected void onButton(Button button,
ComponentTag tag)
- Writes HTML5 attributes for
Button
s:
Copyright © 2006–2015 Apache Software Foundation. All rights reserved.