|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.problets.domain.viz.data.BaseViz
org.problets.domain.viz.data.AggregateBaseViz
org.problets.domain.viz.data.implement.DataSpaceViz
public class DataSpaceViz
Visualizes the data space of a program
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 | |
---|---|
DataSpaceViz(CodeModel inCode)
|
Method Summary | |
---|---|
void |
deregisterChannel(Channel inChannel)
Hands off request to deregister a channel to the channel manager |
AbstractVarViz |
findInAncestors(AbstractVarModel inModel)
Recursively look for the variable in the ancestors of this block - Not to be used by anyone |
AbstractVarViz |
findInDescendants(AbstractVarModel inModel)
Recursively look for the variable in the descendants of this block - Not to be used by anyone |
AbstractVarViz |
findInGlobal(AbstractVarModel inModel)
|
AbstractVarViz |
findInHeap(AbstractVarModel inModel)
|
AbstractVarViz |
findInStack(AbstractVarModel inModel)
|
void |
initVisualizers()
Resets all the visualizers to null |
static void |
main(java.lang.String[] args)
|
int |
paint(java.awt.Graphics g,
java.awt.Font regFont,
java.awt.FontMetrics regFontMetric,
int topLeftX,
int topLeftY,
int width)
Method provides a public interface to all the draw methods of visualizers |
void |
registerChannel(Channel inChannel)
Hands off request to register a channel to the channel manager |
void |
respond(int xMouse,
int yMouse)
Ask all the segments of visualization to respond to a mouse event |
void |
setup()
Sets up the visualizers of the global, stack and heap for the program |
void |
update()
Ask all the segments of visualization to update themselves to reflect any change in the values in the model |
Methods inherited from class org.problets.domain.viz.data.AggregateBaseViz |
---|
getParentViz, setParentViz |
Methods inherited from class org.problets.domain.viz.data.BaseViz |
---|
getLeftX, getWidth |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataSpaceViz(CodeModel inCode)
Method Detail |
---|
public int paint(java.awt.Graphics g, java.awt.Font regFont, java.awt.FontMetrics regFontMetric, int topLeftX, int topLeftY, int width)
public void respond(int xMouse, int yMouse)
public AbstractVarViz findInHeap(AbstractVarModel inModel)
public AbstractVarViz findInGlobal(AbstractVarModel inModel)
public AbstractVarViz findInStack(AbstractVarModel inModel)
public AbstractVarViz findInAncestors(AbstractVarModel inModel)
findInAncestors
in class AggregateBaseViz
public AbstractVarViz findInDescendants(AbstractVarModel inModel)
findInDescendants
in class AggregateBaseViz
public void registerChannel(Channel inChannel)
registerChannel
in class AggregateBaseViz
public void deregisterChannel(Channel inChannel)
deregisterChannel
in class AggregateBaseViz
public void update()
update
in class BaseViz
public void initVisualizers()
public void setup()
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |