Class TextColumn
- java.lang.Object
-
- org.verapdf.wcag.algorithms.entities.content.InfoChunk
-
- org.verapdf.wcag.algorithms.entities.content.TextInfoChunk
-
- org.verapdf.wcag.algorithms.entities.content.TextColumn
-
- All Implemented Interfaces:
IChunk
public class TextColumn extends TextInfoChunk
-
-
Field Summary
-
Fields inherited from class org.verapdf.wcag.algorithms.entities.content.TextInfoChunk
baseLine, fontSize, slantDegree
-
-
Constructor Summary
Constructors Constructor Description TextColumn()TextColumn(TextColumn column)TextColumn(TextLine line)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(TextColumn column)voidadd(TextLine line)booleanequals(Object o)List<TextBlock>getBlocks()intgetBlocksNumber()TextLinegetFirstLine()TextBlockgetFirstTextBlock()TextLinegetLastLine()TextBlockgetLastTextBlock()List<TextLine>getLines()intgetLinesNumber()TextLinegetPenultLine()TextBlockgetPenultTextBlock()TextLinegetSecondLine()TextBlockgetSecondTextBlock()inthashCode()booleanhasOnlyOneBlock()booleanisEmpty()voidsetFirstLine(TextLine firstLine)voidsetLastLine(TextLine lastLine)voidsetLastTextBlock(TextBlock block)StringtoString()-
Methods inherited from class org.verapdf.wcag.algorithms.entities.content.TextInfoChunk
add, getBaseLine, getFirstBaseLine, getFontSize, getSlantDegree, getTextCenter, getTextEnd, getTextStart, getValue, isBottomUpVerticalText, isHorizontalText, isLeftRightHorizontalText, isRightLeftHorizontalText, isUpBottomVerticalText, isVerticalText, setBaseLine, setFontSize, setSlantDegree
-
Methods inherited from class org.verapdf.wcag.algorithms.entities.content.InfoChunk
getBottomY, getBoundingBox, getCenterX, getCenterY, getLastPageNumber, getLeftX, getPageNumber, getRightX, getTopY, setBoundingBox, setLastPageNumber, setPageNumber, unionBoundingBox
-
-
-
-
Constructor Detail
-
TextColumn
public TextColumn()
-
TextColumn
public TextColumn(TextLine line)
-
TextColumn
public TextColumn(TextColumn column)
-
-
Method Detail
-
getBlocksNumber
public int getBlocksNumber()
-
getFirstTextBlock
public TextBlock getFirstTextBlock()
-
getLastTextBlock
public TextBlock getLastTextBlock()
-
setLastTextBlock
public void setLastTextBlock(TextBlock block)
-
getSecondTextBlock
public TextBlock getSecondTextBlock()
-
getPenultTextBlock
public TextBlock getPenultTextBlock()
-
getFirstLine
public TextLine getFirstLine()
-
getLastLine
public TextLine getLastLine()
-
setLastLine
public void setLastLine(TextLine lastLine)
-
setFirstLine
public void setFirstLine(TextLine firstLine)
-
getSecondLine
public TextLine getSecondLine()
-
getPenultLine
public TextLine getPenultLine()
-
add
public void add(TextLine line)
-
getLinesNumber
public int getLinesNumber()
-
add
public void add(TextColumn column)
-
isEmpty
public boolean isEmpty()
-
hasOnlyOneBlock
public boolean hasOnlyOneBlock()
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classTextInfoChunk
-
hashCode
public int hashCode()
- Overrides:
hashCodein classTextInfoChunk
-
-