com.atlassian.pageobjects.components
Interface ActivatedComponent<T>

All Known Implementing Classes:
AuiDropDownMenu, AuiInlineDialog

public interface ActivatedComponent<T>

Represents a components that needs to be activated to interact with.


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.
 boolean isOpen()
          Whether the view is currently opened.
 T open()
          Opens the view and waits until UI is ready for interaction.
 

Method Detail

getTrigger

PageElement getTrigger()
Gets the element that when activated opens the view of this components.

Returns:
Element

getView

PageElement getView()
The view Element, hidden or not present until activated.

Returns:
Element

open

T open()
Opens the view and waits until UI is ready for interaction.

Returns:
T

isOpen

boolean isOpen()
Whether the view is currently opened.

Returns:
true is components is open/activated, false otherwise.


Copyright © 2014 Atlassian. All rights reserved.