Package org.patternfly.component.modal
Class Modal
- All Implemented Interfaces:
Attachable,Finder<HTMLElement>,HasElement<HTMLElement,,Modal> HasHTMLElement<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()voidstatic Modalmodal()onClose(CloseHandler<Modal> closeHandler) voidopen()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
detach
-
Method Details
-
modal
-
attach
- Specified by:
attachin interfaceAttachable
-
appendToBody
-
appendTo
-
addHeader
-
addHeader
-
add
-
addBody
-
add
-
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
-