LSPS documentation logo
LSPS Documentation
Output Text (ui::OutputText)

The Output Text component is rendered as a read-only, single-line text field.

  • Label: label of the output box
  • Content: object that is displayed in the output box
  • Format: formatting applied on the object defined in the Content property

    The applicable format depends on the data type of the object from the Content property:

    • Format for a Date object: as java.text.SimpleDateFormat, for example "EEE, MMM d, ''yy"
    • Format for Integer and Decimal: as java.text.DecimalFormat, for example "#0.00"
    • Format for a String can be set to:
      • html: HTML tags are supported.
      • plaintext: Line breaks in the Content object are ignored.
      • preformatted: Line breaks are respected.
    • Any objects of other types are transformed with the toString() function and no Format setting applies.

The component throws InitEvent.