Package org.springframework.shell.table


package org.springframework.shell.table
Allows the creation of tables that can be rendered using ASCII art.
  • Class
    Description
    A cell sizing strategy that forces a fixed width, expressed in number of characters.
    A strategy interface for performing text alignment.
    A TableModel backed by a row-first array.
    A SizeConstraints implementation that splits lines at space boundaries and returns an extent with minimal and maximal width requirements.
    A table model that is backed by a list of beans.
    This represents a directive to set some borders on cells of a table.
    Provides support for different styles of borders, using simple or fancy ascii art.
    This is used to specify where some components of a Table may be applied.
    Contains factory methods for commonly used CellMatchers.
    A decorator Aligner that checks the Aligner invariants contract, useful for debugging.
    A TextWrapper that delegates to another but makes sure that the contract is not violated.
    A very simple formatter that uses Object.toString() and splits on newlines.
    A Text wrapper that wraps at "word" boundaries.
    A Formatter is responsible for the initial rendering of a value to lines of text.
    A text alignment strategy that aligns text horizontally so that all instances of some special character(s) line up perfectly in a column.
    A SizeConstraints implementation that is tailored to rendering a series of key = value pairs.
    A TextWrapper implementation tailored for key-value rendering (working in concert with KeyValueSizeConstraints, KeyValueHorizontalAligner), that tries its best to vertically align some delimiter character (default '=').
    A formatter suited for key-value pairs, that renders each mapping on a new line.
    A sizing strategy that will impose the longest line width on cells.
    An horizontal alignment strategy that allows alignment to the left, center or right.
    Alignment strategy that allows simple vertical alignment to top, middle or bottom.
    Strategy for computing the dimensions of a table cell.
    Holds both a minimum and maximum width.
    This is the central API for table rendering.
    A builder class to incrementally configure a Table.
    Abstracts away the contract a Table will use to retrieve tabular data.
    Helper class to build a TableModel incrementally.
    Utility class used to create and configure typical Tables.
    A strategy for applying text wrapping/cropping given a cell width.