com.atlassian.confluence.pageobjects.component.dialog
Class AbstractDialog
java.lang.Object
com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
com.atlassian.confluence.pageobjects.component.dialog.AbstractDialog
- All Implemented Interfaces:
- PageComponent
- Direct Known Subclasses:
- AddSpaceDialog, AddVersionDialog, ConfirmPasswordDialog, CreateDialog, Dialog, ManageWatchersDialog, MoveBlogPostDialog, MovePageDialog, PageRestrictionsDialog, UserStatusDialog, ViewDraftDiffDialog, WatchDialog
public abstract class AbstractDialog
- extends ConfluenceAbstractPageComponent
Field Summary |
protected java.lang.String |
id
Deprecated. since 5.4, there's no reason to use this outside this class, it should be private. Use the
getDialog() pageelement if you need to use the dialog. |
Method Summary |
com.atlassian.pageobjects.elements.PageElement |
getDialog()
|
java.lang.String |
getId()
Deprecated. since 5.4, there's no reason to use this outside this class. Use the getDialog()
pageelement if you need to use the dialog. |
boolean |
isVisible()
|
com.atlassian.pageobjects.elements.query.TimedCondition |
isVisibleTimed()
|
void |
pressEscape()
Presses the escape key in the dialog. |
void |
pressEscapeOnly()
Presses the escape key in the dialog, without doing the entire up / pressed / down event sequence. |
void |
waitForRemoval()
Waits for the dialog to be removed from the DOM. |
void |
waitUntilHidden()
|
void |
waitUntilVisible()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
@Deprecated
protected java.lang.String id
- Deprecated. since 5.4, there's no reason to use this outside this class, it should be private. Use the
getDialog()
pageelement if you need to use the dialog.
AbstractDialog
public AbstractDialog(java.lang.String id)
getId
@Deprecated
public java.lang.String getId()
- Deprecated. since 5.4, there's no reason to use this outside this class. Use the
getDialog()
pageelement if you need to use the dialog.
waitUntilVisible
public void waitUntilVisible()
waitUntilHidden
public void waitUntilHidden()
isVisible
public boolean isVisible()
isVisibleTimed
public com.atlassian.pageobjects.elements.query.TimedCondition isVisibleTimed()
waitForRemoval
public void waitForRemoval()
- Waits for the dialog to be removed from the DOM.
pressEscape
public void pressEscape()
- Presses the escape key in the dialog.
pressEscapeOnly
public void pressEscapeOnly()
- Presses the escape key in the dialog, without doing the entire up / pressed / down event sequence.
Use in cases where the id may be removed from the DOM as a result of the key press.
getDialog
public com.atlassian.pageobjects.elements.PageElement getDialog()
Copyright © 2003-2014 Atlassian. All Rights Reserved.