Interface GridCell
- All Known Implementing Classes:
GridCellImpl
public interface GridCell
Instances of this interface represent a single cell in a GridPrint.
-
Method Summary
Modifier and Type Method Description org.eclipse.swt.graphics.Point
getAlignment()
Returns a Point representing the horizontal and vertical alignment applied to the cell's content.int
getColSpan()
Returns the number of columns this cell spans across.Print
getContent()
Returns the content print of the cell.int
getHorizontalAlignment()
Returns the horizontal alignment applied to the cell content.int
getVerticalAlignment()
Returns the vertical alignment applied to the cell content.
-
Method Details
-
getAlignment
org.eclipse.swt.graphics.Point getAlignment()Returns a Point representing the horizontal and vertical alignment applied to the cell's content.- Returns:
- a Point representing the horizontal and vertical alignment applied to the cell's content.
-
getHorizontalAlignment
int getHorizontalAlignment()Returns the horizontal alignment applied to the cell content.- Returns:
- the horizontal alignment applied to the cell content.
-
getVerticalAlignment
int getVerticalAlignment()Returns the vertical alignment applied to the cell content.- Returns:
- the vertical alignment applied to the cell content.
-
getContent
Print getContent()Returns the content print of the cell.- Returns:
- the content print of the cell.
-
getColSpan
int getColSpan()Returns the number of columns this cell spans across.- Returns:
- the number of columns this cell spans across.
-