com.atlassian.jira.pageobjects.components
Class CalendarPicker

java.lang.Object
  extended by com.atlassian.jira.pageobjects.components.CalendarPicker

public class CalendarPicker
extends Object

Represents a calender picker control, with a date input and access to calendar popup.

Since:
5.2

Field Summary
protected  com.atlassian.pageobjects.elements.PageElement input
           
protected  org.openqa.selenium.By inputLocator
           
protected  com.atlassian.pageobjects.elements.PageElement parent
           
protected  com.atlassian.pageobjects.elements.PageElement trigger
           
protected  org.openqa.selenium.By triggerLocator
           
 
Constructor Summary
CalendarPicker(org.openqa.selenium.By inputLocator, org.openqa.selenium.By triggerLocator)
           
CalendarPicker(com.atlassian.pageobjects.elements.PageElement parent, org.openqa.selenium.By inputLocator, org.openqa.selenium.By triggerLocator)
           
CalendarPicker(com.atlassian.pageobjects.elements.PageElement parent, String inputId)
           
CalendarPicker(String inputId)
           
 
Method Summary
 com.atlassian.pageobjects.elements.query.TimedQuery<String> getDateValue()
           
 Date getDateValueInEnglishFormat()
           
 void init()
           
 com.atlassian.pageobjects.elements.PageElement input()
           
 CalendarPopup openCalendarPopup()
           
 CalendarPicker setDate(String dateValue)
           
 com.atlassian.pageobjects.elements.PageElement trigger()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

input

protected com.atlassian.pageobjects.elements.PageElement input

trigger

protected com.atlassian.pageobjects.elements.PageElement trigger

parent

protected final com.atlassian.pageobjects.elements.PageElement parent

inputLocator

protected final org.openqa.selenium.By inputLocator

triggerLocator

protected final org.openqa.selenium.By triggerLocator
Constructor Detail

CalendarPicker

public CalendarPicker(String inputId)

CalendarPicker

public CalendarPicker(com.atlassian.pageobjects.elements.PageElement parent,
                      String inputId)

CalendarPicker

public CalendarPicker(org.openqa.selenium.By inputLocator,
                      org.openqa.selenium.By triggerLocator)

CalendarPicker

public CalendarPicker(com.atlassian.pageobjects.elements.PageElement parent,
                      org.openqa.selenium.By inputLocator,
                      org.openqa.selenium.By triggerLocator)
Method Detail

init

public void init()

input

public com.atlassian.pageobjects.elements.PageElement input()

trigger

public com.atlassian.pageobjects.elements.PageElement trigger()

setDate

public CalendarPicker setDate(String dateValue)

getDateValue

public com.atlassian.pageobjects.elements.query.TimedQuery<String> getDateValue()

getDateValueInEnglishFormat

public Date getDateValueInEnglishFormat()

openCalendarPopup

public CalendarPopup openCalendarPopup()


Copyright © 2002-2013 Atlassian. All Rights Reserved.