com.sibvisions.rad.ui.web.ext.gxt.layout
Class GVxBorderLayout

java.lang.Object
  extended by com.extjs.gxt.ui.client.event.BaseObservable
      extended by com.extjs.gxt.ui.client.widget.Layout
          extended by com.sibvisions.rad.ui.web.ext.gxt.layout.GVxLayout
              extended by com.sibvisions.rad.ui.web.ext.gxt.layout.GVxBorderLayout
All Implemented Interfaces:
Observable, IPreferredSizeLayout

public class GVxBorderLayout
extends GVxLayout

BorderLayout implementation as know in AWT.


Nested Class Summary
static class GVxBorderLayout.BorderLayoutData
          Contains the BorderLayoutInfo NORTH, CENTER, SOUTH, EAST and WEST.
 
Field Summary
static GVxBorderLayout.BorderLayoutData CENTER
          The Center Constraint.
static GVxBorderLayout.BorderLayoutData EAST
          The East Constraint.
static GVxBorderLayout.BorderLayoutData NORTH
          The North Constraint.
static GVxBorderLayout.BorderLayoutData SOUTH
          The South Constraint.
static GVxBorderLayout.BorderLayoutData WEST
          The West Constraint.
 
Fields inherited from class com.sibvisions.rad.ui.web.ext.gxt.layout.GVxLayout
BREAK_LAYOUTING, horizontalGap, margins, verticalGap
 
Fields inherited from class com.extjs.gxt.ui.client.widget.Layout
activeItem, componentStyleName, container, monitorResize, renderHidden, target, targetStyleName
 
Constructor Summary
GVxBorderLayout()
          Constructs a new GVxBorderLayout.
 
Method Summary
 Size getPreferredSize(Container<?> pContainer)
          Calculates the preferred size of the container.
protected  void onLayout(Container<?> pContainer, El pTarget)
          
 
Methods inherited from class com.sibvisions.rad.ui.web.ext.gxt.layout.GVxLayout
clearCache, configureTarget, getBorderMargins, getHorizontalGap, getMargins, getPreferredSize, getPreferredSizeIntern, getVerticalGap, setHorizontalGap, setMargins, setSize, setVerticalGap
 
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, setPosition, 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
 

Field Detail

NORTH

public static final GVxBorderLayout.BorderLayoutData NORTH
The North Constraint.


SOUTH

public static final GVxBorderLayout.BorderLayoutData SOUTH
The South Constraint.


EAST

public static final GVxBorderLayout.BorderLayoutData EAST
The East Constraint.


WEST

public static final GVxBorderLayout.BorderLayoutData WEST
The West Constraint.


CENTER

public static final GVxBorderLayout.BorderLayoutData CENTER
The Center Constraint.

Constructor Detail

GVxBorderLayout

public GVxBorderLayout()
Constructs a new GVxBorderLayout.

Method Detail

onLayout

protected void onLayout(Container<?> pContainer,
                        El pTarget)

Overrides:
onLayout in class Layout

getPreferredSize

public Size getPreferredSize(Container<?> pContainer)
Calculates the preferred size of the container.

Parameters:
pContainer - the container.
Returns:
the preferred size.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.