org.rosuda.deducer.toolkit
Class VariableSelector.FilteringModel

java.lang.Object
  extended by javax.swing.AbstractListModel
      extended by javax.swing.DefaultListModel
          extended by org.rosuda.deducer.toolkit.VariableSelector.FilteringModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.ListModel
Enclosing class:
VariableSelector

public class VariableSelector.FilteringModel
extends javax.swing.DefaultListModel

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
VariableSelector.FilteringModel()
           
VariableSelector.FilteringModel(java.lang.String[] items)
           
 
Method Summary
 void add(int index, java.lang.Object element)
           
 void addElement(java.lang.Object element)
           
 void addUnfilteredElementAt(int index, java.lang.Object obj)
           
 boolean contains(java.lang.Object element)
           
 java.lang.Object getElementAt(int index)
           
 int getSize()
           
 java.lang.Object getUnfilteredElementAt(int index)
           
 int getUnfilteredSize()
           
 java.lang.Object remove(int index)
           
 boolean removeElement(java.lang.Object element)
           
 java.lang.Object removeUnfilteredElementAt(int index)
           
 
Methods inherited from class javax.swing.DefaultListModel
capacity, clear, copyInto, elementAt, elements, ensureCapacity, firstElement, get, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, removeAllElements, 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

VariableSelector.FilteringModel

public VariableSelector.FilteringModel()

VariableSelector.FilteringModel

public VariableSelector.FilteringModel(java.lang.String[] items)
Method Detail

add

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

addElement

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

removeElement

public boolean removeElement(java.lang.Object element)
Overrides:
removeElement in class javax.swing.DefaultListModel

remove

public java.lang.Object remove(int index)
Overrides:
remove in class javax.swing.DefaultListModel

contains

public boolean contains(java.lang.Object element)
Overrides:
contains in class javax.swing.DefaultListModel

getSize

public int getSize()
Specified by:
getSize in interface javax.swing.ListModel
Overrides:
getSize in class javax.swing.DefaultListModel

getUnfilteredSize

public int getUnfilteredSize()

getElementAt

public java.lang.Object getElementAt(int index)
Specified by:
getElementAt in interface javax.swing.ListModel
Overrides:
getElementAt in class javax.swing.DefaultListModel

getUnfilteredElementAt

public java.lang.Object getUnfilteredElementAt(int index)

removeUnfilteredElementAt

public java.lang.Object removeUnfilteredElementAt(int index)

addUnfilteredElementAt

public void addUnfilteredElementAt(int index,
                                   java.lang.Object obj)