public abstract class IlvAttachmentLocation extends Object implements IlvPersistentObject
IlvAttachable
IlvAttachable
,
Serialized FormModifier and Type | Field and Description |
---|---|
static IlvAttachmentLocation |
BottomCenter
Attachment to the bottom center point of the graphic instance.
|
static IlvAttachmentLocation |
BottomLeft
Attachment to the bottom left corner of the graphic instance.
|
static IlvAttachmentLocation |
BottomRight
Attachment to the bottom right corner of the graphic instance.
|
static IlvAttachmentLocation |
Center
Attachment to the center of the graphic instance.
|
static IlvAttachmentLocation |
CenterPostOrderFirst
Attachment to the center of the graphic instance according to the postorder traversal scheme.
|
static IlvAttachmentLocation |
HotSpot
Attachment to the hotspot point of the graphic instance.
|
static IlvAttachmentLocation |
LeftCenter
Attachment to the left center point of the graphic instance.
|
static IlvAttachmentLocation |
LeftHotSpot
Attachment to the left hotspot point of the graphic instance.
|
static IlvAttachmentLocation |
RightCenter
Attachment to the right center point of the graphic instance.
|
static IlvAttachmentLocation |
TopCenter
Attachment to the top center point of the graphic instance.
|
static IlvAttachmentLocation |
TopLeft
Attachment to the top left corner of the graphic instance.
|
static IlvAttachmentLocation |
TopRight
Attachment to the top right corner of the graphic instance.
|
Constructor and Description |
---|
IlvAttachmentLocation(String name)
Creates a new attachment location with the given name.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of the attachment location.
|
abstract IlvPoint |
getValue(IlvAttachable graphic)
Gets the value of the location.
|
void |
setName(String name)
Sets the name of the attachment location.
|
abstract boolean |
setValue(IlvAttachable graphic,
IlvPoint value)
Sets the value of the location, by moving the element.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
write
public static final IlvAttachmentLocation TopLeft
public static final IlvAttachmentLocation TopCenter
public static final IlvAttachmentLocation TopRight
public static final IlvAttachmentLocation LeftCenter
public static final IlvAttachmentLocation Center
public static final IlvAttachmentLocation CenterPostOrderFirst
public static final IlvAttachmentLocation RightCenter
public static final IlvAttachmentLocation BottomLeft
public static final IlvAttachmentLocation BottomCenter
public static final IlvAttachmentLocation BottomRight
public static final IlvAttachmentLocation HotSpot
public static final IlvAttachmentLocation LeftHotSpot
public IlvAttachmentLocation(String name)
public abstract IlvPoint getValue(IlvAttachable graphic)
public abstract boolean setValue(IlvAttachable graphic, IlvPoint value)
true
if the element's position has changed.public void setName(String name)
public String getName()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.