chrriis.uihierarchy.layout
Class CardHLayout

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

public class CardHLayout
extends Object
implements HLayoutManager

A card 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
CardHLayout()
          Creates a new card layout with gaps of size zero.
CardHLayout(String hgap, String vgap)
          Creates a new card layout with the specified horizontal and vertical gaps.
 
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

CardHLayout

public CardHLayout()
Creates a new card layout with gaps of size zero.


CardHLayout

public CardHLayout(String hgap,
                   String vgap)
Creates a new card layout with the specified horizontal and vertical gaps.

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.