Package com.hp.lft.sdk.oracle
Class ButtonDescription
java.lang.Object
com.hp.lft.sdk.internal.PropertiesDescriptionBase
com.hp.lft.sdk.PropertiesDescription
com.hp.lft.sdk.DescriptionBase
com.hp.lft.sdk.oracle.UiObjectBaseDescription
com.hp.lft.sdk.oracle.ButtonDescription
- All Implemented Interfaces:
CloneableObject,Description,com.hp.lft.sdk.internal.DescriptionWithVri,Cloneable
The description of an Oracle button.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis class can be used to construct an instance of the ButtonDescription class using the builder pattern.protected static classButtonDescription.Init<T extends ButtonDescription.Init<T>>Helper class for ButtonDescription.Builder. -
Field Summary
Fields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
properties -
Constructor Summary
ConstructorsModifierConstructorDescriptionInitializes a new instance of the ButtonDescription class.protectedButtonDescription(ButtonDescription.Init<?> init) Initializes a new instance of the ButtonDescription class using the Builder pattern. -
Method Summary
Modifier and TypeMethodDescriptionReturns the Oracle class hierarchy of the object's Oracle class.getLabel()Returns the text displayed on the object.Returns the accessibility description of the object as specified by the server.Returns internal name of the object supplied by the application server.Returns the text displayed in the object's tooltip.Indicates whether the object is enable.voidsetClassPath(StringProperty classPath) Sets the Oracle class hierarchy of the object's Oracle class.voidsetClassPath(String classPath) Sets the Oracle class hierarchy of the object's Oracle class.voidsetEnabled(Boolean isEnabled) Sets whether the object is enable.voidsetLabel(StringProperty label) Sets the text displayed on the object.voidSets the text displayed on the object.voidsetObjectDescription(StringProperty objectDescription) Sets the accessibility description of the object as specified by the server.voidsetObjectDescription(String objectDescription) Sets the accessibility description of the object as specified by the server.voidsetObjectName(StringProperty objectName) Sets the internal name of the object supplied by the application server.voidsetObjectName(String objectName) Sets the internal name of the object supplied by the application server.voidsetTooltipText(StringProperty tooltipText) Sets the text displayed in the object's tooltip.voidsetTooltipText(String tooltipText) Sets the text displayed in the object's tooltip.Methods inherited from class com.hp.lft.sdk.oracle.UiObjectBaseDescription
getAbsoluteLocation, getLocation, getObjectType, getSize, setAbsoluteLocation, setAbsoluteLocation, setAbsoluteLocation, setLocation, setLocation, setLocation, setObjectType, setObjectType, setSize, setSize, setSizeMethods inherited from class com.hp.lft.sdk.DescriptionBase
cloneTo, getIndex, getIndexType, getObjectProperties, getVRI, setIndex, setIndexType, setObjectProperties, setVRI, setVRIMethods inherited from class com.hp.lft.sdk.PropertiesDescription
cloneMethods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
getValueAs, getValueAsStringProperty, insertValueMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hp.lft.sdk.CloneableObject
clone
-
Constructor Details
-
ButtonDescription
public ButtonDescription()Initializes a new instance of the ButtonDescription class. -
ButtonDescription
Initializes a new instance of the ButtonDescription class using the Builder pattern.- Parameters:
init- the Builder pattern.
-
-
Method Details
-
setLabel
Sets the text displayed on the object.- Parameters:
label- the text displayed on the object.
-
setLabel
Sets the text displayed on the object.- Parameters:
label- aStringPropertyorRegExpProperty.
-
getLabel
Returns the text displayed on the object.- Returns:
- the text displayed on the object.
-
setClassPath
Sets the Oracle class hierarchy of the object's Oracle class.- Parameters:
classPath- the Oracle class hierarchy of the object's Oracle class.
-
setClassPath
Sets the Oracle class hierarchy of the object's Oracle class.- Parameters:
classPath- aStringPropertyorRegExpProperty.
-
getClassPath
Returns the Oracle class hierarchy of the object's Oracle class.- Returns:
- the Oracle class hierarchy of the object's Oracle class.
-
setEnabled
Sets whether the object is enable.- Parameters:
isEnabled- true to set as enabled.
-
isEnabled
Indicates whether the object is enable.- Returns:
- true if enabled.
-
setObjectDescription
Sets the accessibility description of the object as specified by the server.- Parameters:
objectDescription- the accessibility description of the object as specified by the server.
-
setObjectDescription
Sets the accessibility description of the object as specified by the server.- Parameters:
objectDescription- aStringPropertyorRegExpProperty.
-
getObjectDescription
Returns the accessibility description of the object as specified by the server.- Returns:
- the accessibility description of the object as specified by the server.
-
setObjectName
Sets the internal name of the object supplied by the application server.- Parameters:
objectName- the internal name of the object supplied by the application server.
-
setObjectName
Sets the internal name of the object supplied by the application server.- Parameters:
objectName- aStringPropertyorRegExpProperty.
-
getObjectName
Returns internal name of the object supplied by the application server.- Returns:
- internal name of the object supplied by the application server.
-
setTooltipText
Sets the text displayed in the object's tooltip.- Parameters:
tooltipText- the text displayed in the object's tooltip.
-
setTooltipText
Sets the text displayed in the object's tooltip.- Parameters:
tooltipText- aStringPropertyorRegExpProperty.
-
getTooltipText
Returns the text displayed in the object's tooltip.- Returns:
- the text displayed in the object's tooltip.
-