chrriis.uihierarchy
Class HNode

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

public class HNode
extends HParentLevel

A sub node in the hierarchy.

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

Method Summary
 HNode constrain(Object constraints)
          Use the specified constraints.
 HNode debug()
          Add the level to the debugging process, using default parameters.
 HNode debug(Object parameters)
          Add the level to the debugging process.
 HNode layout(HLayoutManager hLayoutManager)
          Use the specified layout manager.
 HNode layout(LayoutManager layoutManager)
          Use the specified layout manager.
 HNode map(String name)
          Map the given name to the current component.
 HNode 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 HNode layout(HLayoutManager hLayoutManager)
Use the specified layout manager.

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

layout

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

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

constrain

public HNode constrain(Object constraints)
Use the specified constraints.

Parameters:
constraints - The constraints to use.
Returns:
The hierarchy node.

subConstrain

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

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

map

public HNode 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 node.
See Also:
UIHConfig

debug

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


debug

public HNode 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()