Interface AttributedTextSink<T extends games.stendhal.client.gui.textformat.FormatSet<?,​?>>

Type Parameters:
T - used Text format
All Known Implementing Classes:
AttributedStringBuilder, ChatTextSink, HTMLBuilder

public interface AttributedTextSink<T extends games.stendhal.client.gui.textformat.FormatSet<?,​?>>
Interface for destinations that can consume styled text.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    append​(String s, T attrs)
    Append a string with specified formatting.
  • Method Details

    • append

      void append(String s, T attrs)
      Append a string with specified formatting.
      Parameters:
      s - appended string
      attrs - format attributes