Class ChatTextSink
java.lang.Object
games.stendhal.client.gui.chatlog.ChatTextSink
- All Implemented Interfaces:
AttributedTextSink<StyleSet>
AttributedTextSink for writing to a styled document.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ChatTextSink
Create a new ChatTextSink.- Parameters:
document
- destination document
-
-
Method Details
-
append
Description copied from interface:AttributedTextSink
Append a string with specified formatting.- Specified by:
append
in interfaceAttributedTextSink<StyleSet>
- Parameters:
s
- appended stringattrs
- format attributes
-