Class Truncate
java.lang.Object
org.patternfly.component.BaseComponent<HTMLElement,Truncate>
org.patternfly.component.truncate.Truncate
- All Implemented Interfaces:
ElementAttributeMethods<HTMLElement,,Truncate> ElementClassListMethods<HTMLElement,,Truncate> ElementConsumerMethods<HTMLElement,,Truncate> ElementContainerMethods<HTMLElement,,Truncate> ElementEventMethods<HTMLElement,,Truncate> ElementIdMethods<HTMLElement,,Truncate> ElementQueryMethods<HTMLElement>,ElementTextMethods<HTMLElement,,Truncate> HTMLElementAttributeMethods<HTMLElement,,Truncate> HTMLElementDataMethods<HTMLElement,,Truncate> HTMLElementStyleMethods<HTMLElement,,Truncate> HTMLElementVisibilityMethods<HTMLElement,,Truncate> IsElement<HTMLElement>,TypedBuilder<HTMLElement,,Truncate> Component
public class Truncate
extends BaseComponent<HTMLElement,Truncate>
implements ElementTextMethods<HTMLElement,Truncate>
A truncate is a tool used to shorten numeric and non-numeric character strings, typically when the string overflows its
container.
- See Also:
-
Method Summary
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.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
hidden
-
Method Details
-
truncate
-
truncate
-
position
-
text
- Specified by:
textin interfaceElementTextMethods<HTMLElement,Truncate>
-
trailingNumChars
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,Truncate>
-
text
- Specified by:
textin interfaceElementTextMethods<HTMLElement,Truncate>
-