Class Truncate
java.lang.Object
org.patternfly.component.BaseComponentFlat<HTMLElement,Truncate>
org.patternfly.component.truncate.Truncate
- All Implemented Interfaces:
Finder<HTMLElement>
,HasElement<HTMLElement,
,Truncate> HasHTMLElement<HTMLElement,
,Truncate> IsElement<HTMLElement>
,TypedBuilder<HTMLElement,
,Truncate> Component
,WithText<HTMLElement,
Truncate>
public class Truncate
extends BaseComponentFlat<HTMLElement,Truncate>
implements WithText<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.BaseComponentFlat
componentType, element
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jboss.elemento.HasElement
add, apply, aria, aria, aria, attr, attr, attr, classList, classList, css, id, innerHtml, on, on, on, run, textContent, textNode, toggle, toggle, toggle, uniqueId
-
Method Details
-
truncate
-
truncate
-
position
-
text
- Specified by:
text
in interfaceWithText<HTMLElement,
Truncate>
-
trailingNumChars
-
that
- Specified by:
that
in interfaceTypedBuilder<HTMLElement,
Truncate>
-
text
- Specified by:
text
in interfaceWithText<HTMLElement,
Truncate>
-