public class LayerEntryImpl extends java.lang.Object implements LayerEntry
| Constructor and Description |
|---|
LayerEntryImpl(Print target,
int align)
Create a new layer entry.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
getHorizontalAlignment()
Returns the horizontal alignment applied to the target.
|
Print |
getTarget()
Returns the target print of this entry.
|
int |
hashCode() |
LayerEntryIterator |
iterator(org.eclipse.swt.graphics.Device device,
org.eclipse.swt.graphics.GC gc) |
public LayerEntryImpl(Print target, int align)
target - the target print of this entry.align - the horizontal alignment applied to the target.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic Print getTarget()
LayerEntrygetTarget in interface LayerEntrypublic int getHorizontalAlignment()
LayerEntrygetHorizontalAlignment in interface LayerEntrypublic LayerEntryIterator iterator(org.eclipse.swt.graphics.Device device, org.eclipse.swt.graphics.GC gc)
iterator in interface LayerEntrydevice - gc -