public class StyledTextOutputEvent extends RenderableOutputEvent
| Modifier and Type | Class and Description |
|---|---|
static class |
StyledTextOutputEvent.Span |
| Constructor and Description |
|---|
StyledTextOutputEvent(long timestamp,
String category,
List<StyledTextOutputEvent.Span> spans) |
StyledTextOutputEvent(long timestamp,
String category,
LogLevel logLevel,
List<StyledTextOutputEvent.Span> spans) |
StyledTextOutputEvent(long timestamp,
String category,
LogLevel logLevel,
String text) |
StyledTextOutputEvent(long timestamp,
String category,
LogLevel logLevel,
StyledTextOutput.Style style,
String text) |
StyledTextOutputEvent(long timestamp,
String category,
LogLevel logLevel,
StyledTextOutputEvent.Span... spans) |
StyledTextOutputEvent(long timestamp,
String category,
String text) |
StyledTextOutputEvent(long timestamp,
String category,
StyledTextOutput.Style style,
String text) |
| Modifier and Type | Method and Description |
|---|---|
void |
render(StyledTextOutput output)
Renders this event to the given output.
|
String |
toString() |
StyledTextOutputEvent |
withLogLevel(LogLevel logLevel) |
getCategory, getLogLevel, getTimestamppublic StyledTextOutputEvent(long timestamp,
String category,
LogLevel logLevel,
String text)
public StyledTextOutputEvent(long timestamp,
String category,
StyledTextOutput.Style style,
String text)
public StyledTextOutputEvent(long timestamp,
String category,
LogLevel logLevel,
StyledTextOutput.Style style,
String text)
public StyledTextOutputEvent(long timestamp,
String category,
List<StyledTextOutputEvent.Span> spans)
public StyledTextOutputEvent(long timestamp,
String category,
LogLevel logLevel,
StyledTextOutputEvent.Span... spans)
public StyledTextOutputEvent(long timestamp,
String category,
LogLevel logLevel,
List<StyledTextOutputEvent.Span> spans)
public StyledTextOutputEvent withLogLevel(LogLevel logLevel)
public void render(StyledTextOutput output)
RenderableOutputEventStyledTextOutput.Style.Normal. The style will be reset after the rendering is complete, so
there is no need for this method to clean up the style.render in class RenderableOutputEventoutput - The output to render to.Copyright © 2013. All rights reserved