choco.visu.components.bricks
Class NodeBrick

java.lang.Object
  extended by choco.visu.components.bricks.AChocoBrick
      extended by choco.visu.components.bricks.NodeBrick
All Implemented Interfaces:
IChocoBrick

public final class NodeBrick
extends AChocoBrick


Nested Class Summary
static class NodeBrick.CParticle
           
 
Field Summary
 
Fields inherited from class choco.visu.components.bricks.AChocoBrick
CENTER, chopapplet, LEFT, policy, RIGHT, var
 
Constructor Summary
NodeBrick(AChocoPApplet chopapplet, Var var)
           
 
Method Summary
static NodeBrick.CParticle createParticle()
           
 void drawBrick(int x, int y, int widht, 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 choco.visu.components.bricks.AChocoBrick
alignText, alignText, getDomainValues, getLowBound, getUppBound, getValues, getVar, getVarSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeBrick

public NodeBrick(AChocoPApplet chopapplet,
                 Var var)
Method Detail

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 widht,
                            int height)
Draw the graphic representation of the var associated to the brick


createParticle

public static NodeBrick.CParticle createParticle()


Copyright © 2012. All Rights Reserved.