com.atlassian.confluence.pageobjects.component.form
Class DatePicker

java.lang.Object
  extended by com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
      extended by com.atlassian.confluence.pageobjects.component.form.DatePicker
All Implemented Interfaces:
PageComponent

public class DatePicker
extends ConfluenceAbstractPageComponent


Field Summary
 
Fields inherited from class com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
driver, frameExecutor, pageBinder, pageElementFinder, timeouts, waiter
 
Constructor Summary
DatePicker(com.atlassian.pageobjects.elements.PageElement element)
           
 
Method Summary
 DatePicker clickDay(int day)
           
 DatePicker clickNextMonth()
           
 DatePicker clickPreviousMonth()
           
 java.lang.String getValue()
           
 com.atlassian.pageobjects.elements.query.TimedCondition openDatePicker()
          Clicks on the input field to open the date picker.
 void waitUntilClosed()
           
 
Methods inherited from class com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
getComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatePicker

public DatePicker(com.atlassian.pageobjects.elements.PageElement element)
Method Detail

getValue

public java.lang.String getValue()

waitUntilClosed

public void waitUntilClosed()

openDatePicker

public com.atlassian.pageobjects.elements.query.TimedCondition openDatePicker()
Clicks on the input field to open the date picker.

Returns:
a TimedCondition to check whether the date picker is visible

clickPreviousMonth

public DatePicker clickPreviousMonth()

clickNextMonth

public DatePicker clickNextMonth()

clickDay

public DatePicker clickDay(int day)


Copyright © 2003-2014 Atlassian. All Rights Reserved.