Package com.helger.html.hc.ext
Class HCCustomizerAutoFocusFirstCtrl
- java.lang.Object
-
- com.helger.html.hc.impl.AbstractHCCustomizer
-
- com.helger.html.hc.ext.HCCustomizerAutoFocusFirstCtrl
-
- All Implemented Interfaces:
IHCCustomizer
public class HCCustomizerAutoFocusFirstCtrl extends AbstractHCCustomizer
Special customizer that customizes the first input element on the page (if available).- Author:
- Philip Helger
-
-
Constructor Summary
Constructors Constructor Description HCCustomizerAutoFocusFirstCtrl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcustomizeNode(IHCNode aNode, EHTMLVersion eHTMLVersion, IHCHasChildrenMutable<?,? super IHCNode> aTargetNode)Customize HC node with some predefined classes etc.booleanequals(Object o)inthashCode()static voidsetAutoFocusOnFirstControl(IHCNode aStartNode)-
Methods inherited from class com.helger.html.hc.impl.AbstractHCCustomizer
toString
-
-
-
-
Method Detail
-
setAutoFocusOnFirstControl
public static void setAutoFocusOnFirstControl(@Nonnull IHCNode aStartNode)
-
customizeNode
public void customizeNode(@Nonnull IHCNode aNode, @Nonnull EHTMLVersion eHTMLVersion, @Nonnull IHCHasChildrenMutable<?,? super IHCNode> aTargetNode)
Description copied from interface:IHCCustomizerCustomize HC node with some predefined classes etc.- Parameters:
aNode- The element to be customized. Nevernull.eHTMLVersion- The HTML version to be used. Nevernull.aTargetNode- The node where additional elements should be appended to. May not benull.
-
-