Class ChatInput

All Implemented Interfaces:
Animation, Editable, StyleListener, Iterable<Component>

public class ChatInput extends Container

The input strip at the bottom of a ChatView. Contains an optional attach button, a single-line text field, an optional voice button, and a send button.

Each button is exposed via a setter (setOnAttach(ActionListener), setOnVoice(ActionListener), setOnSend(ActionListener)) and visible only when its listener is non-null. Listeners receive an ActionEvent whose source is this ChatInput.

Default UIIDs: ChatInput on the container, ChatInputField on the text field, ChatSendButton / ChatAttachButton / ChatVoiceButton on the respective buttons.

  • Constructor Details

    • ChatInput

      public ChatInput()
  • Method Details