Package com.helger.html.hc.html.forms
Interface IHCForm<IMPLTYPE extends IHCForm<IMPLTYPE>>
-
- Type Parameters:
IMPLTYPE- Implementation type
- All Superinterfaces:
com.helger.commons.traits.IGenericImplTrait<IMPLTYPE>,com.helger.commons.hierarchy.IHasChildren<IHCNode>,com.helger.commons.hierarchy.IHasChildrenRecursive<IHCNode>,com.helger.commons.hierarchy.IHasChildrenSorted<IHCNode>,IHCElement<IMPLTYPE>,IHCElementWithChildren<IMPLTYPE>,IHCElementWithInternalChildren<IMPLTYPE,IHCNode>,IHCHasChildrenMutable<IMPLTYPE,IHCNode>,IHCHasCSSClasses<IMPLTYPE>,IHCHasCSSStyles<IMPLTYPE>,IHCHasID<IMPLTYPE>,IHCHasName<IMPLTYPE>,IHCNode,IHCNodeWithChildren<IMPLTYPE>,Serializable
- All Known Implementing Classes:
AbstractHCForm,HCForm
public interface IHCForm<IMPLTYPE extends IHCForm<IMPLTYPE>> extends IHCElementWithChildren<IMPLTYPE>, IHCHasName<IMPLTYPE>
Interface for FORMs- Author:
- Philip Helger
-
-
Field Summary
-
Fields inherited from interface com.helger.html.hc.html.IHCElement
DEFAULT_TABINDEX
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetAcceptCharset()IHasJSCodegetActionJS()com.helger.commons.url.ISimpleURLgetActionURL()com.helger.commons.mime.IMimeTypegetEncType()EHCFormMethodgetMethod()intgetSubmitButtonTabIndex()HC_TargetgetTarget()booleanisAutoCompleteOff()booleanisAutoCompleteOn()booleanisAutoCompleteUndefined()booleanisNoValidate()booleanisSubmitPressingEnter()IMPLTYPEsetAcceptCharset(String sAcceptCharset)IMPLTYPEsetAction(com.helger.commons.url.ISimpleURL aAction)IMPLTYPEsetAction(IHasJSCodeWithSettings aAction)default IMPLTYPEsetAutoComplete(boolean bAutoComplete)IMPLTYPEsetAutoComplete(com.helger.commons.state.ETriState eAutoComplete)IMPLTYPEsetEncType(com.helger.commons.mime.IMimeType aEncType)default IMPLTYPEsetEncTypeFileUpload()Make this form a file-upload form.default IMPLTYPEsetEncTypeTextPlain()Set the enctype to text/plainIMPLTYPEsetMethod(EHCFormMethod eMethod)IMPLTYPEsetNoValidate(boolean bNoValidate)default IMPLTYPEsetSubmitPressingEnter(boolean bSubmitPressingEnter)IMPLTYPEsetSubmitPressingEnter(boolean bSubmitPressingEnter, int nSubmitButtonTabIndex)IMPLTYPEsetTarget(HC_Target aTarget)-
Methods inherited from interface com.helger.commons.hierarchy.IHasChildren
forAllChildren, forAllChildren, forAllChildrenBreakable, forAllChildrenMapped, getChildCount, getChildren, hasChildren, hasNoChildren
-
Methods inherited from interface com.helger.commons.hierarchy.IHasChildrenRecursive
forAllChildrenRecursive, forAllChildrenRecursive
-
Methods inherited from interface com.helger.commons.hierarchy.IHasChildrenSorted
findFirstChild, findFirstChildMapped, getAllChildren, getChildAtIndex, getFirstChild, getLastChild
-
Methods inherited from interface com.helger.html.hc.html.IHCElement
addEventHandler, containsEventHandler, customAttrs, getAccessKey, getContentEditable, getDirection, getDraggable, getElement, getEventHandler, getEventMap, getLanguage, getRole, getTabIndex, getTagName, getTitle, getTranslate, isHidden, isSpellCheck, isTranslateOff, isTranslateOn, isTranslateUndefined, isUnfocusable, prependEventHandler, removeAllEventHandler, setAccessKey, setContentEditable, setDirection, setDraggable, setEventHandler, setHidden, setLanguage, setRole, setSpellCheck, setTabIndex, setTitle, setTranslate, setTranslate, setUnfocusable, withCustomAttrs
-
Methods inherited from interface com.helger.html.hc.html.IHCElementWithInternalChildren
recursiveContainsChildWithTagName
-
Methods inherited from interface com.helger.html.hc.IHCHasChildrenMutable
addAndReturnChild, addAndReturnChildAt, addChild, addChildAt, addChildren, addChildren, addChildren, addChildrenAt, addChildrenAt, getAllChildrenAsNodeList, removeAllChildren, removeChild, removeChildAt, setChild, sortAllChildren
-
Methods inherited from interface com.helger.html.hc.html.IHCHasCSSClasses
addClass, addClasses, addClasses, addClasses, containsClass, getAllClasses, getAllClassesAsString, getAllClassNames, hasAnyClass, removeAllClasses, removeClass
-
Methods inherited from interface com.helger.html.hc.html.IHCHasCSSStyles
addStyle, addStyle, addStyles, addStyles, addStyles, containsStyle, getAllStyles, getAllStylesAsString, getAllStyleValues, getStyleValue, hasAnyStyle, hasStyle, removeAllStyles, removeStyle
-
Methods inherited from interface com.helger.html.hc.IHCHasID
ensureID, getID, hasID, hasNoID, setID, setUniqueID
-
Methods inherited from interface com.helger.html.hc.IHCHasName
getName, setName
-
Methods inherited from interface com.helger.html.hc.IHCNode
canConvertToMicroNode, consistencyCheck, convertToMicroNode, customizeNode, finalizeNodeState, getNodeState, getPlainText, registerExternalResources
-
Methods inherited from interface com.helger.html.hc.IHCNodeWithChildren
addChild, addChildAt, addChildren, addChildren, setChild
-
-
-
-
Method Detail
-
getActionURL
@Nullable com.helger.commons.url.ISimpleURL getActionURL()
-
getActionJS
@Nullable IHasJSCode getActionJS()
-
setAction
@Nonnull IMPLTYPE setAction(@Nullable IHasJSCodeWithSettings aAction)
-
isAutoCompleteOn
boolean isAutoCompleteOn()
-
isAutoCompleteOff
boolean isAutoCompleteOff()
-
isAutoCompleteUndefined
boolean isAutoCompleteUndefined()
-
setAutoComplete
@Nonnull IMPLTYPE setAutoComplete(@Nonnull com.helger.commons.state.ETriState eAutoComplete)
-
getEncType
@Nullable com.helger.commons.mime.IMimeType getEncType()
-
setEncTypeFileUpload
@Nonnull default IMPLTYPE setEncTypeFileUpload()
Make this form a file-upload form.- Returns:
- this
-
setEncTypeTextPlain
@Nonnull default IMPLTYPE setEncTypeTextPlain()
Set the enctype to text/plain- Returns:
- this
-
getMethod
@Nullable EHCFormMethod getMethod()
-
setMethod
@Nonnull IMPLTYPE setMethod(@Nullable EHCFormMethod eMethod)
-
isNoValidate
boolean isNoValidate()
-
isSubmitPressingEnter
boolean isSubmitPressingEnter()
-
getSubmitButtonTabIndex
int getSubmitButtonTabIndex()
-
setSubmitPressingEnter
@Nonnull default IMPLTYPE setSubmitPressingEnter(boolean bSubmitPressingEnter)
-
-