Package org.patternfly.component.form
Class Radio
- All Implemented Interfaces:
ElementAttributeMethods<HTMLElement,,Radio> ElementClassListMethods<HTMLElement,,Radio> ElementConsumerMethods<HTMLElement,,Radio> ElementContainerMethods<HTMLElement,,Radio> ElementEventMethods<HTMLElement,,Radio> ElementIdMethods<HTMLElement,,Radio> ElementQueryMethods<HTMLElement>,ElementTextDelegate<HTMLElement,,Radio> ElementTextMethods<HTMLElement,,Radio> HTMLElementAttributeMethods<HTMLElement,,Radio> HTMLElementDataMethods<HTMLElement,,Radio> HTMLElementStyleMethods<HTMLElement,,Radio> HTMLElementVisibilityMethods<HTMLElement,,Radio> IsElement<HTMLElement>,TypedBuilder<HTMLElement,,Radio> Component,HasValue<Boolean>,org.patternfly.style.Modifiers.Disabled<HTMLElement,,Radio> org.patternfly.style.Modifiers.Required<HTMLElement,Radio>
public class Radio
extends BaseComponent<HTMLElement,Radio>
implements org.patternfly.style.Modifiers.Disabled<HTMLElement,Radio>, ElementTextDelegate<HTMLElement,Radio>, HasValue<Boolean>, org.patternfly.style.Modifiers.Required<HTMLElement,Radio>
A radio button is used to present the user with mutually exclusive choices. Always present radio buttons in groups of 2 or
more.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionaddDescription(RadioDescription description) applyTo(Consumer<HTMLInputElementBuilder<HTMLInputElement>> consumer) Provides access to the underlying radio element using a fluent API styledisabled(boolean disabled) Defines a change handler that is called when thevalue()of this radio changes.static Radiostatic Radioreversed()Same as standalone(true)standalone(boolean removeLabel) that()value()value(boolean checked) Same as value(checked, false)value(boolean checked, boolean fireEvent) 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.ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface org.jboss.elemento.ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface org.jboss.elemento.ElementConsumerMethods
apply, runMethods inherited from interface org.jboss.elemento.ElementContainerMethods
add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface org.jboss.elemento.ElementEventMethods
on, on, onMethods inherited from interface org.jboss.elemento.ElementIdMethods
id, uniqueIdMethods inherited from interface org.jboss.elemento.ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface org.jboss.elemento.ElementTextDelegate
text, textMethods inherited from interface org.jboss.elemento.HTMLElementAttributeMethods
titleMethods inherited from interface org.jboss.elemento.HTMLElementDataMethods
dataMethods inherited from interface org.jboss.elemento.HTMLElementStyleMethods
style, style, style, style, style, styleMethods inherited from interface org.jboss.elemento.HTMLElementVisibilityMethods
hiddenMethods inherited from interface org.patternfly.style.Modifiers.Disabled
disabled, isDisabledMethods inherited from interface org.patternfly.style.Modifiers.Required
required, required
-
Method Details
-
radio
-
radio
-
textDelegate
- Specified by:
textDelegatein interfaceElementTextDelegate<HTMLElement,Radio>
-
addBody
-
addDescription
-
applyTo
Provides access to the underlying radio element using a fluent API style -
disabled
- Specified by:
disabledin interfaceorg.patternfly.style.Modifiers.Disabled<HTMLElement,Radio>
-
reversed
-
standalone
Same as standalone(true) -
standalone
-
value
Same as value(checked, false) -
value
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,Radio>
-
onChange
Defines a change handler that is called when thevalue()of this radio changes. -
value
-
inputElement
-