|
||||||||||
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.implement.ActivationRecordViz
public class ActivationRecordViz
Displays the variables in an activation record
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 | |
---|---|
ActivationRecordViz(ActivationRecord inModel,
BlockViz inBlockViz)
|
Method Summary | |
---|---|
void |
deregisterChannel(Channel inChannel)
Passes the request to deregister a channel to the block |
int |
draw(java.awt.Graphics g,
java.awt.Font regFont,
java.awt.FontMetrics regFontMetric,
int inTopLeftX,
int inTopLeftY,
int inWidth)
This method is called instead of the paintComponent() method. |
AbstractVarViz |
find(AbstractVarModel inModel)
Searches for the variable in this activation record (only). |
AbstractVarViz |
findRecursively(AbstractVarModel inModel)
Looks for the variable in this activation record, as well as the descendants and parents of its block, and returns the viz object |
static void |
main(java.lang.String[] args)
|
void |
registerChannel(Channel inChannel)
Passes the request to register a channel to the block |
void |
respond(int xMouse,
int yMouse)
Responds to mouse events on the object |
void |
update()
Broadcast update() to all the variables and pointers |
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 ActivationRecordViz(ActivationRecord inModel, BlockViz inBlockViz)
Method Detail |
---|
public int draw(java.awt.Graphics g, java.awt.Font regFont, java.awt.FontMetrics regFontMetric, int inTopLeftX, int inTopLeftY, int inWidth)
BaseViz
g
- Graphics context on which to draw the visualizationpublic void respond(int xMouse, int yMouse)
BaseViz
public AbstractVarViz find(AbstractVarModel inModel)
public AbstractVarViz findRecursively(AbstractVarModel inModel)
public void update()
update
in class BaseViz
public void registerChannel(Channel inChannel)
public void deregisterChannel(Channel inChannel)
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |