Class BlockUI
java.lang.Object
org.primefaces.selenium.AbstractPrimePageFragment
org.primefaces.selenium.component.base.AbstractComponent
org.primefaces.selenium.component.BlockUI
- 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:blockUI.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.openqa.selenium.WebElement>Finds all Block UI content elements by class name.List<org.openqa.selenium.WebElement>Finds all Block UI overlay elements by class name.booleanDoes the block have content.voidhide()Hides the blocker.booleanIs the blocker currently blocking.voidshow()Shows the blocker.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
-
BlockUI
public BlockUI()
-
-
Method Details
-
getOverlays
Finds all Block UI overlay elements by class name.- Returns:
- a List
containing at least one element
-
getContents
Finds all Block UI content elements by class name.- Returns:
- a List
containing at least one element
-
isBlocking
public boolean isBlocking()Is the blocker currently blocking.- Returns:
- true if blocking false if not
-
hasContent
public boolean hasContent()Does the block have content.- Returns:
- true if has content, false if not
-
show
public void show()Shows the blocker. -
hide
public void hide()Hides the blocker.
-