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 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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
@Deprecated
protected 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(String id)
getId
@Deprecated
public 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()
getTitle
public String getTitle()
getWidth
public int getWidth()
- Returns:
- the width of this dialog
getHeight
public int getHeight()
Copyright © 2003–2015 Atlassian. All rights reserved.