Package org.refcodes.mixin
Class TableHeaderImpl<T>
- java.lang.Object
-
- org.refcodes.mixin.TableBodyImpl<T>
-
- org.refcodes.mixin.TableHeaderImpl<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>,BottomLeftEdgeAccessor<T>,BottomRightEdgeAccessor<T>,TableBody<T>,TableHeader<T>,TableTail<T>
public class TableHeaderImpl<T> extends TableBodyImpl<T> implements TableHeader<T>
Implementation of theTableHeaderImplinterface.
-
-
Constructor Summary
Constructors Constructor Description TableHeaderImpl(T aLeftLine, T aLeftEdge, T aTopLeftEdge, T aBottomLeftEdge, T aTopLine, T aBottomLine, T aDividerLine, T aDividerEdge, T aTopDividerEdge, T aBottomDividerEdge, T aRightLine, T aRightEdge, T aTopRightEdge, T aBottomRightEdge)Instantiates a new table header impl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TgetBottomDividerEdge()Returns the table row's bottom divider edge character, for example "╪" (head) or "╧" (tail).TgetBottomLeftEdge()Returns the table row's bottom right edge character, for example "╟" (head) or "╙" (tail).TgetBottomLine()Returns the table row's bottom line character, for example "═".TgetBottomRightEdge()Returns the table row's bottom left edge character, for example "╡" (head) or "╛" (tail).-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.refcodes.mixin.TableBody
getDividerEdge, getDividerLine, getLeftEdge, getLeftLine, getRightEdge, getRightLine, getTopDividerEdge, getTopLeftEdge, getTopLine, getTopRightEdge
-
Methods inherited from class org.refcodes.mixin.TableBodyImpl
getDividerEdge, getDividerLine, getLeftEdge, getLeftLine, getRightEdge, getRightLine, getTopDividerEdge, getTopLeftEdge, getTopLine, getTopRightEdge
-
-
-
-
Constructor Detail
-
TableHeaderImpl
public TableHeaderImpl(T aLeftLine, T aLeftEdge, T aTopLeftEdge, T aBottomLeftEdge, T aTopLine, T aBottomLine, T aDividerLine, T aDividerEdge, T aTopDividerEdge, T aBottomDividerEdge, T aRightLine, T aRightEdge, T aTopRightEdge, T aBottomRightEdge)
Instantiates a new table header impl.- Parameters:
aLeftLine- The left line.aLeftEdge- The left edge.aTopLeftEdge- The top left edge.aBottomLeftEdge- The bottom left edge.aTopLine- The top line.aBottomLine- the bottom lineaDividerLine- the divider lineaDividerEdge- The top edge.aTopDividerEdge- The top divider edge.aBottomDividerEdge- The bottom divider edge.aRightLine- The right line.aRightEdge- The right edge.aTopRightEdge- The top right edge.aBottomRightEdge- The bottom right edge.
-
-
Method Detail
-
getBottomLeftEdge
public T getBottomLeftEdge()
Returns the table row's bottom right edge character, for example "╟" (head) or "╙" (tail).- Specified by:
getBottomLeftEdgein interfaceBottomLeftEdgeAccessor<T>- Specified by:
getBottomLeftEdgein interfaceTableTail<T>- Overrides:
getBottomLeftEdgein classTableBodyImpl<T>- Returns:
- The bottom right edge character.
-
getBottomDividerEdge
public T getBottomDividerEdge()
Returns the table row's bottom divider edge character, for example "╪" (head) or "╧" (tail).- Specified by:
getBottomDividerEdgein interfaceBottomDividerEdgeAccessor<T>- Overrides:
getBottomDividerEdgein classTableBodyImpl<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:
getBottomRightEdgein interfaceBottomRightEdgeAccessor<T>- Overrides:
getBottomRightEdgein classTableBodyImpl<T>- Returns:
- The bottom left edge character.
-
getBottomLine
public T getBottomLine()
Returns the table row's bottom line character, for example "═".- Specified by:
getBottomLinein interfaceTableTail<T>- Returns:
- The bottom line character.
-
-