com.hp.lft.sdk.sap.gui

Class StatusBarDescription

  • All Implemented Interfaces:
    CloneableObject, Description, com.hp.lft.sdk.internal.DescriptionWithVri, java.lang.Cloneable


    public class StatusBarDescription
    extends ElementDescription
    Description of a SAP GUI for Windows status bar.
    • Constructor Detail

      • StatusBarDescription

        public StatusBarDescription()
        Initializes a new instance of the StatusBarDescription class.
      • StatusBarDescription

        protected StatusBarDescription(StatusBarDescription.Init<?> init)
        Initializes a new instance of the StatusBarDescription class using the Builder pattern.
        Parameters:
        init - the Builder pattern.
    • Method Detail

      • setText

        public void setText(java.lang.String text)
        Sets the text associated with the status bar.
        Parameters:
        text - the text.
      • getText

        public StringProperty getText()
        Returns the text associated with the status bar.
        Returns:
        the text.
      • setItemsCount

        public void setItemsCount(java.lang.Integer number)
        Sets the number of non-empty items contained in the status bar.
        Parameters:
        number - the number of non-empty items.
      • getItemsCount

        public java.lang.Integer getItemsCount()
        Returns the number of non-empty items contained in the status bar.
        Returns:
        the number of non-empty items.
      • setItems

        public void setItems(java.lang.String[] items)
        Sets the list of non-empty items in the status bar.
        Parameters:
        items - the list of non-empty items.
      • getItems

        public java.lang.String[] getItems()
        Returns the list of non-empty items in the status bar.
        Returns:
        the list of non-empty items.
      • setMessageAsPopup

        public void setMessageAsPopup(java.lang.Boolean popup)
        Sets whether the message is a pop-up.
        Parameters:
        popup - true to set as pop-up.
      • isMessageAsPopup

        public java.lang.Boolean isMessageAsPopup()
        Indicates whether the message is a pop-up.
        Returns:
        true if pop-up.
      • setMessageId

        public void setMessageId(java.lang.String messageId)
        Sets the ID of the message in text format.
        Parameters:
        messageId - the ID of the message.
      • getMessageId

        public StringProperty getMessageId()
        Returns the ID of the message in text format.
        Returns:
        the ID of the message.
      • setMessageNumber

        public void setMessageNumber(java.lang.String messageNumber)
        Sets the internal number of the message on the status bar.
        Parameters:
        messageNumber - the internal number.
      • getMessageNumber

        public StringProperty getMessageNumber()
        Returns the internal number of the message on the status bar.
        Returns:
        the internal number.
      • setMessageType

        public void setMessageType(StatusBarMessageType type)
        Sets the type of message.
        Parameters:
        type - the type.
      • getMessageType

        public StatusBarMessageType getMessageType()
        Returns the type of message.
        Returns:
        the type.