Package org.patternfly.component.form
Class Form
java.lang.Object
org.patternfly.component.BaseComponent<elemental2.dom.HTMLFormElement,Form>
org.patternfly.component.form.Form
- All Implemented Interfaces:
Iterable<FormGroup>,Container<elemental2.dom.HTMLFormElement,,Form> Finder<elemental2.dom.HTMLFormElement>,HasElement<elemental2.dom.HTMLFormElement,,Form> HasHTMLElement<elemental2.dom.HTMLFormElement,,Form> IsElement<elemental2.dom.HTMLFormElement>,TypedBuilder<elemental2.dom.HTMLFormElement,,Form> Component,HasItems<elemental2.dom.HTMLFormElement,,Form, FormGroup> Modifiers.Horizontal<elemental2.dom.HTMLFormElement,Form>
public class Form
extends BaseComponent<elemental2.dom.HTMLFormElement,Form>
implements HasItems<elemental2.dom.HTMLFormElement,Form,FormGroup>, Modifiers.Horizontal<elemental2.dom.HTMLFormElement,Form>
A form is a group of elements used to collect information from a user in a variety of contexts including in a modal, in a
wizard, or on a page. Use cases for forms include tasks reliant on user-inputted information for completion like logging in,
registering, configuring settings, or completing surveys.
-
Method Summary
Modifier and TypeMethodDescriptionaddActionGroup(FormActionGroup actionGroup) addFieldGroup(FormFieldGroup fieldGroup) <T> FormaddSection(FormSection section) voidclear()voidbooleanstatic Formform()booleanisEmpty()iterator()intsize()that()Methods inherited from class org.patternfly.component.BaseComponent
componentType, elementMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.elemento.Container
add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface org.jboss.elemento.HasElement
add, apply, aria, aria, aria, attr, attr, attr, classList, classList, css, id, innerHtml, on, on, on, run, textContent, textNode, toggle, toggle, toggle, uniqueIdMethods inherited from interface org.jboss.elemento.HasHTMLElement
data, hidden, style, style, style, style, style, style, titleMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.patternfly.style.Modifiers.Horizontal
horizontal, horizontal
-
Method Details
-
form
-
addItems
-
addItem
-
addGroup
-
add
-
addAlert
-
add
-
addSection
-
addFieldGroup
-
addActionGroup
-
limitWidth
-
that
- Specified by:
thatin interfaceTypedBuilder<elemental2.dom.HTMLFormElement,Form>
-
iterator
-
size
public int size() -
isEmpty
public boolean isEmpty() -
contains
-
item
-
clear
public void clear() -
clearAlerts
public void clearAlerts()
-