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.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public org.eclipse.swt.graphics.Point getAlignment()
GridCell
getAlignment
in interface GridCell
public int getHorizontalAlignment()
GridCell
getHorizontalAlignment
in interface GridCell
public int getVerticalAlignment()
GridCell
getVerticalAlignment
in interface GridCell
public Print getContent()
GridCell
getContent
in interface GridCell
public int getColSpan()
GridCell
getColSpan
in interface GridCell
public GridCellIterator iterator(org.eclipse.swt.graphics.Device device, org.eclipse.swt.graphics.GC gc)