choco.visu.components.bricks
Class QuestionMarkOrValueBrick
java.lang.Object
choco.visu.components.bricks.AChocoBrick
choco.visu.components.bricks.QuestionMarkOrValueBrick
- All Implemented Interfaces:
- IChocoBrick
public final class QuestionMarkOrValueBrick
- extends AChocoBrick
Method Summary |
void |
drawBrick(int x,
int y,
int width,
int height)
Draw the graphic representation of the var associated to the brick |
void |
refresh(Object arg)
Refresh data of the PApplet in order to refresh the visualization |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuestionMarkOrValueBrick
public QuestionMarkOrValueBrick(AChocoPApplet chopapplet,
Var var,
int policy)
refresh
public final void refresh(Object arg)
- Refresh data of the PApplet in order to refresh the visualization
- Parameters:
arg
- an object to precise the refreshing
drawBrick
public final void drawBrick(int x,
int y,
int width,
int height)
- Draw the graphic representation of the var associated to the brick
Copyright © 2012. All Rights Reserved.