Package org.patternfly.component.tooltip
Class Tooltip
java.lang.Object
org.patternfly.component.BaseComponent<HTMLDivElement,Tooltip>
org.patternfly.component.tooltip.Tooltip
- All Implemented Interfaces:
Attachable,Container<HTMLDivElement,,Tooltip> Finder<HTMLDivElement>,HasElement<HTMLDivElement,,Tooltip> HasHTMLElement<HTMLDivElement,,Tooltip> IsElement<HTMLDivElement>,TypedBuilder<HTMLDivElement,,Tooltip> Closeable<HTMLDivElement,,Tooltip> Component,WithText<HTMLDivElement,Tooltip>
public class Tooltip
extends BaseComponent<HTMLDivElement,Tooltip>
implements Closeable<HTMLDivElement,Tooltip>, WithText<HTMLDivElement,Tooltip>, Attachable
A tooltip is in-app messaging used to identify elements on a page with short, clarifying text.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionanimationDuration(int animationDuration) aria(TriggerAria aria) voidattach(MutationRecord mutationRecord) voidvoiddetach(MutationRecord mutationRecord) distance(int distance) entryDelay(int delay) exitDelay(int delay) flip(boolean flip) onClose(CloseHandler<Tooltip> closeHandler) voidshow()voidtext()that()static Tooltiptooltip()static Tooltiptooltip(HTMLElement trigger) static Tooltiptooltip(HTMLElement trigger, String text) static Tooltipstatic Tooltiptooltip(Supplier<HTMLElement> trigger) static Tooltiptooltip(Supplier<HTMLElement> trigger, String text) static Tooltipstatic Tooltiptrigger(HTMLElement trigger) trigger(Supplier<HTMLElement> trigger) triggerActions(TriggerAction... triggerActions) zIndex(int zIndex) 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, innerHtml, on, on, on, run, textContent, textNode, toggle, toggle, toggle, uniqueId
-
Field Details
-
ANIMATION_DURATION
public static final int ANIMATION_DURATION- See Also:
-
ENTRY_DELAY
public static final int ENTRY_DELAY- See Also:
-
EXIT_DELAY
public static final int EXIT_DELAY- See Also:
-
DISTANCE
public static final int DISTANCE- See Also:
-
Z_INDEX
public static final int Z_INDEX- See Also:
-
-
Method Details
-
tooltip
-
tooltip
-
tooltip
-
tooltip
-
tooltip
-
tooltip
-
tooltip
-
tooltip
-
attach
- Specified by:
attachin interfaceAttachable
-
detach
- Specified by:
detachin interfaceAttachable
-
appendToBody
-
appendTo
-
animationDuration
-
distance
-
flip
-
entryDelay
-
exitDelay
-
leftAligned
-
placement
-
text
- Specified by:
textin interfaceWithText<HTMLDivElement,Tooltip>
-
trigger
-
trigger
-
trigger
-
trigger
-
triggerActions
-
zIndex
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLDivElement,Tooltip>
-
aria
-
onClose
- Specified by:
onClosein interfaceCloseable<HTMLDivElement,Tooltip>
-
show
public void show() -
show
-
close
- Specified by:
closein interfaceCloseable<HTMLDivElement,Tooltip>
-
text
- Specified by:
textin interfaceWithText<HTMLDivElement,Tooltip>
-