Interface TextHighlightable

All Known Implementing Classes:
DateEditBox, NumericBox, NumericBoxSpinner, StringEditBox, TextArea, TextBox

public interface TextHighlightable
On applicable controls, creates enum which helps facilitate underlying BBj constant integers for text highlighting behavior to legible enum values, and facilitates implementation of methods to interact with this behavior.
  • Method Details

    • getHighlightOnFocus

      TextHighlightable.Highlight getHighlightOnFocus()
      This method returns an enum representing the current behavior of highlighting in a text control when the control receives focus.
      Returns:
      Enum representing BBj constant for highlight on focus
    • setHighlightOnFocus

      TextHighlightable setHighlightOnFocus(TextHighlightable.Highlight highlight)
      This method sets the behavior of controls implementing the TextControl interface when receiving focus via the keyboard, mouse, or BBjControl::focus() method FOCUS mnemonic.
      Parameters:
      highlight - Enum representing a BBj constant that dictates highlight behavior for control
      Returns:
      The control itself.