| Constructor and Description |
|---|
GridCellImpl(int hAlignment,
int vAlignment,
Print target,
int colspan)
This constructor is only here for compatibility reasons and is not
intented to be used by clients.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
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.
|
int |
hashCode() |
GridCellIterator |
iterator(org.eclipse.swt.graphics.Device device,
org.eclipse.swt.graphics.GC gc) |
public GridCellImpl(int hAlignment,
int vAlignment,
Print target,
int colspan)
hAlignment - the horizontal alignment.vAlignment - the vertical alignment.target - the target of the cell.colspan - the number of columns this cell spans across.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic org.eclipse.swt.graphics.Point getAlignment()
GridCellgetAlignment in interface GridCellpublic int getHorizontalAlignment()
GridCellgetHorizontalAlignment in interface GridCellpublic int getVerticalAlignment()
GridCellgetVerticalAlignment in interface GridCellpublic Print getContent()
GridCellgetContent in interface GridCellpublic int getColSpan()
GridCellgetColSpan in interface GridCellpublic GridCellIterator iterator(org.eclipse.swt.graphics.Device device, org.eclipse.swt.graphics.GC gc)