Package jadex.bdiv3.examples.blocksworld
Class BlocksListModel
- java.lang.Object
-
- javax.swing.AbstractListModel<E>
-
- javax.swing.DefaultListModel
-
- jadex.bdiv3.examples.blocksworld.BlocksListModel
-
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.ListModel
public class BlocksListModel extends javax.swing.DefaultListModel
A list model representing a collection of blocks on a table or in a bucket.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BlocksListModel(Table table)
Create a list model for the given table.
-
Method Summary
-
Methods inherited from class javax.swing.DefaultListModel
add, addAll, addAll, addElement, capacity, clear, contains, copyInto, elementAt, elements, ensureCapacity, firstElement, get, getElementAt, getSize, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, removeAllElements, removeElement, removeElementAt, removeRange, set, setElementAt, setSize, size, toArray, toString, trimToSize
-
-
-
-
Constructor Detail
-
BlocksListModel
public BlocksListModel(Table table)
Create a list model for the given table.- Parameters:
table
- The table.
-
-