Interface PlainMessageDialogBody

All Superinterfaces:
DialogBody

public non-sealed interface PlainMessageDialogBody extends DialogBody
A plain message body for a dialog.

Created via DialogBody.plainMessage(Component, int)

  • Method Summary

    Modifier and Type
    Method
    Description
    The contents of the plain message body.
    @Range(from=1L,to=1024L) int
    The width of the plain message body.
  • Method Details

    • contents

      @Contract(pure=true) Component contents()
      The contents of the plain message body.
      Returns:
      the component contents
    • width

      @Contract(pure=true) @Range(from=1L,to=1024L) int width()
      The width of the plain message body.
      Returns:
      the width