Package com.hp.lft.sdk.sap.gui
Interface Calendar
- All Superinterfaces:
- Element,- EnabledProvider,- LocationInfoProvider,- SupportsNativeObject,- TestObject,- TestObjectDescriber,- WaitUntilEnabledProvider
A calendar control in a SAP GUI for Windows application.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the static text attached to the calendar.getDate()Returns the date selected in this calendar.Returns the range of dates selected in this calendar.voidSets the date of the calendar.voidsetDateRange(DateRange dateRange) Selects the provided date range in the calendar.voidsetDateRange(Date firstDate, Date lastDate) Selects a date range in the calendar.Methods inherited from interface com.hp.lft.sdk.EnabledProviderisEnabledMethods inherited from interface com.hp.lft.sdk.LocationInfoProvidergetAbsoluteLocation, getLocation, getSizeMethods inherited from interface com.hp.lft.sdk.SupportsNativeObjectgetNativeObjectMethods inherited from interface com.hp.lft.sdk.TestObjectcallFTMethod, callFTMethod, exists, exists, findChildren, getDescription, getDisplayName, getParent, getSnapshot, getTextLocations, getTextLocations, getVisibleText, getVisibleText, highlight, highlightMatches, setDescription, setDisplayName, verifyImageExists, verifyImageExists, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, waitUntilExists, waitUntilExistsMethods inherited from interface com.hp.lft.sdk.TestObjectDescriberdescribeMethods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProviderwaitUntilEnabled, waitUntilEnabled
- 
Method Details- 
getAttachedTextReturns the static text attached to the calendar.- Returns:
- the static text.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getDateRangeReturns the range of dates selected in this calendar. If a single date is selected, both DateRange.StartDate and DateRange.EndDate are the selected date.- Returns:
- the selected range of dates.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getDateReturns the date selected in this calendar. If a date range is selected, the Date property is the start date of the range.- Returns:
- the date.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
setDateSets the date of the calendar.- Parameters:
- date- the date to set.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
setDateRangeSelects a date range in the calendar. The actual date range can be one full week or one full month.- Parameters:
- firstDate- the start date.
- lastDate- the end date.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
setDateRangeSelects the provided date range in the calendar. The actual date range can be one full week or one full month.- Parameters:
- dateRange- the date range.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-