org.problets.domain.viz.data.variable
Class ValueViz

java.lang.Object
  extended by org.problets.domain.viz.data.BaseViz
      extended by org.problets.domain.viz.data.variable.ValueViz
All Implemented Interfaces:
VizConstants

public class ValueViz
extends BaseViz

Vizualizes the sequence of values taken by a variable

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
ValueViz(java.lang.String value)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void respond(int xMouse, int yMouse)
          Responds to mouse events on the object
 void setActive(boolean newState)
          Sets/resets the active state of the object
 void update(java.lang.String newValue)
          Method called every time this vizualization must be updated
 
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

ValueViz

public ValueViz(java.lang.String value)
Method Detail

respond

public void respond(int xMouse,
                    int yMouse)
Description copied from class: BaseViz
Responds to mouse events on the object


update

public void update(java.lang.String newValue)
Method called every time this vizualization must be updated


setActive

public void setActive(boolean newState)
Sets/resets the active state of the object


main

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