public class HtmlTableRow.CellIterator extends Object implements Iterator<HtmlTableCell>, Iterable<HtmlTableCell>
| Constructor and Description |
|---|
HtmlTableRow.CellIterator()
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public HtmlTableRow.CellIterator()
public boolean hasNext()
hasNext in interface Iterator<HtmlTableCell>public HtmlTableCell next() throws NoSuchElementException
next in interface Iterator<HtmlTableCell>NoSuchElementException - if no cell is availablepublic void remove()
throws IllegalStateException
remove in interface Iterator<HtmlTableCell>IllegalStateException - if there is no current rowpublic HtmlTableCell nextCell() throws NoSuchElementException
NoSuchElementException - if no cell is availablepublic Iterator<HtmlTableCell> iterator()
iterator in interface Iterable<HtmlTableCell>Copyright © 2002–2014 Gargoyle Software Inc.. All rights reserved.