|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<IDispatch>
net.sf.jiffie.MultipleElementList
public final class MultipleElementList
This class represents a collection of IHTMLElements. This is in effect a thin wrapper around an underlying IHTMLElementCollection instance.
| Field Summary |
|---|
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
MultipleElementList(InternetExplorer parentBrowser,
Dispatch dispatch)
Constructor. |
|
| Method Summary | |
|---|---|
IDispatch |
get(int index)
|
boolean |
isReleased()
This method returns a boolean flag indicating if this object has already been released. |
IDispatch |
item(int index)
This is a convenience method designed to emulate the behaviour of the item method of the IHTMLElementCollection interface. |
ElementList |
item(java.lang.String name)
This is a convenience method designed to emulate the behaviour of the item method of the IHTMLElementCollection interface. |
void |
release()
This method releases the COM object associated with this collection. |
int |
size()
|
ElementList |
tags(java.lang.String name)
This is a convenience method designed to emulate the behaviour of the tags method of the IHTMLElementCollection interface. |
| Methods inherited from class java.util.AbstractList |
|---|
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, subList, toArray, toArray |
| Constructor Detail |
|---|
public MultipleElementList(InternetExplorer parentBrowser,
Dispatch dispatch)
parentBrowser - parent browserdispatch - Jacob dispatch interface| Method Detail |
|---|
public IDispatch get(int index)
get in interface java.util.List<IDispatch>get in class java.util.AbstractList<IDispatch>public int size()
size in interface java.util.Collection<IDispatch>size in interface java.util.List<IDispatch>size in class java.util.AbstractCollection<IDispatch>
public IDispatch item(int index)
throws JiffieException
item in interface ElementListindex - zero based array index
JiffieException - if there is an error creating list
public ElementList item(java.lang.String name)
throws JiffieException
item in interface ElementListname - name or id attribute of a tag
JiffieException - if there is an error creating list
public ElementList tags(java.lang.String name)
throws JiffieException
tags in interface ElementListname - tag type name
JiffieException - if there is an error creating listpublic void release()
release in interface Releaseablepublic boolean isReleased()
isReleased in interface Releaseable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||