Package org.refcodes.mixin
Class TableTailImpl<T>
- java.lang.Object
-
- org.refcodes.mixin.TableTailImpl<T>
-
- Type Parameters:
T
- The type of the "character", may be a char or a sprite or a byte array.
- All Implemented Interfaces:
BottomDividerEdgeAccessor<T>
,BottomRightEdgeAccessor<T>
,TableTail<T>
public class TableTailImpl<T> extends java.lang.Object implements TableTail<T>
Implementation of theTableTail
interface.
-
-
Constructor Summary
Constructors Constructor Description TableTailImpl(T aBottomLeftEdge, T aBottomLine, T aBottomDividerEdge, T aBottomRightEdge)
Constructs the table tail.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
getBottomDividerEdge()
Returns the table row's bottom divider edge character, for example "╪" (head) or "╧" (tail).T
getBottomLeftEdge()
Returns the table row's bottom left edge character, for example "╞" (head) or "╘" (tail).T
getBottomLine()
Returns the table row's bottom line character, for example "═".T
getBottomRightEdge()
Returns the table row's bottom left edge character, for example "╡" (head) or "╛" (tail).
-
-
-
Constructor Detail
-
TableTailImpl
public TableTailImpl(T aBottomLeftEdge, T aBottomLine, T aBottomDividerEdge, T aBottomRightEdge)
Constructs the table tail.- Parameters:
aBottomLeftEdge
- The bottom left edge.aBottomLine
- The bottom line.aBottomDividerEdge
- The bottom divider edge.aBottomRightEdge
- The bottom right edge.
-
-
Method Detail
-
getBottomLeftEdge
public T getBottomLeftEdge()
Returns the table row's bottom left edge character, for example "╞" (head) or "╘" (tail).- Specified by:
getBottomLeftEdge
in interfaceTableTail<T>
- Returns:
- The bottom left edge character.
-
getBottomDividerEdge
public T getBottomDividerEdge()
Returns the table row's bottom divider edge character, for example "╪" (head) or "╧" (tail).- Specified by:
getBottomDividerEdge
in interfaceBottomDividerEdgeAccessor<T>
- Returns:
- The bottom divider edge character.
-
getBottomRightEdge
public T getBottomRightEdge()
Returns the table row's bottom left edge character, for example "╡" (head) or "╛" (tail).- Specified by:
getBottomRightEdge
in interfaceBottomRightEdgeAccessor<T>
- Returns:
- The bottom left edge character.
-
getBottomLine
public T getBottomLine()
Returns the table row's bottom line character, for example "═".- Specified by:
getBottomLine
in interfaceTableTail<T>
- Returns:
- The bottom line character.
-
-