org.xith3d.ui.hud.layout
Class FillLayout

java.lang.Object
  extended by org.xith3d.ui.hud.layout.LayoutManagerBase
      extended by org.xith3d.ui.hud.layout.BorderSettableLayoutManagerBase
          extended by org.xith3d.ui.hud.layout.FillLayout
All Implemented Interfaces:
BorderSettableLayoutManager, LayoutManager

public class FillLayout
extends BorderSettableLayoutManagerBase

The FillLayout simply streches the first Widget over the whole container and ignores the others.


Field Summary
 
Fields inherited from interface org.xith3d.ui.hud.layout.LayoutManager
IGNORED_BY_LAYOUT
 
Constructor Summary
FillLayout()
           
FillLayout(float border)
           
FillLayout(float borderBottom, float borderRight, float borderTop, float borderLeft)
           
 
Method Summary
protected  void doLayout(float left0, float top0, float containerResX, float containerResY)
          
 
Methods inherited from class org.xith3d.ui.hud.layout.BorderSettableLayoutManagerBase
getBorderBottom, getBorderLeft, getBorderRight, getBorderTop, setBorderBottom, setBorderLeft, setBorderRight, setBorderTop
 
Methods inherited from class org.xith3d.ui.hud.layout.LayoutManagerBase
addWidget, clear, doLayout, getInvisibleWidgetsHidden, getWidgets, removeWidget, setInvisibleWidgetsHidden
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FillLayout

public FillLayout(float borderBottom,
                  float borderRight,
                  float borderTop,
                  float borderLeft)

FillLayout

public FillLayout(float border)

FillLayout

public FillLayout()
Method Detail

doLayout

protected void doLayout(float left0,
                        float top0,
                        float containerResX,
                        float containerResY)

Specified by:
doLayout in class LayoutManagerBase