Package org.patternfly.component.icon
Class Icon
- All Implemented Interfaces:
Container<HTMLElement,,Icon> Finder<HTMLElement>,HasElement<HTMLElement,,Icon> HasHTMLElement<HTMLElement,,Icon> IsElement<HTMLElement>,TypedBuilder<HTMLElement,,Icon> Component,WithProgress<HTMLElement,,Icon> Modifiers.Inline<HTMLElement,Icon>
public class Icon
extends BaseComponent<HTMLElement,Icon>
implements Modifiers.Inline<HTMLElement,Icon>, WithProgress<HTMLElement,Icon>
An icon component is a container that allows for icons of varying dimensions, as well as spinners, to seamlessly replace each
other without shifting surrounding content.
-
Method Summary
Modifier and TypeMethodDescriptionstatic IconFactory method to create a new instance of this component.static Iconicon(PredefinedIcon icon) Factory method to create a new instance of this component.Modifies the size of this component.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, 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 org.patternfly.style.Modifiers.Inline
inline, inlineMethods inherited from interface org.patternfly.component.WithProgress
inProgress, progress, progress, progress, startProgress, stopProgress, toggleProgress
-
Method Details
-
icon
Factory method to create a new instance of this component. -
icon
Factory method to create a new instance of this component. -
size
Modifies the size of this component. -
iconSize
-
status
-
progress
- Specified by:
progressin interfaceWithProgress<HTMLElement,Icon>
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,Icon>
-