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.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public Print getTarget()
LayerEntry
getTarget
in interface LayerEntry
public int getHorizontalAlignment()
LayerEntry
getHorizontalAlignment
in interface LayerEntry
public LayerEntryIterator iterator(org.eclipse.swt.graphics.Device device, org.eclipse.swt.graphics.GC gc)
iterator
in interface LayerEntry
device
- gc
-