com.extjs.gxt.ui.client.widget.layout
Class AbsoluteLayout

java.lang.Object
  extended by com.extjs.gxt.ui.client.event.BaseObservable
      extended by com.extjs.gxt.ui.client.widget.Layout
          extended by com.extjs.gxt.ui.client.widget.layout.AnchorLayout
              extended by com.extjs.gxt.ui.client.widget.layout.AbsoluteLayout
All Implemented Interfaces:
Observable
Direct Known Subclasses:
CenterLayout

public class AbsoluteLayout
extends AnchorLayout

Inherits the anchoring of AnchorLayout and adds the ability for left / top positioning using the AbsoluteData left and top properties.

Child Widgets are:

See Also:
AbsoluteData

Field Summary
 
Fields inherited from class com.extjs.gxt.ui.client.widget.Layout
activeItem, componentStyleName, container, monitorResize, renderHidden, target, targetStyleName
 
Constructor Summary
AbsoluteLayout()
           
 
Method Summary
protected  void onLayout(Container<?> container, El target)
           
 void setPosition(Component c, int left, int top)
          Sets the component's position.
 
Methods inherited from class com.extjs.gxt.ui.client.widget.layout.AnchorLayout
adjustHeightAnchor, adjustWidthAnchor, getAnchorSize, setAnchorSize
 
Methods inherited from class com.extjs.gxt.ui.client.widget.Layout
applyMargins, applyPadding, callLayout, fly, fly, getExtraStyle, getLayoutData, getResizeDelay, getSideMargins, initTarget, isLayoutExecuted, isLayoutNeeded, isRenderHidden, isRunning, isValidParent, layout, layoutContainer, onAdd, onComponentHide, onComponentShow, onRemove, onResize, renderAll, renderComponent, setBounds, setContainer, setExtraStyle, setLayoutData, setLayoutNeeded, setLayoutOnChange, setRenderHidden, setResizeDelay, setSize
 
Methods inherited from class com.extjs.gxt.ui.client.event.BaseObservable
addListener, callListener, fireEvent, fireEvent, getFiresEvents, getListeners, hasActiveEvent, hasListeners, hasListeners, removeAllListeners, removeListener, setFiresEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbsoluteLayout

public AbsoluteLayout()
Method Detail

setPosition

public void setPosition(Component c,
                        int left,
                        int top)
Sets the component's position.

Overrides:
setPosition in class Layout
Parameters:
c - the component
left - the left value
top - the top value

onLayout

protected void onLayout(Container<?> container,
                        El target)
Overrides:
onLayout in class AnchorLayout