fr.lifl.jedi.gui.display.interactionDisplayer.model
Class OptionsModel

java.lang.Object
  extended by fr.lifl.jedi.gui.display.interactionDisplayer.model.OptionsModel

public class OptionsModel
extends java.lang.Object

A model that stores the options selected in the GUI, which define what data are stored within the tree.

Version:
JEDI V 2.3
Created the 16th June 2009
Author:
Yoann Kubera
SMAC Team (Systèmes Multi-Agents et Comportement)
LIFL (Laboratoire d'Informatique Fondamentale de Lille)
University of Lille, France

Constructor Summary
OptionsModel()
          Constructor of the model that stores the options selected in the GUI, which define what data are stored within the tree.
 
Method Summary
 int getNumberOfStepsToDisplay()
          Gets the number of last simulation steps to display within the GUI.
 boolean isRemovedAgentsDisplayed()
          Checks if dead agents are displayed within the GUI or not.
 void setNumberOfStepsToDisplay(int numberOfStepsToDisplay)
          Sets the number of last simulation steps to display within the GUI.
 void setRemovedAgentsDisplayed(boolean removedAgentsDisplayed)
          Sets if dead agents are displayed within the GUI or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptionsModel

public OptionsModel()
Constructor of the model that stores the options selected in the GUI, which define what data are stored within the tree.

Method Detail

getNumberOfStepsToDisplay

public int getNumberOfStepsToDisplay()
Gets the number of last simulation steps to display within the GUI. If -1, all steps are displayed.

Returns:
the number of last simulation steps to display within the GUI. If -1, all steps are displayed.

setNumberOfStepsToDisplay

public void setNumberOfStepsToDisplay(int numberOfStepsToDisplay)
Sets the number of last simulation steps to display within the GUI. If -1, all steps are displayed.

Parameters:
numberOfStepsToDisplay - the number of last simulation steps to display within the GUI. If -1, all steps are displayed.

isRemovedAgentsDisplayed

public boolean isRemovedAgentsDisplayed()
Checks if dead agents are displayed within the GUI or not.

Returns:
true if dead agents are displayed within the GUI.

setRemovedAgentsDisplayed

public void setRemovedAgentsDisplayed(boolean removedAgentsDisplayed)
Sets if dead agents are displayed within the GUI or not.

Parameters:
removedAgentsDisplayed - true if dead agents are displayed within the GUI.