org.problets.domain.viz.data.variable
Class ValueViz
java.lang.Object
org.problets.domain.viz.data.BaseViz
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
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValueViz
public ValueViz(java.lang.String value)
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)