chemaxon.alchemist.configbuilder
Class ConfigBuilderPanel.LeftListModel

java.lang.Object
  extended by javax.swing.AbstractListModel
      extended by chemaxon.alchemist.utils.AbstractFilterListModel
          extended by chemaxon.alchemist.utils.SynchronizedAbstractFilterListModel
              extended by chemaxon.alchemist.configbuilder.ConfigBuilderPanel.LeftListModel
All Implemented Interfaces:
Serializable, ListModel
Enclosing class:
ConfigBuilderPanel

protected final class ConfigBuilderPanel.LeftListModel
extends chemaxon.alchemist.utils.SynchronizedAbstractFilterListModel

Is a SynchronizedAbstractFilterListModel implementation. The objects created from this class will serve as a model for the list on the left side

Version:
5.4.2
Author:
Istvan Rabel, Attila Szabo
See Also:
Serialized Form

Field Summary
 
Fields inherited from class chemaxon.alchemist.utils.AbstractFilterListModel
filteredVector, vector
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
protected ConfigBuilderPanel.LeftListModel()
           
 
Method Summary
protected  boolean filter(Object element)
          Filters the element.
 void sort()
          Sorts the list
 
Methods inherited from class chemaxon.alchemist.utils.SynchronizedAbstractFilterListModel
addElement, clear, filter, getElementAt, getFilteredIndexOf, getSize, getUnfilteredElementAt, getUnfilteredIndexOf, removeAllElements, removeElement, removeElement
 
Methods inherited from class chemaxon.alchemist.utils.AbstractFilterListModel
elements, setElementAt, unfilteredElements
 
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, toString, wait, wait, wait
 

Constructor Detail

ConfigBuilderPanel.LeftListModel

protected ConfigBuilderPanel.LeftListModel()
Method Detail

filter

protected boolean filter(Object element)
Description copied from class: chemaxon.alchemist.utils.SynchronizedAbstractFilterListModel
Filters the element. Default implementation not filters.

Overrides:
filter in class chemaxon.alchemist.utils.SynchronizedAbstractFilterListModel
Parameters:
element - is the element being checked
Returns:
true, if filtered list should contain this element

sort

public void sort()
Sorts the list