|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gargoylesoftware.htmlunit.html.HtmlTableRow.CellIterator
public class HtmlTableRow.CellIterator
An Iterator over the HtmlTableCells contained in this row. It will also dive into nested forms, even though that is illegal HTML.
| Constructor Summary | |
|---|---|
HtmlTableRow.CellIterator()
Creates an instance. |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
|
Iterator<HtmlTableCell> |
iterator()
Returns an HtmlTableCell iterator. |
HtmlTableCell |
next()
|
HtmlTableCell |
nextCell()
|
void |
remove()
Removes the cell under the cursor from the current row. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HtmlTableRow.CellIterator()
| Method Detail |
|---|
public boolean hasNext()
hasNext in interface Iterator<HtmlTableCell>
public HtmlTableCell next()
throws NoSuchElementException
next in interface Iterator<HtmlTableCell>NoSuchElementException - if no cell is available
public void remove()
throws IllegalStateException
remove in interface Iterator<HtmlTableCell>IllegalStateException - if there is no current row
public HtmlTableCell nextCell()
throws NoSuchElementException
NoSuchElementException - if no cell is availablepublic Iterator<HtmlTableCell> iterator()
iterator in interface Iterable<HtmlTableCell>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||