console
Class ErrorListModel

java.lang.Object
  extended by javax.swing.AbstractListModel
      extended by javax.swing.DefaultListModel
          extended by console.ErrorListModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.ListModel

public class ErrorListModel
extends javax.swing.DefaultListModel

A model for storing a collection of ErrorMatchers.

Since:
Console 4.2.5
Version:
$Id$
Author:
ezust
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
ErrorListModel()
           
 
Method Summary
 void addElement(java.lang.Object m)
           
 ErrorMatcher get(int i)
           
 void insertElementAt(java.lang.Object obj, int index)
           
static ErrorListModel load()
           
 void removeElementAt(int index)
           
 void reset()
           
 void restore()
           
 void save()
           
 
Methods inherited from class javax.swing.DefaultListModel
add, capacity, clear, contains, copyInto, elementAt, elements, ensureCapacity, firstElement, getElementAt, getSize, indexOf, indexOf, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, removeAllElements, removeElement, 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

ErrorListModel

public ErrorListModel()
Method Detail

get

public ErrorMatcher get(int i)
Overrides:
get in class javax.swing.DefaultListModel

load

public static ErrorListModel load()

reset

public void reset()

save

public void save()

restore

public void restore()

removeElementAt

public void removeElementAt(int index)
Overrides:
removeElementAt in class javax.swing.DefaultListModel

insertElementAt

public void insertElementAt(java.lang.Object obj,
                            int index)
Overrides:
insertElementAt in class javax.swing.DefaultListModel

addElement

public void addElement(java.lang.Object m)
Overrides:
addElement in class javax.swing.DefaultListModel