|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractListModel
javax.swing.DefaultListModel
ilog.views.maps.IlvAreaOfInterestVector
public class IlvAreaOfInterestVector
This class stores a vector of IlvAreaOfInterest objects in a
persistent manner.
| Field Summary |
|---|
| Fields inherited from class javax.swing.AbstractListModel |
|---|
listenerList |
| Constructor Summary | |
|---|---|
IlvAreaOfInterestVector()
Creates an empty vector of IlvAreaOfInterest objects. |
|
IlvAreaOfInterestVector(IlvAreaOfInterestVector src)
Copies the src parameter into a new
IlvAreaOfInterestVector instance. |
|
IlvAreaOfInterestVector(IlvInputStream stream)
Creates a new IlvAreaOfInterestVector by reading from
an input stream. |
|
| Method Summary | |
|---|---|
IlvAreaOfInterestVector |
copy()
Returns a copy of this IlvAreaOfInterestVector instance. |
IlvAreaOfInterest |
getArea(int iArea)
Returns the IlvAreaOfInterest object at the specified
position in this IlvAreaOfInterestVector instance. |
void |
write(IlvOutputStream stream)
Writes the vector of IlvAreaOfInterest objects in this
IlvAreaOfInterestVector instance to a formatted output
stream. |
| Methods inherited from class javax.swing.DefaultListModel |
|---|
add, addElement, capacity, clear, contains, copyInto, elementAt, elements, ensureCapacity, firstElement, get, getElementAt, getSize, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, removeAllElements, removeElement, 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 |
|---|
public IlvAreaOfInterestVector()
IlvAreaOfInterest objects.
public IlvAreaOfInterestVector(IlvAreaOfInterestVector src)
src parameter into a new
IlvAreaOfInterestVector instance.
src - The source vector to copy.
public IlvAreaOfInterestVector(IlvInputStream stream)
throws IlvReadFileException
IlvAreaOfInterestVector by reading from
an input stream.
stream - The input stream to read from.
IlvReadFileException - if the file being read from the stream is
incorrect.| Method Detail |
|---|
public void write(IlvOutputStream stream)
throws IOException
IlvAreaOfInterest objects in this
IlvAreaOfInterestVector instance to a formatted output
stream.
write in interface IlvPersistentObjectstream - The output stream to write to.
IOException - thrown when an exception occurs during
the write operation for this object.IlvPersistentObject.write(ilog.views.io.IlvOutputStream)public IlvAreaOfInterestVector copy()
IlvAreaOfInterestVector instance.
IlvAreaOfInterestVector instance.public IlvAreaOfInterest getArea(int iArea)
IlvAreaOfInterest object at the specified
position in this IlvAreaOfInterestVector instance.
iArea - The index of the element to return.
iArea.
ArrayIndexOutOfBoundsException - if iArea is out
of range, that is, iArea < 0 || iArea >= size().
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||