Class OverlayPanel
java.lang.Object
org.primefaces.selenium.AbstractPrimePageFragment
org.primefaces.selenium.component.base.AbstractComponent
org.primefaces.selenium.component.OverlayPanel
- All Implemented Interfaces:
org.openqa.selenium.SearchContext,org.openqa.selenium.TakesScreenshot,org.openqa.selenium.WebElement,org.openqa.selenium.WrapsElement
Component wrapper for the PrimeFaces
p:overlayPanel.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidMakes this overlay non-modal.voidMakes this overlay modal.intIs the overlay currently visible.voidhide()Hides the overlay.booleanIs the overlay currently visible.voidshow()Shows the overlay.voidtoggle()Toggle the overlay visibility.voidWait for the client side setTimeout when displaying overlay.Methods inherited from class org.primefaces.selenium.component.base.AbstractComponent
destroy, getWidgetByIdScript, getWidgetConfiguration, getWidgetConfigurationAsString, isAjaxified, isAjaxifiedMethods inherited from class org.primefaces.selenium.AbstractPrimePageFragment
getElementLocator, getId, getRoot, getWebDriver, getWrappedElement, setElementLocator, setWebDriverMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openqa.selenium.TakesScreenshot
getScreenshotAsMethods inherited from interface org.openqa.selenium.WebElement
clear, click, findElement, findElements, getAccessibleName, getAriaRole, getAttribute, getCssValue, getDomAttribute, getDomProperty, getLocation, getRect, getShadowRoot, getSize, getTagName, getText, isDisplayed, isEnabled, isSelected, sendKeys, submit
-
Constructor Details
-
OverlayPanel
public OverlayPanel()
-
-
Method Details
-
isVisible
public boolean isVisible()Is the overlay currently visible.- Returns:
- true if visible false if not
-
getShowDelay
public int getShowDelay()Is the overlay currently visible.- Returns:
- true if visible false if not
-
toggle
public void toggle()Toggle the overlay visibility. -
enableModality
public void enableModality()Makes this overlay modal. -
disableModality
public void disableModality()Makes this overlay non-modal. -
show
public void show()Shows the overlay. -
hide
public void hide()Hides the overlay. -
waitForDisplay
public void waitForDisplay()Wait for the client side setTimeout when displaying overlay.
-