jET
1.0beta1


org.jet.sce
Class Scenery.NamesIndices

java.lang.Object
  |
  +--javax.swing.AbstractListModel
        |
        +--org.jet.sce.Scenery.NamesIndices
All Implemented Interfaces:
javax.swing.ListModel, java.io.Serializable
Enclosing class:
Scenery

public class Scenery.NamesIndices
extends javax.swing.AbstractListModel

The indices for track and switch names, implementing a list data model to speed up searching for track names.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
Scenery.NamesIndices()
          Creates new instance;
 
Method Summary
 void add(java.lang.Object o)
          Adds object to the list and sorts it immediatly.
 java.lang.Object getElementAt(int i)
          Gets elements at specified position.
 int getSize()
          Gets list size.
 void remove(java.lang.Object o)
          Removes object from list.
 
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

Scenery.NamesIndices

public Scenery.NamesIndices()
Creates new instance;

Method Detail

getElementAt

public java.lang.Object getElementAt(int i)
Gets elements at specified position.


getSize

public int getSize()
Gets list size.


add

public void add(java.lang.Object o)
Adds object to the list and sorts it immediatly.


remove

public void remove(java.lang.Object o)
Removes object from list.


jET
1.0beta1