Class RadioButtonDescription

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

public class RadioButtonDescription extends ElementDescription
Description of a SAP GUI for Windows radio button.
  • Constructor Details

    • RadioButtonDescription

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

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

    • setAttachedText

      public void setAttachedText(StringProperty attachedText)
      Sets the static text attached to the control.
      Parameters:
      attachedText - a StringProperty or RegExpProperty.
    • setAttachedText

      public void setAttachedText(String attachedText)
      Sets the static text attached to the control.
      Parameters:
      attachedText - the static text.
    • getAttachedText

      public StringProperty getAttachedText()
      Returns the static text attached to the control.
      Returns:
      the static text.
    • setEnabled

      public void setEnabled(Boolean enabled)
      Sets whether the radio button can accept user input.
      Parameters:
      enabled - true to set as enabled.
    • isEnabled

      public Boolean isEnabled()
      Indicates whether the radio button can accept user input.
      Returns:
      true if enabled.
    • setChecked

      public void setChecked(Boolean checked)
      Sets whether the radio button is selected.
      Parameters:
      checked - true if selected.
    • isChecked

      public Boolean isChecked()
      Indicates whether the radio button is selected.
      Returns:
      true if selected.