Package com.hp.lft.sdk.sap.gui
Class StatusBarDescription
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.StatusBarDescription
- All Implemented Interfaces:
CloneableObject
,Description
,com.hp.lft.sdk.internal.DescriptionWithVri
,Cloneable
Description of a SAP GUI for Windows status bar.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
This class can be used to construct an instance of the StatusBarDescription class using the builder pattern.protected static class
StatusBarDescription.Init<T extends StatusBarDescription.Init<T>>
Helper class for StatusBarDescription.Builder. -
Field Summary
Fields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
properties
-
Constructor Summary
ConstructorsModifierConstructorDescriptionInitializes a new instance of the StatusBarDescription class.protected
Initializes a new instance of the StatusBarDescription class using the Builder pattern. -
Method Summary
Modifier and TypeMethodDescriptionString[]
getItems()
Returns the list of non-empty items in the status bar.Returns the number of non-empty items contained in the status bar.Returns the ID of the message in text format.Returns the internal number of the message on the status bar.Returns the type of message.getText()
Returns the text associated with the status bar.Indicates whether the message is a pop-up.void
Sets the list of non-empty items in the status bar.void
setItemsCount
(Integer number) Sets the number of non-empty items contained in the status bar.void
setMessageAsPopup
(Boolean popup) Sets whether the message is a pop-up.void
setMessageId
(StringProperty messageId) Sets the ID of the message in text format.void
setMessageId
(String messageId) Sets the ID of the message in text format.void
setMessageNumber
(StringProperty messageNumber) Sets the internal number of the message on the status bar.void
setMessageNumber
(String messageNumber) Sets the internal number of the message on the status bar.void
Sets the type of message.void
setText
(StringProperty text) Sets the text associated with the status bar.void
Sets the text associated with the status bar.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
-
StatusBarDescription
public StatusBarDescription()Initializes a new instance of the StatusBarDescription class. -
StatusBarDescription
Initializes a new instance of the StatusBarDescription class using the Builder pattern.- Parameters:
init
- the Builder pattern.
-
-
Method Details
-
setText
Sets the text associated with the status bar.- Parameters:
text
- aStringProperty
orRegExpProperty
.
-
setText
Sets the text associated with the status bar.- Parameters:
text
- the text.
-
getText
Returns the text associated with the status bar.- Returns:
- the text.
-
setItemsCount
Sets the number of non-empty items contained in the status bar.- Parameters:
number
- the number of non-empty items.
-
getItemsCount
Returns the number of non-empty items contained in the status bar.- Returns:
- the number of non-empty items.
-
setItems
Sets the list of non-empty items in the status bar.- Parameters:
items
- the list of non-empty items.
-
getItems
Returns the list of non-empty items in the status bar.- Returns:
- the list of non-empty items.
-
setMessageAsPopup
Sets whether the message is a pop-up.- Parameters:
popup
- true to set as pop-up.
-
isMessageAsPopup
Indicates whether the message is a pop-up.- Returns:
- true if pop-up.
-
setMessageId
Sets the ID of the message in text format.- Parameters:
messageId
- aStringProperty
orRegExpProperty
.
-
setMessageId
Sets the ID of the message in text format.- Parameters:
messageId
- the ID of the message.
-
getMessageId
Returns the ID of the message in text format.- Returns:
- the ID of the message.
-
setMessageNumber
Sets the internal number of the message on the status bar.- Parameters:
messageNumber
- aStringProperty
orRegExpProperty
.
-
setMessageNumber
Sets the internal number of the message on the status bar.- Parameters:
messageNumber
- the internal number.
-
getMessageNumber
Returns the internal number of the message on the status bar.- Returns:
- the internal number.
-
setMessageType
Sets the type of message.- Parameters:
type
- the type.
-
getMessageType
Returns the type of message.- Returns:
- the type.
-