Package org.patternfly.component.menu
Class MenuToggleCheckbox
java.lang.Object
org.patternfly.component.SubComponent<HTMLElement,MenuToggleCheckbox>
org.patternfly.component.menu.MenuToggleCheckbox
- All Implemented Interfaces:
Container<HTMLElement,
,MenuToggleCheckbox> Finder<HTMLElement>
,HasElement<HTMLElement,
,MenuToggleCheckbox> HasHTMLElement<HTMLElement,
,MenuToggleCheckbox> IsElement<HTMLElement>
,TypedBuilder<HTMLElement,
,MenuToggleCheckbox> HasValue<Boolean>
,WithText<HTMLElement,
,MenuToggleCheckbox> Modifiers.Disabled<HTMLElement,
MenuToggleCheckbox>
public class MenuToggleCheckbox
extends SubComponent<HTMLElement,MenuToggleCheckbox>
implements HasValue<Boolean>, Modifiers.Disabled<HTMLElement,MenuToggleCheckbox>, WithText<HTMLElement,MenuToggleCheckbox>
-
Method Summary
Modifier and TypeMethodDescriptiondisabled
(boolean disabled) static MenuToggleCheckbox
static MenuToggleCheckbox
menuToggleCheckbox
(String text) onChange
(ChangeHandler<MenuToggleCheckbox, Boolean> changeHandler) Defines a change handler that is called when thevalue()
of the checkbox changes.text()
that()
value()
value
(boolean checked) Same as value(checked, false)value
(boolean checked, boolean fireEvent) Sets thechecked
attribute of the input element.Methods inherited from class org.patternfly.component.SubComponent
element
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jboss.elemento.Container
add, add, add, addAll, addAll, addAll, addAll, addAll, addAll
Methods 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, uniqueId
Methods inherited from interface org.jboss.elemento.HasHTMLElement
data, hidden, style, style, style, style, style, style, title
Methods inherited from interface org.patternfly.style.Modifiers.Disabled
disabled, isDisabled
-
Method Details
-
disabled
- Specified by:
disabled
in interfaceModifiers.Disabled<HTMLElement,
MenuToggleCheckbox>
-
text
- Specified by:
text
in interfaceWithText<HTMLElement,
MenuToggleCheckbox>
-
value
Same as value(checked, false) -
value
Sets thechecked
attribute of the input element. -
that
- Specified by:
that
in interfaceTypedBuilder<HTMLElement,
MenuToggleCheckbox>
-
ariaLabel
-
onChange
Defines a change handler that is called when thevalue()
of the checkbox changes. -
value
-
inputElement
-
text
- Specified by:
text
in interfaceWithText<HTMLElement,
MenuToggleCheckbox>