org.xith3d.ui.hud.layout
Class ListLayout
java.lang.Object
org.xith3d.ui.hud.layout.LayoutManagerBase
org.xith3d.ui.hud.layout.BorderSettableLayoutManagerBase
org.xith3d.ui.hud.layout.ListLayout
- All Implemented Interfaces:
- BorderSettableLayoutManager, LayoutManager
public class ListLayout
- extends BorderSettableLayoutManagerBase
The ListLayout arranges the Widgets in their order vertically
or horizontally.
You can set the other (perpendicular) span to be calculated or unmanipulated.
|
Constructor Summary |
ListLayout(ListLayout.Orientation orientation)
|
ListLayout(ListLayout.Orientation orientation,
float gap)
|
ListLayout(ListLayout.Orientation orientation,
float borderBottom,
float borderRight,
float borderTop,
float borderLeft)
|
ListLayout(ListLayout.Orientation orientation,
float gap,
float borderBottom,
float borderRight,
float borderTop,
float borderLeft)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListLayout
public ListLayout(ListLayout.Orientation orientation,
float gap,
float borderBottom,
float borderRight,
float borderTop,
float borderLeft)
ListLayout
public ListLayout(ListLayout.Orientation orientation,
float gap)
ListLayout
public ListLayout(ListLayout.Orientation orientation,
float borderBottom,
float borderRight,
float borderTop,
float borderLeft)
ListLayout
public ListLayout(ListLayout.Orientation orientation)
setOrientation
public void setOrientation(ListLayout.Orientation orientation)
getOrientation
public final ListLayout.Orientation getOrientation()
setAlignment
public void setAlignment(ListLayout.Alignment alignment)
getAlignment
public final ListLayout.Alignment getAlignment()
setOtherSpanCalculated
public void setOtherSpanCalculated(boolean b)
isOtherSpanCalculated
public final boolean isOtherSpanCalculated()
setGap
public void setGap(float gap)
getGap
public final float getGap()
doLayout
protected void doLayout(float left0,
float top0,
float containerResX,
float containerResY)
-
- Specified by:
doLayout in class LayoutManagerBase