Interface PromptInterfaces.Focus

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean hasFocus()
      Returns true if the focus is set.
      void setFocus​(boolean value)
      Sets the cursor focus: The cursor is placed at this control if the value is true.
    • Method Detail

      • hasFocus

        boolean hasFocus()
        Returns true if the focus is set. The cursor is placed at this control if the value is true. It may only be defined for one control in the PromptSet. If this flag is defined for several Controls of a PromptSet the last Control that got the flag wins.
        Returns:
        true if the cursor should be set in this Prompt Element, false otherwise
      • setFocus

        void setFocus​(boolean value)
        Sets the cursor focus: The cursor is placed at this control if the value is true. It may only be defined for one control in the PromptSet. If this flag is defined for several Controls of a PromptSet the last Control that got the flag wins.
        Parameters:
        value - true if the cursor should be set in this Prompt Element, false otherwise