chrriis.uihierarchy.layout
Class BorderHLayout

java.lang.Object
  extended bychrriis.uihierarchy.layout.BorderHLayout
All Implemented Interfaces:
HLayoutManager

public class BorderHLayout
extends Object
implements HLayoutManager

A border layout that is lazily created, using the UIH configuration. This allows the use of units to determine the gaps, which are defined as Strings.

Version:
1.0 2005.02.06
Author:
Christopher Deckers (chrriis@brainlex.com)

Constructor Summary
BorderHLayout()
          Constructs a new border layout with no gaps between components.
BorderHLayout(String hgap, String vgap)
          Constructs a border layout with the specified gaps between components.
 
Method Summary
 LayoutManager createLayout(UIHConfig uihConfig)
          Create the desired layout manager, using the UIH configuration.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BorderHLayout

public BorderHLayout()
Constructs a new border layout with no gaps between components.


BorderHLayout

public BorderHLayout(String hgap,
                     String vgap)
Constructs a border layout with the specified gaps between components.

Parameters:
hgap -
vgap -
Method Detail

createLayout

public LayoutManager createLayout(UIHConfig uihConfig)
Description copied from interface: HLayoutManager
Create the desired layout manager, using the UIH configuration.

Specified by:
createLayout in interface HLayoutManager
Parameters:
uihConfig - The configuration that may be used.
Returns:
The layout manager.