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
public abstract class BlockUI extends AbstractComponent
Component wrapper for the PrimeFacesp:blockUI.
-
-
Constructor Summary
Constructors Constructor Description BlockUI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.openqa.selenium.WebElement>getContents()Finds all Block UI content elements by class name.List<org.openqa.selenium.WebElement>getOverlays()Finds all Block UI overlay elements by class name.booleanhasContent()Does the block have content.voidhide()Hides the blocker.booleanisBlocking()Is the blocker currently blocking.voidshow()Shows the blocker.-
Methods inherited from class org.primefaces.selenium.component.base.AbstractComponent
destroy, getWidgetByIdScript, getWidgetConfiguration, getWidgetConfigurationAsString, isAjaxified, isAjaxified
-
Methods inherited from class org.primefaces.selenium.AbstractPrimePageFragment
getElementLocator, getId, getRoot, getWebDriver, getWrappedElement, setElementLocator, setWebDriver
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods 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
-
-
-
-
Method Detail
-
getOverlays
public List<org.openqa.selenium.WebElement> getOverlays()
Finds all Block UI overlay elements by class name.- Returns:
- a List
containing at least one element
-
getContents
public List<org.openqa.selenium.WebElement> 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.
-
-