Interface TextAlignable

All Known Implementing Classes:
Button, CheckBox, ComboBox, DateEditBox, Label, ListBox, NumericBox, NumericBoxSpinner, StringEditBox, TextBox, TextComboBox

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

    • getTextAlignment

      TextAlignable.Alignment getTextAlignment()
      Returns a value indicating the text's horizontal alignment.
      Returns:
    • setTextAlignment

      TextAlignable setTextAlignment(TextAlignable.Alignment alignment)
      Sets the horizontal alignment of the text within the control.
      Parameters:
      alignment - Enum from list representing an internal BBj numeric constant
      Returns:
      The control itself