@NotThreadSafe public class BootstrapForm extends com.helger.html.hc.html.AbstractHCForm<BootstrapForm>
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_LEFT_PART |
static int |
DEFAULT_RIGHT_PART |
DEFAULT_AUTO_COMPLETE, DEFAULT_METHOD, DEFAULT_NOVALIDATE, DEFAULT_SUBMIT_PRESSING_ENTER| Constructor and Description |
|---|
BootstrapForm() |
BootstrapForm(EBootstrapFormType eFormType) |
BootstrapForm(com.helger.commons.url.ISimpleURL aAction) |
BootstrapForm(com.helger.commons.url.ISimpleURL aAction,
EBootstrapFormType eFormType) |
BootstrapForm(String sAction) |
BootstrapForm(String sAction,
EBootstrapFormType eFormType) |
| Modifier and Type | Method and Description |
|---|---|
BootstrapForm |
addFormGroup(BootstrapFormGroup aFormGroup) |
IBootstrapFormGroupRenderer |
getFormGroupRenderer() |
EBootstrapFormType |
getFormType() |
BootstrapGridSpec |
getLeft() |
BootstrapGridSpec |
getRight() |
BootstrapForm |
setFormGroupRenderer(IBootstrapFormGroupRenderer aFormGroupRenderer) |
BootstrapForm |
setFormType(EBootstrapFormType eFormType) |
BootstrapForm |
setLeft(int nLeftParts)
Set the left part of a horizontal form.
|
BootstrapForm |
setLeft(int nLeftPartsXS,
int nLeftPartsSM,
int nLeftPartsMD,
int nLeftPartsLG)
Set the left part of a horizontal form.
|
BootstrapForm |
setSplitting(BootstrapGridSpec aLeft,
BootstrapGridSpec aRight)
Set the left part of a horizontal form.
|
applyProperties, getAcceptCharset, getActionJS, getActionURL, getEncType, getMethod, getName, getSubmitButtonTabIndex, getTarget, isAutoCompleteOff, isAutoCompleteOn, isAutoCompleteUndefined, isNoValidate, isSubmitPressingEnter, setAcceptCharset, setAction, setAction, setAction, setAutoComplete, setAutoComplete, setEncType, setEncTypeFileUpload, setEncTypeTextPlain, setFileUploadEncType, setMethod, setName, setNoValidate, setSubmitPressingEnter, setSubmitPressingEnter, setTarget, toStringaddChild, addChild, addChild, addChild, addChildren, addChildren, addChildren, addChildrenaddAndReturnChild, addAndReturnChild, addChild, addChild, addChildren, addChildren, addChildren, afterAddChild, afterRemoveChild, beforeAddChild, canConvertToNode, directGetChildren, getAllChildren, getAllChildrenAsNodeList, getChild, getChildAtIndex, getChildCount, getChildren, getChildrenFormEmitting, getFirstChild, getLastChild, getPlainText, hasChildren, internalBeforeConvertToNode, recursiveContainsChildWithTagName, removeAllChildren, removeChild, removeChild, sortAllChildrenaddClass, addClasses, addClasses, addClasses, addEventHandler, addStyle, addStyle, addStyles, addStyles, addStyles, containsClass, containsCustomAttr, containsDataAttr, containsEventHandler, containsStyle, createElement, ensureID, finishAfterApplyProperties, getAccessKey, getAllClasses, getAllClassesAsString, getAllClassNames, getAllCustomAttrs, getAllDataAttrs, getAllStyles, getAllStylesAsString, getAllStyleValues, getContentEditable, getContextMenu, getCustomAttrCount, getCustomAttrValue, getDataAttrValue, getDirection, getDraggable, getDropZone, getElement, getEventHandler, getID, getLanguage, getRole, getStyleValue, getTabIndex, getTagName, getTitle, hasAnyClass, hasAnyStyle, hasCustomAttrs, hasDataAttrs, hasID, hasStyle, internalConvertToNode, isDataAttrName, isHidden, isSpellCheck, isTranslateOff, isTranslateOn, isTranslateUndefined, isUnfocusable, makeDataAttrName, prependEventHandler, removeAllClasses, removeAllEventHandler, removeAllStyles, removeClass, removeCustomAttr, removeDataAttr, removeStyle, setAccessKey, setContentEditable, setContextMenu, setCustomAttr, setCustomAttr, setCustomAttr, setDataAttr, setDataAttr, setDataAttr, setDirection, setDraggable, setDropZone, setEventHandler, setHidden, setID, setLanguage, setRole, setSpellCheck, setTabIndex, setTitle, setTranslate, setTranslate, setUnfocusable, setUniqueID, thisAsTapplyCustomization, beforeConvertToNode, convertToNode, getAsConditionalCommentNode, getAsHTMLString, internalAfterConvertToNode, isConvertedToNode, isCustomized, onAdded, onRemovedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddEventHandler, containsCustomAttr, containsDataAttr, containsEventHandler, ensureID, getAccessKey, getAllCustomAttrs, getAllDataAttrs, getContentEditable, getContextMenu, getCustomAttrCount, getCustomAttrValue, getDataAttrValue, getDirection, getDraggable, getDropZone, getElement, getEventHandler, getID, getLanguage, getRole, getTabIndex, getTagName, hasCustomAttrs, hasDataAttrs, hasID, isHidden, isSpellCheck, isTranslateOff, isTranslateOn, isTranslateUndefined, isUnfocusable, prependEventHandler, removeAllEventHandler, removeCustomAttr, removeDataAttr, setAccessKey, setContentEditable, setContextMenu, setCustomAttr, setCustomAttr, setCustomAttr, setDataAttr, setDataAttr, setDataAttr, setDirection, setDraggable, setDropZone, setEventHandler, setHidden, setID, setLanguage, setRole, setSpellCheck, setTabIndex, setTitle, setTranslate, setTranslate, setUnfocusable, setUniqueIDaddStyle, addStyle, addStyles, addStyles, addStyles, containsStyle, getAllStyles, getAllStylesAsString, getAllStyleValues, getStyleValue, hasAnyStyle, hasStyle, removeAllStyles, removeStyleaddClass, addClasses, addClasses, addClasses, containsClass, getAllClasses, getAllClassesAsString, getAllClassNames, hasAnyClass, removeAllClasses, removeClassaddAndReturnChild, addAndReturnChild, addChild, addChild, addChildren, addChildren, addChildren, getAllChildrenAsNodeList, recursiveContainsChildWithTagName, removeAllChildren, removeChild, removeChild, sortAllChildrenapplyCustomization, beforeConvertToNode, canConvertToNode, convertToNode, getAsConditionalCommentNode, getAsHTMLString, isConvertedToNode, isCustomized, onAdded, onRemovedpublic static final int DEFAULT_LEFT_PART
public static final int DEFAULT_RIGHT_PART
public BootstrapForm()
public BootstrapForm(@Nullable com.helger.commons.url.ISimpleURL aAction)
public BootstrapForm(@Nonnull EBootstrapFormType eFormType)
public BootstrapForm(@Nullable com.helger.commons.url.ISimpleURL aAction, @Nonnull EBootstrapFormType eFormType)
public BootstrapForm(@Nullable String sAction, @Nonnull EBootstrapFormType eFormType)
@Nonnull public final EBootstrapFormType getFormType()
null.@Nonnull public final BootstrapForm setFormType(@Nonnull EBootstrapFormType eFormType)
eFormType - The form type to be used. May not be null.@Nonnull public final BootstrapGridSpec getLeft()
null.@Nonnull public final BootstrapGridSpec getRight()
CBootstrap.GRID_SYSTEM_MAX - getLeft (). Never
null.@Nonnull @OverridingMethodsMustInvokeSuper public BootstrapForm setLeft(@Nonnegative int nLeftParts)
nLeftParts - The left parts. Must be ≥ 1 and < 12!@Nonnull @OverridingMethodsMustInvokeSuper public BootstrapForm setLeft(@Nonnegative int nLeftPartsXS, @Nonnegative int nLeftPartsSM, @Nonnegative int nLeftPartsMD, @Nonnegative int nLeftPartsLG)
nLeftPartsXS - The left parts XS. Must be ≥ 1 and < 12!nLeftPartsSM - The left parts SM. Must be ≥ 1 and < 12!nLeftPartsMD - The left parts MD. Must be ≥ 1 and < 12!nLeftPartsLG - The left parts LG. Must be ≥ 1 and < 12!@Nonnull @OverridingMethodsMustInvokeSuper public BootstrapForm setSplitting(@Nonnull BootstrapGridSpec aLeft, @Nonnull BootstrapGridSpec aRight)
aLeft - The left parts. Must not be null.aRight - The right parts. Must not be null.@Nonnull public IBootstrapFormGroupRenderer getFormGroupRenderer()
@Nonnull public BootstrapForm setFormGroupRenderer(@Nonnull IBootstrapFormGroupRenderer aFormGroupRenderer)
@Nonnull public BootstrapForm addFormGroup(@Nonnull BootstrapFormGroup aFormGroup)
Copyright © 2014–2015 Philip Helger. All rights reserved.