|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.Vector
wt.clients.prodmgmt.ReferencesList
ReferencesList is a list of the references for a PartItem.
It allows adding and removed referenced documents from the list.
Supported API: false
Extendable: false
PartItem
,
Serialized FormNested Class Summary |
Nested classes inherited from class java.util.AbstractList |
|
Field Summary | |
protected Vector |
addedReference
|
protected boolean |
frameStarted
|
protected PartItem |
part
|
protected Vector |
removedReference
|
Fields inherited from class java.util.Vector |
capacityIncrement, elementCount, elementData |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
ReferencesList(PartItem part)
Constructs a ReferenceList using the specified PartItem. |
Method Summary | |
void |
addElementDoc(DocumentItem references)
Adds the DocumentItem to the ReferencesList |
ReferenceItem |
elementAt(String identity)
Returns the ReferenceItem with the specified identity. |
void |
endFrame()
End the current frame to keep track of added and removed references. |
protected void |
populate()
Populate the list using the contained PartItem. |
void |
removeElementAt(String identity)
Remove the ReferenceItem with the specified identity. |
boolean |
saveFrame()
Saves all changes made since the last beginFrame. |
void |
startFrame()
Start a new frame to keep track of added and removed references. |
String[] |
toMultiList()
Returns an array of Strings representing the ReferencesList, formatted for use in a symantec.itools.awt.MultiList. |
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.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
iterator, listIterator, listIterator |
Field Detail |
protected boolean frameStarted
protected Vector removedReference
protected Vector addedReference
protected PartItem part
Constructor Detail |
public ReferencesList(PartItem part)
part
- the PartItem to hold References forMethod Detail |
public boolean saveFrame() throws WTException
WTException
- if an error occurs saving the list.public void startFrame()
public void endFrame()
public ReferenceItem elementAt(String identity)
identity
- the identity of the requested ReferenceItem.
public void addElementDoc(DocumentItem references)
references
- the new DocumentItem to referencepublic void removeElementAt(String identity)
identity
- the identity of the requested ReferenceItem.
protected void populate()
public String[] toMultiList()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |