com.ebmwebsourcing.geasytools.geasyui.api.core
Interface IPositionable

All Known Subinterfaces:
IConnectable, IConnectableElement, IConnector, IConnectorEnd, IConnectorPoint, IConnectorStart, IDraggable, IDraggableElement, IDragProxy, IDroppable, IDroppableElement, IHasBoundsUpdateHandler, IMagnet, IResizable, IResizeUIHandler, ISelectable, ISelectionMarker, ISortable, IUIElement, IUIPanel
All Known Implementing Classes:
Connector, ConnectorPoint, Draggable, DraggableProxy, Droppable, DroppableDraggable, Magnet, ResizeUIHandler, Selectable, SelectionMarker, UIElement, UIPanel

public interface IPositionable


Method Summary
 int getAbsoluteLeft()
           
 int getAbsoluteTop()
           
 IContainer getContainer()
           
 float getRelativeX()
          X position relatively to current container
 float getRelativeY()
          Y position relatively to current container
 void setContainer(IContainer container)
           
 void setRelativeX(float x)
           
 void setRelativeY(float y)
           
 

Method Detail

getRelativeX

float getRelativeX()
X position relatively to current container

Returns:

getRelativeY

float getRelativeY()
Y position relatively to current container

Returns:

getAbsoluteTop

int getAbsoluteTop()

getAbsoluteLeft

int getAbsoluteLeft()

setRelativeX

void setRelativeX(float x)

setRelativeY

void setRelativeY(float y)

setContainer

void setContainer(IContainer container)

getContainer

IContainer getContainer()


Copyright © 2010-2011 Petals Link. All Rights Reserved.