public class RichFacesTreeNode.AdvancedNodeInteractionsImpl extends RichFacesTree.AdvancedTreeInteractionsImpl implements Tree.TreeNode.AdvancedTreeNodeInteractions
Constructor and Description |
---|
RichFacesTreeNode.AdvancedNodeInteractionsImpl() |
Modifier and Type | Method and Description |
---|---|
Tree.TreeNode |
collapse()
Collapses this node.
|
Tree.TreeNode |
expand()
Expands this node.
|
org.openqa.selenium.WebElement |
getContainerElement() |
protected org.openqa.selenium.WebElement |
getCorrectElementForInteraction()
Override this method in case, that tree nodes have different element
for interaction (select, collapse, expand) than the label element.
|
org.openqa.selenium.WebElement |
getHandleElement() |
org.openqa.selenium.WebElement |
getHandleLoadingElement() |
org.openqa.selenium.WebElement |
getIconElement() |
org.openqa.selenium.WebElement |
getLabelElement() |
org.openqa.selenium.WebElement |
getNodeInfoElement() |
long |
getTimeoutForNodeToBeCollapsed() |
long |
getTimeoutForNodeToBeExpanded() |
long |
getTimeoutForNodeToBeSelected() |
boolean |
isCollapsed() |
boolean |
isExpanded() |
boolean |
isLeaf() |
boolean |
isSelected() |
Tree.TreeNode |
select()
Selects this node.
|
void |
setTimeoutForNodeToBeCollapsed(long timeoutInMilliseconds) |
void |
settimeoutForNodeToBeExpanded(long timeoutInMilliseconds) |
void |
setTimeoutForNodeToBeSelected(long timeoutInMilliseconds) |
WaitingWrapper |
waitUntilNodeIsCollapsed()
Checks styleClasses of root, handle, and icon elements.
|
WaitingWrapper |
waitUntilNodeIsExpanded()
Checks styleClasses of root, handle, and icon elements.
|
WaitingWrapper |
waitUntilNodeIsNotSelected() |
WaitingWrapper |
waitUntilNodeIsSelected() |
getChildNodes, getChildNodesElements, getFirstNode, getLeafNodes, getNodes, getNodesCollapsed, getNodesElements, getNodesExpanded, getRootElement, getSelectedNodes, getToggleNodeEvent, isToggleByHandle, isVisible, setToggleByHandle, setToggleByHandle, setToggleNodeEvent, setToggleNodeEvent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFirstNode, getLeafNodes, getNodes, getNodesCollapsed, getNodesElements, getNodesExpanded, getRootElement, getSelectedNodes, setToggleByHandle, setToggleByHandle, setToggleNodeEvent, setToggleNodeEvent
public RichFacesTreeNode.AdvancedNodeInteractionsImpl()
public Tree.TreeNode collapse()
Tree.TreeNode.AdvancedTreeNodeInteractions
collapse
in interface Tree.TreeNode.AdvancedTreeNodeInteractions
public Tree.TreeNode expand()
Tree.TreeNode.AdvancedTreeNodeInteractions
expand
in interface Tree.TreeNode.AdvancedTreeNodeInteractions
public org.openqa.selenium.WebElement getContainerElement()
getContainerElement
in interface Tree.TreeNode.AdvancedTreeNodeInteractions
protected org.openqa.selenium.WebElement getCorrectElementForInteraction()
public org.openqa.selenium.WebElement getHandleElement()
getHandleElement
in interface Tree.TreeNode.AdvancedTreeNodeInteractions
public org.openqa.selenium.WebElement getHandleLoadingElement()
getHandleLoadingElement
in interface Tree.TreeNode.AdvancedTreeNodeInteractions
public org.openqa.selenium.WebElement getIconElement()
getIconElement
in interface Tree.TreeNode.AdvancedTreeNodeInteractions
public org.openqa.selenium.WebElement getLabelElement()
getLabelElement
in interface Tree.TreeNode.AdvancedTreeNodeInteractions
public org.openqa.selenium.WebElement getNodeInfoElement()
getNodeInfoElement
in interface Tree.TreeNode.AdvancedTreeNodeInteractions
public boolean isCollapsed()
isCollapsed
in interface Tree.TreeNode.AdvancedTreeNodeInteractions
public boolean isExpanded()
isExpanded
in interface Tree.TreeNode.AdvancedTreeNodeInteractions
public boolean isLeaf()
isLeaf
in interface Tree.TreeNode.AdvancedTreeNodeInteractions
public boolean isSelected()
isSelected
in interface Tree.TreeNode.AdvancedTreeNodeInteractions
public Tree.TreeNode select()
Tree.TreeNode.AdvancedTreeNodeInteractions
select
in interface Tree.TreeNode.AdvancedTreeNodeInteractions
public void settimeoutForNodeToBeExpanded(long timeoutInMilliseconds)
public long getTimeoutForNodeToBeExpanded()
public void setTimeoutForNodeToBeCollapsed(long timeoutInMilliseconds)
public long getTimeoutForNodeToBeCollapsed()
public void setTimeoutForNodeToBeSelected(long timeoutInMilliseconds)
public long getTimeoutForNodeToBeSelected()
public WaitingWrapper waitUntilNodeIsCollapsed()
Tree.TreeNode.AdvancedTreeNodeInteractions
waitUntilNodeIsCollapsed
in interface Tree.TreeNode.AdvancedTreeNodeInteractions
public WaitingWrapper waitUntilNodeIsExpanded()
Tree.TreeNode.AdvancedTreeNodeInteractions
waitUntilNodeIsExpanded
in interface Tree.TreeNode.AdvancedTreeNodeInteractions
public WaitingWrapper waitUntilNodeIsNotSelected()
waitUntilNodeIsNotSelected
in interface Tree.TreeNode.AdvancedTreeNodeInteractions
public WaitingWrapper waitUntilNodeIsSelected()
waitUntilNodeIsSelected
in interface Tree.TreeNode.AdvancedTreeNodeInteractions
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.