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 classThis class can be used to construct an instance of the StatusBarDescription class using the builder pattern.protected static classStatusBarDescription.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.protectedInitializes 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.voidSets the list of non-empty items in the status bar.voidsetItemsCount(Integer number) Sets the number of non-empty items contained in the status bar.voidsetMessageAsPopup(Boolean popup) Sets whether the message is a pop-up.voidsetMessageId(StringProperty messageId) Sets the ID of the message in text format.voidsetMessageId(String messageId) Sets the ID of the message in text format.voidsetMessageNumber(StringProperty messageNumber) Sets the internal number of the message on the status bar.voidsetMessageNumber(String messageNumber) Sets the internal number of the message on the status bar.voidSets the type of message.voidsetText(StringProperty text) Sets the text associated with the status bar.voidSets 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, setTypeMethods 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
-
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- aStringPropertyorRegExpProperty.
-
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- aStringPropertyorRegExpProperty.
-
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- aStringPropertyorRegExpProperty.
-
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.
-