public class TableViewerContext extends ListViewerContext
You can use the TableViewerContext class for creating custom log methods around logCustomContext for sending custom data organized as tables. This class is not guaranteed to be thread safe.
| Constructor and Description |
|---|
TableViewerContext()
Creates and initializes a TableViewerContext instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRowEntry(boolean entry)
Overloaded.
|
void |
addRowEntry(byte entry)
Overloaded.
|
void |
addRowEntry(char entry)
Overloaded.
|
void |
addRowEntry(double entry)
Overloaded.
|
void |
addRowEntry(float entry)
Overloaded.
|
void |
addRowEntry(int entry)
Overloaded.
|
void |
addRowEntry(long entry)
Overloaded.
|
void |
addRowEntry(Object entry)
Overloaded.
|
void |
addRowEntry(short entry)
Overloaded.
|
void |
addRowEntry(String entry)
Overloaded.
|
void |
appendHeader(String header)
Appends a header to the text data.
|
void |
beginRow()
Begins a new row.
|
void |
endRow()
Ends the current row.
|
escapeLine, escapeLineappendLine, appendText, close, getViewerData, loadFromFile, loadFromReader, loadFromStream, loadFromText, resetDatagetViewerIdpublic TableViewerContext()
public void appendHeader(String header)
header - The header to appendpublic void addRowEntry(String entry)
entry - The string entry to addpublic void addRowEntry(char entry)
entry - The char entry to addpublic void addRowEntry(boolean entry)
entry - The boolean entry to addpublic void addRowEntry(byte entry)
entry - The byte entry to addpublic void addRowEntry(short entry)
entry - The short entry to addpublic void addRowEntry(int entry)
entry - The int entry to addpublic void addRowEntry(long entry)
entry - The long entry to addpublic void addRowEntry(float entry)
entry - The float entry to addpublic void addRowEntry(double entry)
entry - The double entry to addpublic void addRowEntry(Object entry)
entry - The object entry to addpublic void beginRow()
public void endRow()
Copyright © 2023. All rights reserved.