Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

joelib.gui.molviewer.java3d.molecule
Class ViewerAtoms  view ViewerAtoms download ViewerAtoms.java

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.Vector
              extended byjoelib.gui.molviewer.java3d.molecule.ViewerAtoms
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.lang.Iterable, java.util.List, java.util.RandomAccess, java.io.Serializable

public class ViewerAtoms
extends java.util.Vector

Atom vector class for Java3D viewer.


Nested Class Summary
 
Nested classes inherited from class java.util.AbstractList
 
Field Summary
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
ViewerAtoms()
          Default constructor
ViewerAtoms(int cap)
          Capacity constructor
ViewerAtoms(int cap, int inc)
          Capacity and increment constructor
 
Method Summary
 void append(ViewerAtom a)
          Append an atom to the end of vector
 ViewerAtom getAtom(int i)
          Returns atom at specified index
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.util.AbstractCollection
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Constructor Detail

ViewerAtoms

public ViewerAtoms()
Default constructor


ViewerAtoms

public ViewerAtoms(int cap)
Capacity constructor


ViewerAtoms

public ViewerAtoms(int cap,
                   int inc)
Capacity and increment constructor

Method Detail

getAtom

public final ViewerAtom getAtom(int i)
                         throws java.lang.ArrayIndexOutOfBoundsException
Returns atom at specified index


append

public final void append(ViewerAtom a)
Append an atom to the end of vector