Package | Description |
---|---|
eu.bandm.tools.graficUtils |
Utility functions for drawing and coordinate calculation.
|
eu.bandm.tools.message |
Messages and positions in documents,
cf user documentation.
|
eu.bandm.tools.option |
Command line parser and graphical user input generated from
one abstract description of programming options, incl data types
and multi-lingual descriptions.
|
Modifier and Type | Method and Description |
---|---|
static <D extends Message> |
SwingTools.ask(JFrame frame,
@Opt String windowtitle,
int messageType,
MessageStore<D> text,
String cancelbutton,
String okbutton) |
static <D extends Message> |
SwingTools.show(JFrame frame,
@Opt String windowtitle,
int messageType,
MessageStore<D> text,
String buttonText) |
Modifier and Type | Class and Description |
---|---|
class |
MessageAsync<M extends Message>
A sub-class of
SingleSender which lets the drain's receive method
run asynchronouously in a separate thread. |
class |
MessageCounter<M extends Message>
Counts all received messages, per kind, total, and per critical/non-critical.
|
class |
MessageDemux<E extends Enum<E>,M extends Message>
Auxiliary class which concretizes
PrimitiveMessageDemux in so far
it calculates a set of enum values for every message it receives, and then
calls the PrimitiveMessageDemux.receive(Enum,Message) method for all these. |
static class |
MessageDemux.All<E extends Enum<E>,M extends Message>
Trivial instantiation of
MessageDemux which propagates each message
to all receivers in the map, as it has been constructed
by PrimitiveMessageDemux.setReceiver(Enum,MessageReceiver) |
static class |
MessageDemux.ByKind<M extends Message>
A
MessageDemux which sorts messages by their kind. |
class |
MessageKindFilter<M extends Message>
A filter which propagates only those messages the
Message.Kind
of which is currently added. |
class |
MessageMapper<M extends Message,N extends Message>
A message receiver which receives a message of one type,
and propagates the result of applying a function to this message, which
may be of different type.
|
class |
MessageMapper<M extends Message,N extends Message>
A message receiver which receives a message of one type,
and propagates the result of applying a function to this message, which
may be of different type.
|
class |
MessagePasser<M extends Message>
Simply passes every message it receives to a single target.
|
class |
MessagePrinter<M extends Message>
Prints textual representations of all received messages to an
output stream.
|
static class |
MessagePrinter.Indenting<M extends Message>
Specialization of
MessagePrinter which indents all log messages. |
interface |
MessageReceiver<M extends Message>
Everything which can receive a Message !-)
The value for the message must be (never null).
|
class |
MessageStore<M extends Message>
Storage for a sequence of
Message s with dynamic sorting, graphic
interfaces and propagation facilities. |
class |
MessageStripExceptions<M extends Message>
A filter which strips off all exceptions, or at least the stack traces,
for a slimmer appearance of print-outs.
|
class |
MessageSync<M extends Message>
Can accept messages from many different threads.
|
class |
MessageTee<M extends Message>
Re-sends the message received sequeentially to a multitude of
current drains.
For details see MessageTee.receive(Message) . |
class |
MessageThrower<M extends Message>
"Throws" each message it receives as a
Throwable . |
class |
PrimitiveMessageDemux<E extends Enum<E>,M extends Message>
Auxiliary class administrating an enumeration type and a map from
this type to optional
MessageReceiver s. |
class |
SingleSender<M extends Message>
Common superclass of all which send messages to one single drain.
|
class |
SwingMessageField<M extends Message>
derived from
SwingMessageTable and MessagePrinter . |
Modifier and Type | Class and Description |
---|---|
class |
SimpleMessage<D>
Used ubiquituously in
|
static class |
SimpleMessage.Ping<D>
Log message with not more informative content than "I am still alive".
|
Modifier and Type | Field and Description |
---|---|
Message |
MessageException.message |
Modifier and Type | Method and Description |
---|---|
static <E extends Enum<E>,M extends Message> |
MessageDemux.all(Class<E> tags)
Delivers a trivial instantiation of
MessageDemux , see MessageDemux.All . |
static <M extends Message> |
MessageDemux.byKind()
factory method for
MessageDemux.ByKind |
static <M extends Message,N extends Message> |
MessageMapper.lift(Function<M,? extends N> f)
Delivers a function to apply on a message receiver for type "N"
to get a message receiver for type "M", when a function is given
which maps the messages the other way round.
|
static <M extends Message,N extends Message> |
MessageMapper.lift(Function<M,? extends N> f)
Delivers a function to apply on a message receiver for type "N"
to get a message receiver for type "M", when a function is given
which maps the messages the other way round.
|
Modifier and Type | Method and Description |
---|---|
protected EnumSet<Message.Kind> |
MessageDemux.ByKind.getOutputTags(Message m) |
void |
MessageDisposer.receive(Message msg) |
void |
TrafficMessageReceiver.receive(Message msg) |
Constructor and Description |
---|
MessageException(Message message) |
Constructor and Description |
---|
MessageCatcher(MessageReceiver<Message> rec)
When using this constructor, you have to re-define teh method
MessageCatcher.code() . |
MessageCatcher(Runnable c,
MessageReceiver<Message> rec) |
Modifier and Type | Field and Description |
---|---|
protected MessageReceiver<Message> |
Compiler.msgr |
Modifier and Type | Method and Description |
---|---|
void |
Compiler.compile(Element_optionlist data0,
String packagename0,
String classname_model,
@Opt String classname_gui,
String destdir,
Format genComment,
String inputfilename,
MessageReceiver<Message> msgr)
Create source text for a model, and for a gui, if required.
|
see also the complete user documentation .