public interface MessageArea<O extends OutputManager<?>>
Modifier and Type | Method and Description |
---|---|
void |
attach(Window<O> window)
Attach this widget to the specified window.
|
void |
clearMessagesNoPause()
Clear the message content and make sure that the message area displays the cleared
space without pausing.
|
void |
forceVisibility(boolean visibility)
Force widget visibility change without associated repainting.
|
Color[] |
getMessageColors()
Get all the message colors in this message-area.
|
java.lang.String[] |
getMessageTexts()
Get all the message texts in this message-area.
|
void |
setMessageText(java.lang.String[] message,
Color[] cs)
Shows the new message text.
|
void |
setMessageText(java.lang.String[] msg,
Color[] cs,
boolean force)
Set message main worker routine.
|
void attach(Window<O> window)
window
- The parent window.void setMessageText(java.lang.String[] msg, Color[] cs, boolean force)
msg
- Message text array.cs
- Message color array.force
- true
means force redisplaying of messages even
if message text is already null
.void clearMessagesNoPause()
java.lang.String[] getMessageTexts()
Color[] getMessageColors()
void forceVisibility(boolean visibility)
visibility
- New visibility state.void setMessageText(java.lang.String[] message, Color[] cs)
message
- Array of two text message which need to be displayed inside the
message area.cs
- Array of two color specifications.