Class MuLiMessageStore<D>

All Implemented Interfaces:
MessageReceiver<SimpleMessage<D>>

public class MuLiMessageStore<D> extends MuLiMessageReceiver<D>
Deprecated.
All messages support now muli; use MessageTranslator instead Storage for a sequence of multi-linguale SimpleMessages, 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.
  • Field Details

  • Constructor Details

  • Method Details

    • getSize

      public int getSize()
      Deprecated.
      returns the number of currently contained messages
    • setLivingListLanguagePreferences

      public void setLivingListLanguagePreferences(List<String> lang_prefs)
      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

      public void setTableModel(MuLiMessageStore<D>.TableModel tm)
      Deprecated.
      only needed for inserting a user-defined table model, cf MuLiMessageStore<D>.TableModel.
    • getTableModel

      public MuLiMessageStore<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

      public void receive(SimpleMessage<D> message, Object... args)
      Deprecated.
      adds the received message to the internal store and notifies all GUI objects.