chrriis.uihierarchy
Class HLeaf

java.lang.Object
  extended bychrriis.uihierarchy.HLevel
      extended bychrriis.uihierarchy.HLeaf

public class HLeaf
extends HLevel

A leaf in the hierarchy.

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

Method Summary
 HLeaf constrain(Object constraints)
          Use the specified constraints.
 HLeaf debug()
          Add the level to the debugging process, using default parameters.
 HLeaf debug(Object parameters)
          Add the level to the debugging process.
 Component getComponent()
          Get the component at this hierarchy level.
 HLeaf map(String name)
          Map the given name to the current component.
 String toString()
          Get a String representation of the hierarchy level.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

constrain

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

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

getComponent

public Component getComponent()
Get the component at this hierarchy level.

Returns:
The component.

map

public HLeaf 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 leaf.
See Also:
UIHConfig

debug

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


debug

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