Package eu.bandm.tools.muli
Class MuLiMessageStore<D>
java.lang.Object
eu.bandm.tools.message.SingleSender<SimpleMessage<D>>
eu.bandm.tools.muli.MuLiMessageReceiver<D>
eu.bandm.tools.muli.MuLiMessageStore<D>
- All Implemented Interfaces:
MessageReceiver<SimpleMessage<D>>
Deprecated.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classDeprecated.classDeprecated.standard specialisation ofAbstractTableModel. -
Field Summary
FieldsModifier and TypeFieldDescription(package private) intDeprecated.protected final List<MuLiMessageStore<D>.Entry>Deprecated.(package private) CatalogByStringDeprecated.Deprecated.protected MuLiMessageStore<D>.TableModelDeprecated.(package private) CatalogByStringDeprecated.Fields inherited from class eu.bandm.tools.muli.MuLiMessageReceiver
catalog, counter, prefs, terminationTextFields inherited from class eu.bandm.tools.message.SingleSender
receiver -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Deprecated.clears the internal storage, deleting all messages.intgetSize()Deprecated.returns the number of currently contained messagesDeprecated.returns the default (or a user-defined) table model,MuLiMessageStore<D>.TableModel.protected voidnotifyGuiAdd(int i) Deprecated.An item has been inserted at position "i".voidDeprecated.Must be called when the list of languages preferences has changed.voidreceive(SimpleMessage<D> message, Object... args) Deprecated.adds the received message to the internal store and notifies all GUI objects.voidsetLivingListLanguagePreferences(List<String> lang_prefs) Deprecated.must be set to a "live" list, which can change the order of preferred translation languages.voidDeprecated.only needed for inserting a user-defined table model, cfMuLiMessageStore<D>.TableModel.Methods inherited from class eu.bandm.tools.muli.MuLiMessageReceiver
error, error, error, failure, failure, failure, getCatalog, getCounter, getMarkedErros, getPrefs, hint, hint, hint, log, log, log, logEnd, logEnd, logEnd, logStart, logStart, logStart, markCriticalErrors, noTranslate, receive, send, send, send, setCatalog, setPreferences, setPreferences, terminateApplicationOnErrors, terminateApplicationOnErrors, warning, warning, warningMethods inherited from class eu.bandm.tools.message.SingleSender
getReceiver, send, setReceiver
-
Field Details
-
indent
int indentDeprecated. -
messages
Deprecated. -
tableModel
Deprecated. -
prefLangs
Deprecated. -
translations
CatalogByString translationsDeprecated. -
myTranslations
CatalogByString myTranslationsDeprecated.
-
-
Constructor Details
-
MuLiMessageStore
Deprecated.
-
-
Method Details
-
getSize
public int getSize()Deprecated.returns the number of currently contained messages -
setLivingListLanguagePreferences
Deprecated.must be set to a "live" list, which can change the order of preferred translation languages. -
notifyLanguageChanged
public void notifyLanguageChanged()Deprecated.Must be called when the list of languages preferences has changed. -
setTableModel
Deprecated.only needed for inserting a user-defined table model, cfMuLiMessageStore<D>.TableModel. -
getTableModel
Deprecated.returns the default (or a user-defined) table model,MuLiMessageStore<D>.TableModel. -
clear
public void clear()Deprecated.clears the internal storage, deleting all messages. -
notifyGuiAdd
protected void notifyGuiAdd(int i) Deprecated.An item has been inserted at position "i". -
receive
Deprecated.adds the received message to the internal store and notifies all GUI objects.
-
MessageTranslatorinstead Storage for a sequence of multi-lingualeSimpleMessages, with graphic interfaces.All messages received are added to an internal sequential storage. The translation is done at drawing time of the related graphic views, so that switches in the languafe apply also older messages.