Package com.hp.lft.sdk.java
Interface Calendar
- All Superinterfaces:
Clickable
,DoubleClickable
,EnabledProvider
,LocationInfoProvider
,SupportsNativeObject
,TestObject
,TestObjectDescriber
,UiObjectBase
,VisibleProvider
,WaitUntilEnabledProvider
,WaitUntilVisibleProvider
A Java calendar.
-
Method Summary
Methods inherited from interface com.hp.lft.sdk.DoubleClickable
doubleClick, doubleClick, doubleClick
Methods inherited from interface com.hp.lft.sdk.EnabledProvider
isEnabled
Methods inherited from interface com.hp.lft.sdk.LocationInfoProvider
getAbsoluteLocation, getLocation, getSize
Methods inherited from interface com.hp.lft.sdk.SupportsNativeObject
getNativeObject
Methods inherited from interface com.hp.lft.sdk.TestObject
callFTMethod, 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, waitUntilExists
Methods inherited from interface com.hp.lft.sdk.TestObjectDescriber
describe
Methods inherited from interface com.hp.lft.sdk.java.UiObjectBase
createObject, createObject, fireEvent, getAttachedText, getBackgroundColor, getForegroundColor, getLabel, getNativeClass, getObjectName, getObjectProperty, getPath, getStatics, getTagName, isFocused, sendKeys, sendKeys
Methods inherited from interface com.hp.lft.sdk.VisibleProvider
isVisible
Methods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProvider
waitUntilEnabled, waitUntilEnabled
Methods inherited from interface com.hp.lft.sdk.WaitUntilVisibleProvider
waitUntilVisible, waitUntilVisible
-
Method Details
-
getDate
Returns the date set in the calendar.- Returns:
- the date.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getStyle
Returns the style of a calendar. Possible values:CalendarStyle
- Returns:
- the style of a calendar. Possible values:
CalendarStyle
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getValue
Returns the value set in the calendar.- Returns:
- the value in string format.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getTime
Returns the time set in the calendar.- Returns:
- the time in the calendar.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
setDate
Sets the date in the calendar.- Parameters:
date
- the date.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
setTime
Sets the time in the calendar.- Parameters:
time
- the time.- Throws:
GeneralLeanFtException
- if error occurs during execution
-