public class IlvAreaOfInterestVector extends DefaultListModel<IlvAreaOfInterest> implements IlvPersistentObject
IlvAreaOfInterest
objects in a
persistent manner.listenerList
Constructor and Description |
---|
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. |
Modifier and Type | Method and Description |
---|---|
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. |
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
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
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.public void write(IlvOutputStream stream) throws IOException
IlvAreaOfInterest
objects in this
IlvAreaOfInterestVector
instance to a formatted output
stream.write
in interface IlvPersistentObject
stream
- 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()
.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.