public class FilePreview extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FilePreview.PreviewType |
Modifier and Type | Field and Description |
---|---|
static String |
FILE_PREVIEW_ID |
protected com.atlassian.pageobjects.elements.PageElement |
titleContainer |
protected com.atlassian.pageobjects.elements.PageElement |
viewerLayerContent |
Constructor and Description |
---|
FilePreview() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
com.atlassian.pageobjects.elements.PageElement |
getContainer() |
String |
getDownloadURL() |
com.atlassian.pageobjects.elements.PageElement |
getFileControls() |
com.atlassian.pageobjects.elements.PageElement |
getFilePreviewBody() |
com.atlassian.pageobjects.elements.PageElement |
getImage() |
com.atlassian.pageobjects.elements.PageElement |
getPDF() |
com.atlassian.pageobjects.elements.PageElement |
getPreviewerBody() |
int |
getThumbnailCount() |
List<String> |
getThumbnailTitles() |
String |
getTitle() |
FilePreview.PreviewType |
getType() |
void |
initialize() |
void |
isAt() |
com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> |
isImageView()
Check whether current view is Image view or not.
|
com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> |
isPDFView()
Check whether current view is PDF view or not.
|
boolean |
isPresent() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isPresentCondition() |
boolean |
isSidebarVisible() |
boolean |
isUnknownFileTypePreview() |
boolean |
isVisible() |
FilePreview |
nextFile() |
FilePreview |
previousFile() |
FilePreview |
showAllFiles() |
void |
showFileControls(boolean hoverMouseOverFileControls) |
FilePreview |
waitUntilClosed() |
FilePreview |
waitUntilFileControlsClosed() |
FilePreview |
waitUntilFileControlsVisible() |
FilePreview |
waitUntilImageVisible() |
FilePreview |
waitUntilPDFVisible() |
FilePreview |
waitUntilVisible() |
public static final String FILE_PREVIEW_ID
protected com.atlassian.pageobjects.elements.PageElement titleContainer
protected com.atlassian.pageobjects.elements.PageElement viewerLayerContent
public FilePreview.PreviewType getType()
public void initialize()
public void close()
public boolean isPresent()
public com.atlassian.pageobjects.elements.query.TimedCondition isPresentCondition()
public void isAt()
public com.atlassian.pageobjects.elements.PageElement getPreviewerBody()
public com.atlassian.pageobjects.elements.PageElement getFilePreviewBody()
public com.atlassian.pageobjects.elements.PageElement getImage()
public com.atlassian.pageobjects.elements.PageElement getPDF()
public com.atlassian.pageobjects.elements.PageElement getFileControls()
public com.atlassian.pageobjects.elements.PageElement getContainer()
public String getDownloadURL()
public String getTitle()
public FilePreview nextFile()
public FilePreview previousFile()
public boolean isVisible()
public boolean isSidebarVisible()
public FilePreview waitUntilVisible()
public FilePreview waitUntilImageVisible()
public FilePreview waitUntilPDFVisible()
public FilePreview waitUntilFileControlsVisible()
public FilePreview waitUntilFileControlsClosed()
public FilePreview waitUntilClosed()
public FilePreview showAllFiles()
public int getThumbnailCount()
public void showFileControls(boolean hoverMouseOverFileControls)
public boolean isUnknownFileTypePreview()
public com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> isPDFView()
public com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> isImageView()
Copyright © 2002-2022 Atlassian. All Rights Reserved.