choco.kernel.visu.components.bricks
Interface IChocoBrick

All Known Implementing Classes:
AChocoBrick, ColorValueBrick, DotBrick, FullDomainBrick, HazardOrValueBrick, NameOrValueBrick, NodeBrick, QuestionMarkOrValueBrick

public interface IChocoBrick


Method Summary
 void drawBrick(int x, int y, int widht, int height)
          Draw the graphic representation of the var associated to the brick
 Var getVar()
          Returns the associated Var object
 void refresh(Object arg)
          Refresh data of the PApplet in order to refresh the visualization
 

Method Detail

getVar

Var getVar()
Returns the associated Var object

Returns:
var

refresh

void refresh(Object arg)
Refresh data of the PApplet in order to refresh the visualization

Parameters:
arg - an object to precise the refreshing

drawBrick

void drawBrick(int x,
               int y,
               int widht,
               int height)
Draw the graphic representation of the var associated to the brick



Copyright © 2012. All Rights Reserved.