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 BaseComponent
componentType, element, registerComponentMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 ElementContainerMethods
add, add, add, 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
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>
-