chrriis.uihierarchy
Class ParentLevelAccessor

java.lang.Object
  extended bychrriis.uihierarchy.Accessor
      extended bychrriis.uihierarchy.SingleLevelAccessor
          extended bychrriis.uihierarchy.ParentLevelAccessor

public class ParentLevelAccessor
extends SingleLevelAccessor

An accessor for a single level accessor that is manipulating a parent level.

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

Nested Class Summary
 
Nested classes inherited from class chrriis.uihierarchy.SingleLevelAccessor
SingleLevelAccessor.ConstraintsHandler
 
Method Summary
 void add(int index, UIH uih)
          Add a hierarchy as a child of the level contained in this accessor.
 void add(UIH uih)
          Add a hierarchy as a child of the level contained in this accessor.
 void removeAll()
          Remove all the children levels of the parent level that is manipulated.
 
Methods inherited from class chrriis.uihierarchy.SingleLevelAccessor
getComponent, getConfig, getConstraintsHandler, getDottedDecimalPath, next, parent, previous
 
Methods inherited from class chrriis.uihierarchy.Accessor
forceEnabled, forceHEnabled, getComponents, getEnabledState, isEnabled, isEnabled, isHEnabled, isVisible, remove, run, runTraversing, setEnabled, setEnabled, setHEnabled, setHEnabled, setVisible
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

add

public void add(UIH uih)
Add a hierarchy as a child of the level contained in this accessor. If the parent is realized and the child level is not, then it gets realized.

Parameters:
uih - The hierarchy to add.

add

public void add(int index,
                UIH uih)
Add a hierarchy as a child of the level contained in this accessor. If the parent is realized and the child level is not, then it gets realized.

Parameters:
index - The index at which to add the levels from the hierarchy.
uih - The hierarchy to add.

removeAll

public void removeAll()
Remove all the children levels of the parent level that is manipulated.