Print
public class BorderPrint extends java.lang.Object implements Print
BorderDecorator
Constructor | Description |
---|---|
BorderPrint(Print target,
Border border) |
Constructs a BorderPrint with the given target and border.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object obj) |
|
Border |
getBorder() |
Returns the border being applied to the target.
|
Print |
getTarget() |
Returns the wrapped print to which the border is being applied.
|
int |
hashCode() |
|
PrintIterator |
iterator(org.eclipse.swt.graphics.Device device,
org.eclipse.swt.graphics.GC gc) |
Returns a PrintIterator for laying out the contents of this Print.
|
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public Print getTarget()
public Border getBorder()
public PrintIterator iterator(org.eclipse.swt.graphics.Device device, org.eclipse.swt.graphics.GC gc)
Print