Package com.hp.lft.sdk.sap.gui
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.sap.gui.ElementDescription
com.hp.lft.sdk.sap.gui.ButtonDescription
- All Implemented Interfaces:
CloneableObject
,Description
,com.hp.lft.sdk.internal.DescriptionWithVri
,Cloneable
Description of a SAP GUI for Windows 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 name of the parent object.getText()
Returns the text associated with the object.Returns the text of the label.Indicates whether the object can accept user input.void
setContainerName
(StringProperty containerName) Sets the name of the parent object.void
setContainerName
(String containerName) Sets the name of the parent object.void
setEnabled
(Boolean isEnabled) Sets whether the object can accept user input.void
setText
(StringProperty text) Sets the text associated with the object.void
Sets the text associated with the object.void
setTooltip
(StringProperty tooltip) Sets the value of the object's tooltip.void
setTooltip
(String tooltip) Sets the value of the object's tooltip.Methods inherited from class com.hp.lft.sdk.sap.gui.ElementDescription
getAbsoluteLocation, getId, getLocation, getName, getSize, getType, setAbsoluteLocation, setAbsoluteLocation, setAbsoluteLocation, setId, setId, setLocation, setLocation, setLocation, setName, setName, setSize, setSize, setSize, setType
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
-
setTooltip
Sets the value of the object's tooltip.- Parameters:
tooltip
- aStringProperty
orRegExpProperty
.
-
setTooltip
Sets the value of the object's tooltip.- Parameters:
tooltip
- the value of the object's tooltip.
-
getTooltip
Returns the text of the label.- Returns:
- a StringProperty representing the text of the label.
-
setContainerName
Sets the name of the parent object.- Parameters:
containerName
- aStringProperty
orRegExpProperty
.
-
setContainerName
Sets the name of the parent object.- Parameters:
containerName
- the name of the parent object.
-
getContainerName
Returns the name of the parent object.- Returns:
- a StringProperty representing the name of the parent object.
-
setText
Sets the text associated with the object.- Parameters:
text
- aStringProperty
orRegExpProperty
.
-
setText
Sets the text associated with the object.- Parameters:
text
- the text associated with the object.
-
getText
Returns the text associated with the object.- Returns:
- the a StringProperty representing text associated with the object.
-
setEnabled
Sets whether the object can accept user input.- Parameters:
isEnabled
- true to set as enabled.
-
isEnabled
Indicates whether the object can accept user input.- Returns:
- true if enabled.
-