choco.visu
Class Visu

java.lang.Object
  extended by choco.visu.Visu
All Implemented Interfaces:
IVisu

public final class Visu
extends Object
implements IVisu


Field Summary
protected  ArrayList<AVarChocoPanel> panelList
           
 Tracer tracer
           
 
Fields inherited from interface choco.kernel.visu.IVisu
LOGGER
 
Method Summary
 void addPanel(AVarChocoPanel panel)
          Add a new panel to the main frame of the Choco visualizer.
protected  void buildButtons(IObservableStepSearchLoop ssl)
           
static Visu createFullVisu()
           
static Visu createFullVisu(int width, int height)
           
static Visu createVisu(int width, int height, VisuButton... buttons)
           
static Visu createVisu(VisuButton... buttons)
           
 void kill()
           
 void listen(Solver s)
          Initializes the IVisu from the Solver
 void setVisible(boolean visible)
          Shows or hides this IVisu depending on the value of parameter visible.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tracer

public final Tracer tracer

panelList

protected ArrayList<AVarChocoPanel> panelList
Method Detail

createFullVisu

public static Visu createFullVisu()

createFullVisu

public static Visu createFullVisu(int width,
                                  int height)

createVisu

public static Visu createVisu(VisuButton... buttons)

createVisu

public static Visu createVisu(int width,
                              int height,
                              VisuButton... buttons)

kill

public final void kill()

buildButtons

protected final void buildButtons(IObservableStepSearchLoop ssl)

setVisible

public final void setVisible(boolean visible)
Shows or hides this IVisu depending on the value of parameter visible.

Specified by:
setVisible in interface IVisu
Parameters:
visible - if true, makes the IVisu visible, otherwise hides the IVisu.

addPanel

public final void addPanel(AVarChocoPanel panel)
Add a new panel to the main frame of the Choco visualizer. Allow user to observe variables during resolution.

Specified by:
addPanel in interface IVisu
Parameters:
panel - the new panel to add

listen

public final void listen(Solver s)
Initializes the IVisu from the Solver

Specified by:
listen in interface IVisu
Parameters:
s - the solver


Copyright © 2012. All Rights Reserved.