chrriis.uihierarchy.accessor
Interface AccessorRunnable


public interface AccessorRunnable

An action to be run by an accessor on the components held by its levels.

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

Method Summary
 Object run(Component component, Accessor childrenAccessor)
          Run the action.
 

Method Detail

run

public Object run(Component component,
                  Accessor childrenAccessor)
Run the action. This method will get called as many times as the accessor contains levels, and sub levels if traversing.

Parameters:
component - The component of the level for which the action is being executed.
childrenAccessor - An accessor created to access the children levels of the level currently processed by the action.
Returns:
The result of the operation, which can be null. The results of the multiple calls to the action will be aggregated to an array by the accessor itself.