com.atlassian.pageobjects.components.aui
Class AuiInlineDialog

java.lang.Object
  extended by com.atlassian.pageobjects.components.aui.AuiInlineDialog
All Implemented Interfaces:
ActivatedComponent<AuiInlineDialog>

public class AuiInlineDialog
extends Object
implements ActivatedComponent<AuiInlineDialog>

Represents an inline dialog created via AUI. This is an example of a reusable components.


Field Summary
protected  PageElementFinder elementFinder
           
protected  PageBinder pageBinder
           
 
Constructor Summary
AuiInlineDialog(org.openqa.selenium.By triggerLocator, String identifier)
           
 
Method Summary
 PageElement getTrigger()
          Gets the element that when activated opens the view of this components.
 PageElement getView()
          The view Element, hidden or not present until activated.
 void initialize()
           
 boolean isOpen()
          Whether the view is currently opened.
 AuiInlineDialog open()
          Opens the view and waits until UI is ready for interaction.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pageBinder

@Inject
protected PageBinder pageBinder

elementFinder

@Inject
protected PageElementFinder elementFinder
Constructor Detail

AuiInlineDialog

public AuiInlineDialog(org.openqa.selenium.By triggerLocator,
                       String identifier)
Method Detail

initialize

public void initialize()

getTrigger

public PageElement getTrigger()
Description copied from interface: ActivatedComponent
Gets the element that when activated opens the view of this components.

Specified by:
getTrigger in interface ActivatedComponent<AuiInlineDialog>
Returns:
Element

getView

public PageElement getView()
Description copied from interface: ActivatedComponent
The view Element, hidden or not present until activated.

Specified by:
getView in interface ActivatedComponent<AuiInlineDialog>
Returns:
Element

open

public AuiInlineDialog open()
Description copied from interface: ActivatedComponent
Opens the view and waits until UI is ready for interaction.

Specified by:
open in interface ActivatedComponent<AuiInlineDialog>
Returns:
T

isOpen

public boolean isOpen()
Description copied from interface: ActivatedComponent
Whether the view is currently opened.

Specified by:
isOpen in interface ActivatedComponent<AuiInlineDialog>
Returns:
true is components is open/activated, false otherwise.


Copyright © 2014 Atlassian. All rights reserved.