public class Messages extends Object
Application
. These overlays do not capture mouse events and may, hence, be used
to display messages without interrupting user interaction.Modifier and Type | Class and Description |
---|---|
static class |
Messages.Level
The severity level of a message
|
Constructor and Description |
---|
Messages()
Creates a new renderer for overlay messages
|
Modifier and Type | Method and Description |
---|---|
void |
displayMessage(String text,
Messages.Level level)
Adds a message to the queue of messages.
|
Pane |
getMessagePane()
Returns the component pane for rendering the messages.
|
public Pane getMessagePane()
public void displayMessage(String text, Messages.Level level)
text
- the text of the messagelevel
- the severity level of the message