public interface TableCell<S extends Shape<S,P>,P extends TextParagraph<S,P,? extends TextRun>> extends TextShape<S,P>
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
TableCell.BorderEdge  | 
TextShape.TextAutofit, TextShape.TextDirection, TextShape.TextPlaceholder| Modifier and Type | Method and Description | 
|---|---|
StrokeStyle | 
getBorderStyle(TableCell.BorderEdge edge)
Return line style of given edge or  
null if border is not defined | 
int | 
getGridSpan()
Get the number of columns to be spanned/merged 
 | 
int | 
getRowSpan()
Get the number of rows to be spanned/merged 
 | 
boolean | 
isMerged()
Return if this cell is part of a merged cell. 
 | 
void | 
removeBorder(TableCell.BorderEdge edge)
Remove all line attributes of the given border edge 
 | 
void | 
setBorderColor(TableCell.BorderEdge edge,
              java.awt.Color color)
Convenience method for setting the border color. 
 | 
void | 
setBorderCompound(TableCell.BorderEdge edge,
                 StrokeStyle.LineCompound compound)
Convenience method for setting the border line compound. 
 | 
void | 
setBorderDash(TableCell.BorderEdge edge,
             StrokeStyle.LineDash dash)
Convenience method for setting the border line dash. 
 | 
void | 
setBorderStyle(TableCell.BorderEdge edge,
              StrokeStyle style)
Sets the  
StrokeStyle of the given border edge. | 
void | 
setBorderWidth(TableCell.BorderEdge edge,
              double width)
Convenience method for setting the border width. 
 | 
appendText, getInsets, getText, getTextDirection, getTextHeight, getTextHeight, getTextParagraphs, getTextPlaceholder, getTextRotation, getVerticalAlignment, getWordWrap, isHorizontalCentered, resizeToFitText, resizeToFitText, setHorizontalCentered, setInsets, setText, setTextDirection, setTextPlaceholder, setTextRotation, setVerticalAlignment, setWordWrapcreateHyperlink, getFillColor, getFillStyle, getGeometry, getHyperlink, getLineDecoration, getPlaceholder, getPlaceholderDetails, getShadow, getShapeType, getStrokeStyle, isPlaceholder, setFillColor, setPlaceholder, setShapeType, setStrokeStyledraw, getAnchor, getParent, getShapeId, getShapeName, getSheetgetAdjustValuegetAnchor, getFlipHorizontal, getFlipVertical, getParent, getRotation, getSheet, setAnchor, setFlipHorizontal, setFlipVertical, setRotationStrokeStyle getBorderStyle(TableCell.BorderEdge edge)
null if border is not definededge - the border edgenull if border is not definedvoid setBorderStyle(TableCell.BorderEdge edge, StrokeStyle style)
StrokeStyle of the given border edge.
 A null property of the style is ignored.edge - border edgestyle - the new stroke stylevoid setBorderWidth(TableCell.BorderEdge edge, double width)
edge - border edgewidth - the new border widthvoid setBorderColor(TableCell.BorderEdge edge, java.awt.Color color)
edge - border edgecolor - the new border colorvoid setBorderCompound(TableCell.BorderEdge edge, StrokeStyle.LineCompound compound)
edge - border edgecompound - the new border line compoundvoid setBorderDash(TableCell.BorderEdge edge, StrokeStyle.LineDash dash)
edge - border edgedash - the new border line dashvoid removeBorder(TableCell.BorderEdge edge)
edge - the border edge to be clearedint getGridSpan()
int getRowSpan()
boolean isMerged()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.