public class DefaultTableFormat extends DefaultFormatBase<net.thevpc.nuts.format.NTableFormat> implements net.thevpc.nuts.format.NTableFormat
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultTableFormat.Bounds |
static class |
DefaultTableFormat.DefaultCell |
static class |
DefaultTableFormat.Interval |
static class |
DefaultTableFormat.Pos |
static class |
DefaultTableFormat.RenderedCell |
static class |
DefaultTableFormat.Row |
static class |
DefaultTableFormat.Widths |
| Modifier and Type | Field and Description |
|---|---|
static net.thevpc.nuts.format.NTableBordersFormat |
FANCY_COLUMNS_BORDER |
static net.thevpc.nuts.format.NTableBordersFormat |
FANCY_ROWS_BORDER |
static net.thevpc.nuts.format.NTableBordersFormat |
NO_BORDER |
static net.thevpc.nuts.format.NTableBordersFormat |
SIMPLE_BORDER |
static net.thevpc.nuts.format.NTableBordersFormat |
SPACE_BORDER |
static net.thevpc.nuts.format.NTableBordersFormat |
UNICODE_BORDER |
| Constructor and Description |
|---|
DefaultTableFormat(net.thevpc.nuts.NWorkspace workspace) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.format.NMutableTableModel |
_model2(Object obj) |
boolean |
configureFirst(net.thevpc.nuts.cmdline.NCmdLine cmdLine) |
static void |
formatAndHorizontalAlign(StringBuilder sb,
net.thevpc.nuts.format.NPositionType a,
int columns,
net.thevpc.nuts.text.NTexts tf) |
static Set<String> |
getAvailableTableBorders() |
net.thevpc.nuts.format.NTableBordersFormat |
getBorder() |
net.thevpc.nuts.format.NTableModel |
getModel() |
int |
getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context) |
Object |
getValue() |
Boolean |
getVisibleColumn(int col) |
boolean |
isVisibleHeader() |
static net.thevpc.nuts.format.NTableBordersFormat |
parseTableBorders(String borderName) |
void |
print(net.thevpc.nuts.io.NPrintStream w) |
net.thevpc.nuts.runtime.standalone.format.table.DefaultTableFormat.SimpleCell |
resolveColumnsFromCell(String title,
Object obj) |
net.thevpc.nuts.runtime.standalone.format.table.DefaultTableFormat.SimpleRow |
resolveColumnsFromRow(Object obj) |
List<net.thevpc.nuts.runtime.standalone.format.table.DefaultTableFormat.SimpleRow> |
resolveColumnsFromRows(Object obj) |
DefaultTableFormat |
setBorder(net.thevpc.nuts.format.NTableBordersFormat border) |
net.thevpc.nuts.format.NTableFormat |
setBorder(String borderName) |
net.thevpc.nuts.format.NTableFormat |
setCellFormat(net.thevpc.nuts.format.NTableCellFormat formatter) |
net.thevpc.nuts.format.NTableFormat |
setHeaderFormat(net.thevpc.nuts.format.NTableCellFormat formatter) |
net.thevpc.nuts.format.NTableFormat |
setValue(Object value) |
DefaultTableFormat |
setVisibleColumn(int col,
Boolean visible) |
DefaultTableFormat |
setVisibleHeader(boolean visibleHeader) |
String |
toString() |
format, formatPlain, getValidPrintStream, getValidPrintStream, print, print, print, print, print, print, print, println, println, println, println, println, println, println, printlnconfigure, getName, isNtf, setNtfclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static net.thevpc.nuts.format.NTableBordersFormat NO_BORDER
public static net.thevpc.nuts.format.NTableBordersFormat UNICODE_BORDER
public static net.thevpc.nuts.format.NTableBordersFormat SIMPLE_BORDER
public static net.thevpc.nuts.format.NTableBordersFormat FANCY_ROWS_BORDER
public static net.thevpc.nuts.format.NTableBordersFormat SPACE_BORDER
public static net.thevpc.nuts.format.NTableBordersFormat FANCY_COLUMNS_BORDER
public DefaultTableFormat(net.thevpc.nuts.NWorkspace workspace)
public static net.thevpc.nuts.format.NTableBordersFormat parseTableBorders(String borderName)
public static void formatAndHorizontalAlign(StringBuilder sb, net.thevpc.nuts.format.NPositionType a, int columns, net.thevpc.nuts.text.NTexts tf)
public boolean isVisibleHeader()
isVisibleHeader in interface net.thevpc.nuts.format.NTableFormatpublic DefaultTableFormat setVisibleHeader(boolean visibleHeader)
setVisibleHeader in interface net.thevpc.nuts.format.NTableFormatpublic net.thevpc.nuts.format.NTableBordersFormat getBorder()
getBorder in interface net.thevpc.nuts.format.NTableFormatpublic DefaultTableFormat setBorder(net.thevpc.nuts.format.NTableBordersFormat border)
setBorder in interface net.thevpc.nuts.format.NTableFormatpublic net.thevpc.nuts.format.NTableFormat setBorder(String borderName)
setBorder in interface net.thevpc.nuts.format.NTableFormatpublic DefaultTableFormat setVisibleColumn(int col, Boolean visible)
setVisibleColumn in interface net.thevpc.nuts.format.NTableFormatpublic Boolean getVisibleColumn(int col)
getVisibleColumn in interface net.thevpc.nuts.format.NTableFormatpublic net.thevpc.nuts.format.NTableFormat setCellFormat(net.thevpc.nuts.format.NTableCellFormat formatter)
setCellFormat in interface net.thevpc.nuts.format.NTableFormatpublic net.thevpc.nuts.format.NTableModel getModel()
getModel in interface net.thevpc.nuts.format.NTableFormatpublic net.thevpc.nuts.format.NTableFormat setValue(Object value)
setValue in interface net.thevpc.nuts.format.NContentTypeFormatsetValue in interface net.thevpc.nuts.format.NTableFormatpublic void print(net.thevpc.nuts.io.NPrintStream w)
print in interface net.thevpc.nuts.format.NFormatprint in class DefaultFormatBase<net.thevpc.nuts.format.NTableFormat>public String toString()
toString in interface net.thevpc.nuts.format.NFormattoString in class DefaultFormatBase<net.thevpc.nuts.format.NTableFormat>public net.thevpc.nuts.format.NTableFormat setHeaderFormat(net.thevpc.nuts.format.NTableCellFormat formatter)
public net.thevpc.nuts.format.NMutableTableModel _model2(Object obj)
public List<net.thevpc.nuts.runtime.standalone.format.table.DefaultTableFormat.SimpleRow> resolveColumnsFromRows(Object obj)
public net.thevpc.nuts.runtime.standalone.format.table.DefaultTableFormat.SimpleRow resolveColumnsFromRow(Object obj)
public net.thevpc.nuts.runtime.standalone.format.table.DefaultTableFormat.SimpleCell resolveColumnsFromCell(String title, Object obj)
public Object getValue()
getValue in interface net.thevpc.nuts.format.NContentTypeFormatpublic boolean configureFirst(net.thevpc.nuts.cmdline.NCmdLine cmdLine)
configureFirst in interface net.thevpc.nuts.cmdline.NCmdLineConfigurablepublic int getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context)
getSupportLevel in interface net.thevpc.nuts.spi.NComponentCopyright © 2025 vpc open source initiative. All rights reserved.