com.atlassian.confluence.pageobjects.component
Class ConfluenceAbstractPageComponent

java.lang.Object
  extended by com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
All Implemented Interfaces:
PageComponent
Direct Known Subclasses:
AbstractDialog, AbstractGadgetAdminTab, AddSpaceForm, AttachmentsRow, AUIDropdownMenu, DashboardEntitiesPanel, DashboardEntitiesTab, DashboardUpdatesPanel, EditorContent, EditorDropdownMenu, PageRedirectMenuItem, ToggleFavourites, UserProfileMacro

public class ConfluenceAbstractPageComponent
extends Object
implements PageComponent


Field Summary
protected  com.atlassian.webdriver.AtlassianWebDriver driver
           
protected  com.atlassian.pageobjects.PageBinder pageBinder
           
protected  com.atlassian.webdriver.waiter.Waiter waiter
           
 
Constructor Summary
ConfluenceAbstractPageComponent()
           
 
Method Summary
<M extends PageComponent>
M
getComponent(Class<M> componentClass, Object... args)
          This method is used to retrieve elements that are added via a plugin.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

driver

@Inject
protected com.atlassian.webdriver.AtlassianWebDriver driver

waiter

@Inject
protected com.atlassian.webdriver.waiter.Waiter waiter

pageBinder

@Inject
protected com.atlassian.pageobjects.PageBinder pageBinder
Constructor Detail

ConfluenceAbstractPageComponent

public ConfluenceAbstractPageComponent()
Method Detail

getComponent

public <M extends PageComponent> M getComponent(Class<M> componentClass,
                                                Object... args)
This method is used to retrieve elements that are added via a plugin. This allows page objects to be created that are not part of Confluence's core.

Type Parameters:
M - a PageComponent object
Parameters:
componentClass - the class of the component
args - any arguments needed to construct the component object
Returns:
a bound PageComponent object


Copyright © 2003-2012 Atlassian. All Rights Reserved.