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

All Superinterfaces:
com.google.gwt.event.shared.HasHandlers, IGraphicElement, IPositionable
All Known Subinterfaces:
IConnectable, IConnector, IDraggable, IDroppable, IHasBoundsUpdateHandler, IResizable, ISelectable, ISortable
All Known Implementing Classes:
Connector, Draggable, Droppable, DroppableDraggable, Selectable, UIElement

public interface IUIElement
extends IPositionable, IGraphicElement, com.google.gwt.event.shared.HasHandlers


Method Summary
 IContainer getContainer()
           
 float getHeight()
           
 java.lang.String getId()
           
 IMouseState getMouseState()
           
 java.lang.String getName()
           
 float getRelativeX()
          X position relatively to current container
 float getRelativeY()
          Y position relatively to current container
 IUIPanel getUIPanel()
           
 float getWidth()
           
 void setContainer(IContainer container)
          The container is the element from with current element cannot be taken off.
 void setHeight(float width)
           
 void setRelativeX(float x)
           
 void setRelativeY(float y)
           
 void setUIPanel(IUIPanel uiPanel)
           
 void setWidth(float width)
           
 
Methods inherited from interface com.ebmwebsourcing.geasytools.geasyui.api.core.IPositionable
getAbsoluteLeft, getAbsoluteTop
 
Methods inherited from interface com.ebmwebsourcing.geasytools.geasyui.api.core.IGraphicElement
hide, refresh, show, toBack, toFront
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Method Detail

getId

java.lang.String getId()

getName

java.lang.String getName()

getUIPanel

IUIPanel getUIPanel()

setUIPanel

void setUIPanel(IUIPanel uiPanel)

getRelativeX

float getRelativeX()
Description copied from interface: IPositionable
X position relatively to current container

Specified by:
getRelativeX in interface IPositionable
Returns:

getRelativeY

float getRelativeY()
Description copied from interface: IPositionable
Y position relatively to current container

Specified by:
getRelativeY in interface IPositionable
Returns:

setRelativeX

void setRelativeX(float x)
Specified by:
setRelativeX in interface IPositionable

setRelativeY

void setRelativeY(float y)
Specified by:
setRelativeY in interface IPositionable

getWidth

float getWidth()

getHeight

float getHeight()

setWidth

void setWidth(float width)

setHeight

void setHeight(float width)

getMouseState

IMouseState getMouseState()

setContainer

void setContainer(IContainer container)
The container is the element from with current element cannot be taken off. This value can never be null. Default value is always IUIPanel

Specified by:
setContainer in interface IPositionable
Parameters:
container -

getContainer

IContainer getContainer()
Specified by:
getContainer in interface IPositionable


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