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)

Since:
1.21.7
  • 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
      Since:
      1.21.7
    • width

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