
jadex.bdi.blocksworld.BlocksListModel Maven / Gradle / Ivy
The newest version!
package jadex.bdi.blocksworld;
import java.beans.PropertyChangeEvent;
import java.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