Package net.sf.paperclips
Class GridCell
java.lang.Object
net.sf.paperclips.GridCell
Instances of this class represent a single cell in a GridPrint.
- Author:
- Matthew Hall
-
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.eclipse.swt.graphics.PointReturns a Point representing the horizontal and vertical alignment applied to the cell's content.intReturns the number of columns this cell spans across.Returns the content print of the cell.intReturns the horizontal alignment applied to the cell content.intReturns the vertical alignment applied to the cell content.inthashCode()
-
Method Details
-
hashCode
public int hashCode() -
equals
-
getAlignment
public 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
public int getHorizontalAlignment()Returns the horizontal alignment applied to the cell content.- Returns:
- the horizontal alignment applied to the cell content.
-
getVerticalAlignment
public int getVerticalAlignment()Returns the vertical alignment applied to the cell content.- Returns:
- the vertical alignment applied to the cell content.
-
getContent
Returns the content print of the cell.- Returns:
- the content print of the cell.
-
getColSpan
public int getColSpan()Returns the number of columns this cell spans across.- Returns:
- the number of columns this cell spans across.
-