Class ToggleGroupItem
java.lang.Object
org.patternfly.component.SubComponent<HTMLDivElement, ToggleGroupItem>
org.patternfly.component.togglegroup.ToggleGroupItem
- All Implemented Interfaces:
ElementAttributeMethods<HTMLDivElement, ToggleGroupItem>, ElementClassListMethods<HTMLDivElement, ToggleGroupItem>, ElementConsumerMethods<HTMLDivElement, ToggleGroupItem>, ElementContainerDelegate<HTMLDivElement, ToggleGroupItem>, ElementContainerMethods<HTMLDivElement, ToggleGroupItem>, ElementEventMethods<HTMLDivElement, ToggleGroupItem>, ElementIdMethods<HTMLDivElement, ToggleGroupItem>, ElementQueryMethods<HTMLDivElement>, ElementTextMethods<HTMLDivElement, ToggleGroupItem>, HTMLElementAttributeMethods<HTMLDivElement, ToggleGroupItem>, HTMLElementDataMethods<HTMLDivElement, ToggleGroupItem>, HTMLElementStyleMethods<HTMLDivElement, ToggleGroupItem>, HTMLElementVisibilityMethods<HTMLDivElement, ToggleGroupItem>, IsElement<HTMLDivElement>, TypedBuilder<HTMLDivElement, ToggleGroupItem>, ComponentIcon<HTMLDivElement, ToggleGroupItem>, ComponentIconAndText<HTMLDivElement, ToggleGroupItem>, HasIdentifier<HTMLDivElement, ToggleGroupItem>, ComponentContext<HTMLDivElement, ToggleGroupItem>, Modifiers.Disabled<HTMLDivElement, ToggleGroupItem>
public class ToggleGroupItem
extends SubComponent<HTMLDivElement, ToggleGroupItem>
implements ComponentContext<HTMLDivElement, ToggleGroupItem>, ComponentIcon<HTMLDivElement, ToggleGroupItem>, ComponentIconAndText<HTMLDivElement, ToggleGroupItem>, Modifiers.Disabled<HTMLDivElement, ToggleGroupItem>, ElementContainerDelegate<HTMLDivElement, ToggleGroupItem>, ElementTextMethods<HTMLDivElement, ToggleGroupItem>, HasIdentifier<HTMLDivElement, ToggleGroupItem>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondisabled(boolean disabled) <T> TbooleaniconAndText(Element icon, String text, IconPosition iconPosition) Retrieves the identifier associated with this component.booleanonClick(ComponentHandler<ToggleGroupItem> clickHandler) <T> ToggleGroupItemtext()that()static ToggleGroupItemtoggleGroupItem(String identifier) static ToggleGroupItemtoggleGroupItem(String identifier, String text) Methods inherited from class SubComponent
element, registerSubComponentMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ComponentContext
get, getMethods inherited from interface ComponentIcon
iconMethods inherited from interface ComponentIconAndText
iconAndText, iconAndTextMethods inherited from interface ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface ElementConsumerMethods
apply, runMethods inherited from interface ElementContainerDelegate
add, add, addMethods inherited from interface ElementContainerMethods
add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface ElementEventMethods
on, on, onMethods inherited from interface ElementIdMethods
id, uniqueIdMethods inherited from interface ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface HTMLElementAttributeMethods
titleMethods inherited from interface HTMLElementDataMethods
data, dataMethods inherited from interface HTMLElementVisibilityMethods
hiddenMethods inherited from interface Modifiers.Disabled
disabled
-
Field Details
-
SUB_COMPONENT_NAME
- See Also:
-
-
Method Details
-
toggleGroupItem
-
toggleGroupItem
-
containerDelegate
- Specified by:
containerDelegatein interfaceElementContainerDelegate<HTMLDivElement, ToggleGroupItem>
-
disabled
- Specified by:
disabledin interfaceModifiers.Disabled<HTMLDivElement, ToggleGroupItem>
-
icon
- Specified by:
iconin interfaceComponentIcon<HTMLDivElement, ToggleGroupItem>
-
iconAndText
- Specified by:
iconAndTextin interfaceComponentIconAndText<HTMLDivElement, ToggleGroupItem>
-
removeIcon
- Specified by:
removeIconin interfaceComponentIcon<HTMLDivElement, ToggleGroupItem>
-
text
- Specified by:
textin interfaceElementTextMethods<HTMLDivElement, ToggleGroupItem>
-
store
- Specified by:
storein interfaceComponentContext<HTMLDivElement, ToggleGroupItem>
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLDivElement, ToggleGroupItem>
-
onClick
-
identifier
Description copied from interface:HasIdentifierRetrieves the identifier associated with this component.- Specified by:
identifierin interfaceHasIdentifier<HTMLDivElement, ToggleGroupItem>- Returns:
- the identifier of the component
-
isDisabled
public boolean isDisabled()- Specified by:
isDisabledin interfaceModifiers.Disabled<HTMLDivElement, ToggleGroupItem>
-
text
- Specified by:
textin interfaceElementTextMethods<HTMLDivElement, ToggleGroupItem>
-
has
- Specified by:
hasin interfaceComponentContext<HTMLDivElement, ToggleGroupItem>
-
get
- Specified by:
getin interfaceComponentContext<HTMLDivElement, ToggleGroupItem>
-