public class DefaultTableFormat extends DefaultFormatBase<NTableFormat> implements 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 NTableBordersFormat |
FANCY_COLUMNS_BORDER |
static NTableBordersFormat |
FANCY_ROWS_BORDER |
static NTableBordersFormat |
NO_BORDER |
static NTableBordersFormat |
SIMPLE_BORDER |
static NTableBordersFormat |
SPACE_BORDER |
static NTableBordersFormat |
UNICODE_BORDER |
| Constructor and Description |
|---|
DefaultTableFormat(NWorkspace workspace) |
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, waitconfigure, of, setNtfofformat, formatPlain, isNtf, of, of, print, print, print, print, print, print, print, println, println, println, println, println, println, println, printlnconfigure, configure, configureLastpublic static NTableBordersFormat NO_BORDER
public static NTableBordersFormat UNICODE_BORDER
public static NTableBordersFormat SIMPLE_BORDER
public static NTableBordersFormat FANCY_ROWS_BORDER
public static NTableBordersFormat SPACE_BORDER
public static NTableBordersFormat FANCY_COLUMNS_BORDER
public DefaultTableFormat(NWorkspace workspace)
public static NTableBordersFormat parseTableBorders(String borderName)
public static void formatAndHorizontalAlign(StringBuilder sb, NPositionType a, int columns, NTexts tf)
public boolean isVisibleHeader()
isVisibleHeader in interface NTableFormatpublic DefaultTableFormat setVisibleHeader(boolean visibleHeader)
setVisibleHeader in interface NTableFormatpublic NTableBordersFormat getBorder()
getBorder in interface NTableFormatpublic DefaultTableFormat setBorder(NTableBordersFormat border)
setBorder in interface NTableFormatpublic NTableFormat setBorder(String borderName)
setBorder in interface NTableFormatpublic DefaultTableFormat setVisibleColumn(int col, Boolean visible)
setVisibleColumn in interface NTableFormatpublic Boolean getVisibleColumn(int col)
getVisibleColumn in interface NTableFormatpublic NTableFormat setCellFormat(NTableCellFormat formatter)
setCellFormat in interface NTableFormatpublic NTableModel getModel()
getModel in interface NTableFormatpublic NTableFormat setValue(Object value)
setValue in interface NContentTypeFormatsetValue in interface NTableFormatpublic void print(NPrintStream w)
print in interface NFormatprint in class DefaultFormatBase<NTableFormat>public String toString()
toString in interface NFormattoString in class DefaultFormatBase<NTableFormat>public NTableFormat setHeaderFormat(NTableCellFormat formatter)
public 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 NContentTypeFormatpublic boolean configureFirst(NCmdLine cmdLine)
configureFirst in interface NCmdLineConfigurablepublic int getSupportLevel(NSupportLevelContext context)
getSupportLevel in interface NComponentCopyright © 2025 vpc open source initiative. All rights reserved.