Class 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
    • Field Summary

      • Fields inherited from class javax.swing.AbstractListModel

        listenerList
    • 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
      • Methods inherited from class javax.swing.AbstractListModel

        addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • BlocksListModel

        public BlocksListModel​(Table table)
        Create a list model for the given table.
        Parameters:
        table - The table.