com.mindfusion.diagramming
Class PointList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by com.mindfusion.diagramming.BaseList<java.awt.geom.Point2D.Float>
              extended by com.mindfusion.diagramming.PointList
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<java.awt.geom.Point2D.Float>, java.util.Collection<java.awt.geom.Point2D.Float>, java.util.List<java.awt.geom.Point2D.Float>

public class PointList
extends BaseList<java.awt.geom.Point2D.Float>
implements java.lang.Cloneable

A strongly-typed list of Point2D.Float objects.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.mindfusion.diagramming.BaseList
list, listEvent, notifyParent
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
PointList()
           
PointList(int size)
           
PointList(java.awt.geom.Point2D.Float[] points)
           
PointList(PointList points)
           
 
Method Summary
 java.lang.Object clone()
           
 java.awt.geom.Point2D.Float[] getArray()
           
 java.awt.geom.Point2D.Float getCopy(int i)
           
 void readExternal(java.io.ObjectInput in)
           
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class com.mindfusion.diagramming.BaseList
add, clear, contains, get, raiseAdding, raiseClearing, raiseRemoving, remove, remove, removeRange, set, size
 
Methods inherited from class java.util.AbstractList
add, addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
addAll, containsAll, isEmpty, removeAll, retainAll, toArray, toArray
 

Constructor Detail

PointList

public PointList(int size)

PointList

public PointList(PointList points)

PointList

public PointList(java.awt.geom.Point2D.Float[] points)

PointList

public PointList()
Method Detail

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

getCopy

public java.awt.geom.Point2D.Float getCopy(int i)

getArray

public java.awt.geom.Point2D.Float[] getArray()

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Overrides:
writeExternal in class BaseList<java.awt.geom.Point2D.Float>
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Overrides:
readExternal in class BaseList<java.awt.geom.Point2D.Float>
Throws:
java.io.IOException
java.lang.ClassNotFoundException