public class MessageDialog<D> extends Object implements MessageReceiver<SimpleMessage<D>>
Message.Kind
.
Standard reaction is to close window and/or to suppress further pop-ups
of the same kind.Modifier and Type | Field and Description |
---|---|
protected JFrame |
context |
protected EnumSet<Message.Kind> |
noMore |
protected String |
reactionText |
protected EnumSet<Message.Kind> |
selected |
static MuLi |
standardReactionText |
protected String |
title |
Constructor and Description |
---|
MessageDialog(JFrame context,
String title) |
MessageDialog(JFrame context,
String title,
EnumSet<Message.Kind> selected) |
Modifier and Type | Method and Description |
---|---|
EnumSet<Message.Kind> |
getExplicitlySuppressed() |
void |
receive(SimpleMessage<D> m) |
void |
setReactionText(String s) |
void |
useStandardReactionText(List<String> langs) |
void |
useStandardReactionText(String... langs) |
protected final EnumSet<Message.Kind> selected
protected EnumSet<Message.Kind> noMore
protected String reactionText
public static final MuLi standardReactionText
protected final JFrame context
protected String title
public MessageDialog(JFrame context, String title, EnumSet<Message.Kind> selected)
public void setReactionText(String s)
public void useStandardReactionText(String... langs)
public EnumSet<Message.Kind> getExplicitlySuppressed()
public void receive(SimpleMessage<D> m)
receive
in interface MessageReceiver<SimpleMessage<D>>
see also the complete user documentation .