chrriis.uihierarchy
Class HRootNode

java.lang.Object
  extended bychrriis.uihierarchy.HLevel
      extended bychrriis.uihierarchy.HParentLevel
          extended bychrriis.uihierarchy.HRootNode

public class HRootNode
extends HParentLevel

A node that is the root of a containment hierarchy.

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

Method Summary
 HRootNode debug()
          Add the level to the debugging process, using default parameters.
 HRootNode debug(Object parameters)
          Add the level to the debugging process.
 HRootNode layout(HLayoutManager hLayoutManager)
          Use the specified layout manager.
 HRootNode layout(LayoutManager layoutManager)
          Use the specified layout manager.
 HRootNode map(String name)
          Map the given name to the current component.
 HRootNode subConstrain(Object subConstraints)
          Set the sub constraints.
 String toString()
          Get a String representation of the hierarchy level.
 
Methods inherited from class chrriis.uihierarchy.HParentLevel
getContainer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

layout

public HRootNode layout(HLayoutManager hLayoutManager)
Use the specified layout manager.

Parameters:
hLayoutManager - The layout manager to use.
Returns:
The hierarchy root node.

layout

public HRootNode layout(LayoutManager layoutManager)
Use the specified layout manager.

Parameters:
layoutManager - The layout manager to use.
Returns:
The hierarchy root node.

subConstrain

public HRootNode subConstrain(Object subConstraints)
Set the sub constraints.

Parameters:
subConstraints - The sub constraints.
Returns:
The hierarchy root node.

map

public HRootNode map(String name)
Map the given name to the current component. The mapping definitions are kept in the UIHConfig configuration.

Parameters:
name - The name of the component.
Returns:
The hierarchy root node.
See Also:
UIHConfig

debug

public HRootNode debug()
Add the level to the debugging process, using default parameters.


debug

public HRootNode debug(Object parameters)
Add the level to the debugging process.

Parameters:
parameters - The parameters to use to debug, which can actually be a debugger to use.

toString

public String toString()
Get a String representation of the hierarchy level.

See Also:
Object.toString()