public class TextWriter extends Object
| Constructor and Description |
|---|
TextWriter() |
| Modifier and Type | Method and Description |
|---|---|
Writer |
create(JTextComponent component,
xyz.cofe.collection.Func0<AttributeSet> lazyStyle)
Создает Writer для записи текста в компонент
|
static void |
write(JTextComponent out,
xyz.cofe.collection.Func0<Iterable<xyz.cofe.collection.Pair<String,AttributeSet>>> lazyMessage)
Пишет текст в текстовый компонент
|
static void |
write(JTextComponent out,
Iterable<xyz.cofe.collection.Pair<String,AttributeSet>> message)
Пишет текст в текстовый компонент
|
static void |
write(JTextComponent out,
String message)
Пишет текст в текстовый компонент
|
static void |
write(JTextComponent out,
String message,
AttributeSet textAttributes)
Пишет текст в текстовый компонент
|
static void |
write(JTextComponent out,
String message,
xyz.cofe.collection.Func0<AttributeSet> lazyTextAttributes)
Пишет текст в текстовый компонент
|
static Writer |
writer(JTextComponent component)
Создает Writer для записи текста в компонент
|
static Writer |
writer(JTextComponent component,
xyz.cofe.collection.Func0<AttributeSet> lazyStyle)
Создает Writer для записи текста в компонент
|
public static Writer writer(JTextComponent component, xyz.cofe.collection.Func0<AttributeSet> lazyStyle)
component - компонентlazyStyle - стиль текстаpublic static Writer writer(JTextComponent component)
component - компонентpublic Writer create(JTextComponent component, xyz.cofe.collection.Func0<AttributeSet> lazyStyle)
component - компонентlazyStyle - стиль текстаpublic static void write(JTextComponent out, xyz.cofe.collection.Func0<Iterable<xyz.cofe.collection.Pair<String,AttributeSet>>> lazyMessage)
out - текстовый компонентlazyMessage - сообщение/текстpublic static void write(JTextComponent out, Iterable<xyz.cofe.collection.Pair<String,AttributeSet>> message)
out - текстовый компонентmessage - сообщение/текстpublic static void write(JTextComponent out, String message, AttributeSet textAttributes)
out - текстовый компонентmessage - сообщение/текстtextAttributes - стиль текстаpublic static void write(JTextComponent out, String message, xyz.cofe.collection.Func0<AttributeSet> lazyTextAttributes)
out - текстовый компонентmessage - сообщение/текстlazyTextAttributes - стиль текстаpublic static void write(JTextComponent out, String message)
out - текстовый компонентmessage - сообщение/текстCopyright © 2019. All rights reserved.