Class ToggleGroupItem
- java.lang.Object
-
- org.patternfly.component.SubComponent<E,B>
-
- org.patternfly.component.togglegroup.ToggleGroupItem
-
- All Implemented Interfaces:
Container<HTMLDivElement,ToggleGroupItem>,Finder<HTMLDivElement>,HasElement<HTMLDivElement,ToggleGroupItem>,HasHTMLElement<HTMLDivElement,ToggleGroupItem>,IsElement<HTMLDivElement>,TypedBuilder<HTMLDivElement,ToggleGroupItem>,WithIcon<HTMLDivElement,ToggleGroupItem>,WithText<HTMLDivElement,ToggleGroupItem>,ElementDelegate<HTMLDivElement,ToggleGroupItem>,Modifiers.Disabled<HTMLDivElement,ToggleGroupItem>
public class ToggleGroupItem extends SubComponent<E,B> implements Modifiers.Disabled<HTMLDivElement,ToggleGroupItem>, ElementDelegate<HTMLDivElement,ToggleGroupItem>, WithIcon<HTMLDivElement,ToggleGroupItem>, WithText<HTMLDivElement,ToggleGroupItem>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HTMLElementdelegate()ToggleGroupItemdisabled(boolean disabled)ToggleGroupItemicon(Element icon)booleanisDisabled()ToggleGroupItemonClick(ComponentHandler<ToggleGroupItem> clickHandler)ToggleGroupItemremoveIcon()Stringtext()ToggleGroupItemtext(String text)ToggleGroupItemthat()static ToggleGroupItemtoggleGroupItem(String id)static ToggleGroupItemtoggleGroupItem(String id, String text)-
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, addAll, addAll, addAll, addAll, addAll, addAll
-
Methods inherited from interface org.patternfly.core.ElementDelegate
add, add, innerHtml, textContent, textNode
-
Methods inherited from interface org.jboss.elemento.HasElement
apply, aria, aria, aria, attr, attr, attr, classList, classList, css, id, id, on, run, 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
-
-
-
-
Field Detail
-
id
public final String id
-
-
Method Detail
-
toggleGroupItem
public static ToggleGroupItem toggleGroupItem(String id)
-
toggleGroupItem
public static ToggleGroupItem toggleGroupItem(String id, String text)
-
delegate
public HTMLElement delegate()
- Specified by:
delegatein interfaceElementDelegate<HTMLDivElement,ToggleGroupItem>
-
disabled
public ToggleGroupItem disabled(boolean disabled)
- Specified by:
disabledin interfaceModifiers.Disabled<HTMLDivElement,ToggleGroupItem>
-
icon
public ToggleGroupItem icon(Element icon)
- Specified by:
iconin interfaceWithIcon<HTMLDivElement,ToggleGroupItem>
-
removeIcon
public ToggleGroupItem removeIcon()
- Specified by:
removeIconin interfaceWithIcon<HTMLDivElement,ToggleGroupItem>
-
text
public ToggleGroupItem text(String text)
- Specified by:
textin interfaceWithText<HTMLDivElement,ToggleGroupItem>
-
that
public ToggleGroupItem that()
- Specified by:
thatin interfaceTypedBuilder<HTMLDivElement,ToggleGroupItem>
-
onClick
public ToggleGroupItem onClick(ComponentHandler<ToggleGroupItem> clickHandler)
-
isDisabled
public boolean isDisabled()
- Specified by:
isDisabledin interfaceModifiers.Disabled<HTMLDivElement,ToggleGroupItem>
-
text
public String text()
- Specified by:
textin interfaceWithText<HTMLDivElement,ToggleGroupItem>
-
-