org.xith3d.ui.hud.layout
Class BorderSettableLayoutManagerBase

java.lang.Object
  extended by org.xith3d.ui.hud.layout.LayoutManagerBase
      extended by org.xith3d.ui.hud.layout.BorderSettableLayoutManagerBase
All Implemented Interfaces:
BorderSettableLayoutManager, LayoutManager
Direct Known Subclasses:
BorderLayout, FillLayout, GridLayout, HullLayout, ListLayout

public abstract class BorderSettableLayoutManagerBase
extends LayoutManagerBase
implements BorderSettableLayoutManager

An abstract base class for all BorderSettableLayoutManager LayoutManagers.


Field Summary
 
Fields inherited from interface org.xith3d.ui.hud.layout.LayoutManager
IGNORED_BY_LAYOUT
 
Constructor Summary
BorderSettableLayoutManagerBase()
           
BorderSettableLayoutManagerBase(float borderBottom, float borderRight, float borderTop, float borderLeft)
           
 
Method Summary
 float getBorderBottom()
          
 float getBorderLeft()
          
 float getBorderRight()
          
 float getBorderTop()
          
 void setBorderBottom(float border)
          Sets the border (padding) width at the container's bottom edge.
 void setBorderLeft(float border)
          Sets the border (padding) width at the container's left edge.
 void setBorderRight(float border)
          Sets the border (padding) width at the container's right edge.
 void setBorderTop(float border)
          Sets the border (padding) width at the container's top edge.
 
Methods inherited from class org.xith3d.ui.hud.layout.LayoutManagerBase
addWidget, clear, doLayout, 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

BorderSettableLayoutManagerBase

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

BorderSettableLayoutManagerBase

public BorderSettableLayoutManagerBase()
Method Detail

setBorderBottom

public void setBorderBottom(float border)
Sets the border (padding) width at the container's bottom edge.

Specified by:
setBorderBottom in interface BorderSettableLayoutManager

getBorderBottom

public final float getBorderBottom()

Specified by:
getBorderBottom in interface BorderSettableLayoutManager
Returns:
the border (padding) width at the container's bottom edge.

setBorderRight

public void setBorderRight(float border)
Sets the border (padding) width at the container's right edge.

Specified by:
setBorderRight in interface BorderSettableLayoutManager

getBorderRight

public final float getBorderRight()

Specified by:
getBorderRight in interface BorderSettableLayoutManager
Returns:
the border (padding) width at the container's right edge.

setBorderTop

public void setBorderTop(float border)
Sets the border (padding) width at the container's top edge.

Specified by:
setBorderTop in interface BorderSettableLayoutManager

getBorderTop

public final float getBorderTop()

Specified by:
getBorderTop in interface BorderSettableLayoutManager
Returns:
the border (padding) width at the container's top edge.

setBorderLeft

public void setBorderLeft(float border)
Sets the border (padding) width at the container's left edge.

Specified by:
setBorderLeft in interface BorderSettableLayoutManager

getBorderLeft

public final float getBorderLeft()

Specified by:
getBorderLeft in interface BorderSettableLayoutManager
Returns:
the border (padding) width at the container's left edge.