|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.graphic.composite.layout.IlvAttachmentLocation
public abstract class IlvAttachmentLocation
This class contains the code to manipulate the (x,y) value of a given
attachment point (for example, upper-right corner) of an IlvAttachable
IlvAttachable| Field Summary | |
|---|---|
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 Summary | |
|---|---|
IlvAttachmentLocation(String name)
Creates a new attachment location with the given name. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ilog.views.io.IlvPersistentObject |
|---|
write |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public IlvAttachmentLocation(String name)
| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||