Package org.patternfly.component.modal
Class Modal
- All Implemented Interfaces:
Attachable,ElementAttributeMethods<HTMLElement,,Modal> ElementClassListMethods<HTMLElement,,Modal> ElementConsumerMethods<HTMLElement,,Modal> ElementContainerMethods<HTMLElement,,Modal> ElementEventMethods<HTMLElement,,Modal> ElementIdMethods<HTMLElement,,Modal> ElementQueryMethods<HTMLElement>,HTMLElementAttributeMethods<HTMLElement,,Modal> HTMLElementDataMethods<HTMLElement,,Modal> HTMLElementStyleMethods<HTMLElement,,Modal> HTMLElementVisibilityMethods<HTMLElement,,Modal> IsElement<HTMLElement>,TypedBuilder<HTMLElement,,Modal> Closeable<HTMLElement,,Modal> Component
public class Modal
extends ComponentDelegate<HTMLElement,Modal>
implements Attachable, Closeable<HTMLElement,Modal>
A modal displays important information to a user without requiring them to navigate to a new page.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionadd(ModalFooter footer) add(ModalHeader header) addFooter(ModalFooter footer) addHeader(ModalHeader header) appendTo(HTMLElement element) voidattach(MutationRecord mutationRecord) autoClose(boolean autoClose) body()voidcloseOnEsc(boolean closeOnEsc) static Modalmodal()voidopen()size(org.patternfly.style.Size size) that()top()Methods inherited from class org.patternfly.component.ComponentDelegate
componentType, elementMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.elemento.Attachable
detachMethods 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
-
Method Details
-
modal
-
attach
- Specified by:
attachin interfaceAttachable
-
appendToBody
-
appendTo
-
addHeader
-
addHeader
-
add
-
addBody
-
add
-
closeOnEsc
-
autoClose
-
hideClose
-
maxWidth
-
size
-
top
-
width
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,Modal>
-
onClose
- Specified by:
onClosein interfaceCloseable<HTMLElement,Modal>
-
open
public void open() -
close
- Specified by:
closein interfaceCloseable<HTMLElement,Modal>
-
body
-