Class BorderPrint
- java.lang.Object
-
- org.eclipse.nebula.paperclips.core.border.BorderPrint
-
-
Constructor Summary
Constructors Constructor Description BorderPrint(Print target, Border border)Constructs a BorderPrint with the given target and border.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)BordergetBorder()Returns the border being applied to the target.PrintgetTarget()Returns the wrapped print to which the border is being applied.inthashCode()PrintIteratoriterator(org.eclipse.swt.graphics.Device device, org.eclipse.swt.graphics.GC gc)Returns a PrintIterator for laying out the contents of this Print.
-
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
getTarget
public Print getTarget()
Returns the wrapped print to which the border is being applied.- Returns:
- the wrapped print to which the border is being applied.
-
getBorder
public Border getBorder()
Returns the border being applied to the target.- Returns:
- the border being applied to the target.
-
iterator
public PrintIterator iterator(org.eclipse.swt.graphics.Device device, org.eclipse.swt.graphics.GC gc)
Description copied from interface:PrintReturns a PrintIterator for laying out the contents of this Print. The iterator uses a snapshot of the print at the time this method is invoked, so subsequent changes to the Print will not affect the output of the iterator.
-
-