public class BorderPrint extends java.lang.Object implements Print
BorderDecorator
Constructor and Description |
---|
BorderPrint(Print target,
Border border)
Constructs a BorderPrint with the given target and border.
|
Modifier and Type | Method and 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(Device device,
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(Device device, GC gc)
Print