Class TableCell
- java.lang.Object
-
- org.verapdf.wcag.algorithms.entities.content.InfoChunk
-
- org.verapdf.wcag.algorithms.entities.content.TextInfoChunk
-
- org.verapdf.wcag.algorithms.entities.tables.TableCell
-
- All Implemented Interfaces:
IChunk
public class TableCell extends TextInfoChunk
-
-
Field Summary
-
Fields inherited from class org.verapdf.wcag.algorithms.entities.content.TextInfoChunk
baseLine, fontSize
-
-
Constructor Summary
Constructors Constructor Description TableCell()TableCell(SemanticType semanticType)TableCell(TableTokenRow row, SemanticType semanticType)TableCell(TableCluster cluster, SemanticType semanticType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(TableTokenRow row)List<TableTokenRow>getContent()TableTokenRowgetFirstTokenRow()TableTokenRowgetLastTokenRow()SemanticTypegetSemanticType()StringgetString()booleanisEmpty()booleanisTextCell()voidmerge(TableCell other)voidsetSemanticType(SemanticType semanticType)-
Methods inherited from class org.verapdf.wcag.algorithms.entities.content.TextInfoChunk
add, equals, getBaseLine, getFontSize, hashCode, setBaseLine, setFontSize
-
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
-
TableCell
public TableCell()
-
TableCell
public TableCell(SemanticType semanticType)
-
TableCell
public TableCell(TableTokenRow row, SemanticType semanticType)
-
TableCell
public TableCell(TableCluster cluster, SemanticType semanticType)
-
-
Method Detail
-
setSemanticType
public void setSemanticType(SemanticType semanticType)
-
getSemanticType
public SemanticType getSemanticType()
-
add
public void add(TableTokenRow row)
-
getContent
public List<TableTokenRow> getContent()
-
getFirstTokenRow
public TableTokenRow getFirstTokenRow()
-
getLastTokenRow
public TableTokenRow getLastTokenRow()
-
isEmpty
public boolean isEmpty()
-
merge
public void merge(TableCell other)
-
isTextCell
public boolean isTextCell()
-
getString
public String getString()
-
-