org.omegahat.Graphics.Primitives
Interface NodeMap


public interface NodeMap

Interface defining methods used when recursively operating on the elements in a graphical hierarchy. This is used to create new trees, etc.

Rather than creating a GraphicalContainerInt, we should really create an arbitrary tree.


Method Summary
 java.lang.Object mapChild(GraphicalComponentInt child)
          Map
 Tree mapContainer(GraphicalContainerInt child, NodeMap map, boolean recursive)
           
 

Method Detail

mapChild

public java.lang.Object mapChild(GraphicalComponentInt child)
Map

mapContainer

public Tree mapContainer(GraphicalContainerInt child,
                         NodeMap map,
                         boolean recursive)