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
public abstract class OverlayPanel extends AbstractComponent
Component wrapper for the PrimeFacesp:overlayPanel.
-
-
Constructor Summary
Constructors Constructor Description OverlayPanel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddisableModality()Makes this overlay non-modal.voidenableModality()Makes this overlay modal.intgetShowDelay()Is the overlay currently visible.voidhide()Hides the overlay.booleanisVisible()Is the overlay currently visible.voidshow()Shows the overlay.voidtoggle()Toggle the overlay visibility.voidwaitForDisplay()Wait for the client side setTimeout when displaying overlay.-
Methods inherited from class org.primefaces.selenium.component.base.AbstractComponent
getWidgetByIdScript, getWidgetConfiguration, getWidgetConfigurationAsString, isAjaxified, isAjaxified
-
Methods inherited from class org.primefaces.selenium.AbstractPrimePageFragment
getElementLocator, getId, getRoot, getWebDriver, getWrappedElement, setElementLocator, setWebDriver
-
-
-
-
Method Detail
-
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.
-
-