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,ElementAttributeMethods<HTMLDivElement,,Tooltip> ElementClassListMethods<HTMLDivElement,,Tooltip> ElementConsumerMethods<HTMLDivElement,,Tooltip> ElementContainerMethods<HTMLDivElement,,Tooltip> ElementEventMethods<HTMLDivElement,,Tooltip> ElementIdMethods<HTMLDivElement,,Tooltip> ElementQueryMethods<HTMLDivElement>,ElementTextMethods<HTMLDivElement,,Tooltip> HTMLElementAttributeMethods<HTMLDivElement,,Tooltip> HTMLElementDataMethods<HTMLDivElement,,Tooltip> HTMLElementStyleMethods<HTMLDivElement,,Tooltip> HTMLElementVisibilityMethods<HTMLDivElement,,Tooltip> IsElement<HTMLDivElement>,TypedBuilder<HTMLDivElement,,Tooltip> Closeable<HTMLDivElement,,Tooltip> Component
public class Tooltip
extends BaseComponent<HTMLDivElement,Tooltip>
implements Attachable, Closeable<HTMLDivElement,Tooltip>, ElementTextMethods<HTMLDivElement,Tooltip>
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) placement(org.patternfly.popper.Placement placement) 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(org.patternfly.popper.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.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
-
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 interfaceElementTextMethods<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 interfaceElementTextMethods<HTMLDivElement,Tooltip>
-