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 class
This class can be used to construct an instance of the ButtonDescription class using the builder pattern.protected static class
ButtonDescription.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.protected
ButtonDescription
(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.void
setClassPath
(StringProperty classPath) Sets the Oracle class hierarchy of the object's Oracle class.void
setClassPath
(String classPath) Sets the Oracle class hierarchy of the object's Oracle class.void
setEnabled
(Boolean isEnabled) Sets whether the object is enable.void
setLabel
(StringProperty label) Sets the text displayed on the object.void
Sets the text displayed on the object.void
setObjectDescription
(StringProperty objectDescription) Sets the accessibility description of the object as specified by the server.void
setObjectDescription
(String objectDescription) Sets the accessibility description of the object as specified by the server.void
setObjectName
(StringProperty objectName) Sets the internal name of the object supplied by the application server.void
setObjectName
(String objectName) Sets the internal name of the object supplied by the application server.void
setTooltipText
(StringProperty tooltipText) Sets the text displayed in the object's tooltip.void
setTooltipText
(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, setSize
Methods inherited from class com.hp.lft.sdk.DescriptionBase
cloneTo, getIndex, getIndexType, getObjectProperties, getVRI, setIndex, setIndexType, setObjectProperties, setVRI, setVRI
Methods inherited from class com.hp.lft.sdk.PropertiesDescription
clone
Methods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
getValueAs, getValueAsStringProperty, insertValue
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
- aStringProperty
orRegExpProperty
.
-
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
- aStringProperty
orRegExpProperty
.
-
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
- aStringProperty
orRegExpProperty
.
-
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
- aStringProperty
orRegExpProperty
.
-
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
- aStringProperty
orRegExpProperty
.
-
getTooltipText
Returns the text displayed in the object's tooltip.- Returns:
- the text displayed in the object's tooltip.
-