Package org.patternfly.component.popover
Class Popover
java.lang.Object
org.patternfly.component.BaseComponent<HTMLDivElement,Popover>
org.patternfly.component.popover.Popover
- All Implemented Interfaces:
Attachable,ElementAttributeMethods<HTMLDivElement,,Popover> ElementClassListMethods<HTMLDivElement,,Popover> ElementConsumerMethods<HTMLDivElement,,Popover> ElementContainerMethods<HTMLDivElement,,Popover> ElementEventMethods<HTMLDivElement,,Popover> ElementIdMethods<HTMLDivElement,,Popover> ElementQueryMethods<HTMLDivElement>,HTMLElementAttributeMethods<HTMLDivElement,,Popover> HTMLElementDataMethods<HTMLDivElement,,Popover> HTMLElementStyleMethods<HTMLDivElement,,Popover> HTMLElementVisibilityMethods<HTMLDivElement,,Popover> IsElement<HTMLDivElement>,TypedBuilder<HTMLDivElement,,Popover> Closeable<HTMLDivElement,,Popover> Component,ComponentIcon<HTMLDivElement,,Popover> org.patternfly.style.Modifiers.NoPadding<HTMLDivElement,Popover>
public class Popover
extends BaseComponent<HTMLDivElement,Popover>
implements Closeable<HTMLDivElement,Popover>, org.patternfly.style.Modifiers.NoPadding<HTMLDivElement,Popover>, ComponentIcon<HTMLDivElement,Popover>, Attachable
A popover is in-app messaging that provides more information on specific product areas. Popovers display content in a new
window that overlays the current page. Unlike modals, popovers don't block the current page.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionadd(PopoverBody body) add(PopoverFooter footer) add(PopoverHeader header) addBody(PopoverBody body) addFooter(PopoverFooter footer) addHeader(PopoverHeader header) animationDuration(int animationDuration) ariaCloseLabel(String label) Accessible label for the close button.Accessible label for the popover, required when header is not present.voidattach(MutationRecord mutationRecord) closable()voidvoiddetach(MutationRecord mutationRecord) distance(int distance) flip(boolean flip) noClose()placement(org.patternfly.popper.Placement placement) static Popoverpopover()static Popoverpopover(HTMLElement trigger) static Popoverpopover(Supplier<HTMLElement> trigger) static Popovervoidshow()voidthat()trigger(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.patternfly.component.ComponentIcon
iconMethods 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
hiddenMethods inherited from interface org.patternfly.style.Modifiers.NoPadding
noPadding, noPadding
-
Field Details
-
ANIMATION_DURATION
public static final int ANIMATION_DURATION- See Also:
-
DISTANCE
public static final int DISTANCE- See Also:
-
Z_INDEX
public static final int Z_INDEX- See Also:
-
-
Method Details
-
popover
-
popover
-
popover
-
popover
-
attach
- Specified by:
attachin interfaceAttachable
-
detach
- Specified by:
detachin interfaceAttachable
-
addHeader
-
addHeader
-
add
-
addBody
-
addBody
-
add
-
appendToBody
-
appendTo
-
animationDuration
-
autoWidth
-
closable
-
closable
-
distance
-
flip
-
icon
- Specified by:
iconin interfaceComponentIcon<HTMLDivElement,Popover>
-
removeIcon
- Specified by:
removeIconin interfaceComponentIcon<HTMLDivElement,Popover>
-
noClose
-
placement
-
status
-
status
-
trigger
-
trigger
-
trigger
-
trigger
-
triggerActions
-
zIndex
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLDivElement,Popover>
-
ariaLabel
Accessible label for the popover, required when header is not present. -
ariaCloseLabel
Accessible label for the close button. -
onClose
- Specified by:
onClosein interfaceCloseable<HTMLDivElement,Popover>
-
show
public void show() -
show
-
close
- Specified by:
closein interfaceCloseable<HTMLDivElement,Popover>
-