org.problets.domain.viz.data
Class AggregateBaseViz

java.lang.Object
  extended by org.problets.domain.viz.data.BaseViz
      extended by org.problets.domain.viz.data.AggregateBaseViz
All Implemented Interfaces:
VizConstants
Direct Known Subclasses:
BlockViz, DataSpaceViz, HeapViz, StackViz

public abstract class AggregateBaseViz
extends BaseViz

Serves as the base class of top level viz classes

Author:
Stefan Kasabov

Field Summary
 
Fields inherited from class org.problets.domain.viz.data.BaseViz
NOT_FOUND
 
Fields inherited from interface org.problets.domain.viz.data.VizConstants
ACTIVE_COLOR, COLOR_SCHEME, HIGHLIGHT_COLOR, INACTIVE_COLOR, STRIKEOUT_COLOR
 
Constructor Summary
AggregateBaseViz(AggregateBaseViz inParentViz)
           
 
Method Summary
 void deregisterChannel(Channel inChannel)
          Pass-up mechanism for deregistering a channel that connects a pointer to its value
abstract  AbstractVarViz findInAncestors(AbstractVarModel inModel)
          Recursively look for the variable in the ancestors of this block
abstract  AbstractVarViz findInDescendants(AbstractVarModel inModel)
          Recursively look for the variable in the descendants of this block
 AggregateBaseViz getParentViz()
          Returns a reference to the parent's visualization
static void main(java.lang.String[] args)
           
 void registerChannel(Channel inChannel)
          Pass-up mechanism for registering a channel that connects a pointer to its value
 void setParentViz(AggregateBaseViz inParentViz)
          Sets the parentViz to the parameter passed - used when adding children, i.e., BlockViz objects whose parent is not know at the time of creation
 
Methods inherited from class org.problets.domain.viz.data.BaseViz
getLeftX, getWidth, update
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregateBaseViz

public AggregateBaseViz(AggregateBaseViz inParentViz)
Method Detail

getParentViz

public AggregateBaseViz getParentViz()
Returns a reference to the parent's visualization


findInAncestors

public abstract AbstractVarViz findInAncestors(AbstractVarModel inModel)
Recursively look for the variable in the ancestors of this block


findInDescendants

public abstract AbstractVarViz findInDescendants(AbstractVarModel inModel)
Recursively look for the variable in the descendants of this block


setParentViz

public void setParentViz(AggregateBaseViz inParentViz)
Sets the parentViz to the parameter passed - used when adding children, i.e., BlockViz objects whose parent is not know at the time of creation


registerChannel

public void registerChannel(Channel inChannel)
Pass-up mechanism for registering a channel that connects a pointer to its value


deregisterChannel

public void deregisterChannel(Channel inChannel)
Pass-up mechanism for deregistering a channel that connects a pointer to its value


main

public static void main(java.lang.String[] args)