
jadex.bdi.examples.blocksworld.BlocksListModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-applications-bdi Show documentation
Show all versions of jadex-applications-bdi Show documentation
The Jadex BDI applications package contain
several example applications, benchmarks and
testcases using BDI agents.
The newest version!
package jadex.bdi.examples.blocksworld;
import jadex.commons.beans.PropertyChangeEvent;
import jadex.commons.beans.PropertyChangeListener;
import javax.swing.DefaultListModel;
/**
* A list model representing a collection of blocks
* on a table or in a bucket.
*/
public class BlocksListModel extends DefaultListModel
{
/**
* Create a list model for the given table.
* @param table The table.
*/
public BlocksListModel(Table table)
{
// Add initial blocks.
for(int i=0; i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy