O - the type of return elements.public abstract static class SwingUtil.TabbedPaneIterator<O> extends Object implements Iterator<O>
JTabbedPane.
Implements the method get(int, Component) to obtain
the data required given the component (or index).
You can also inverse the order by usin the method reverse().
Note: After the use of the method reverse() the iterator returns
to the first element.
| Constructor and Description |
|---|
TabbedPaneIterator(boolean reverse,
JTabbedPane tabs) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract O |
get(int index,
Component comp) |
int |
getIndex() |
boolean |
hasNext() |
O |
next() |
void |
remove() |
void |
reset() |
SwingUtil.TabbedPaneIterator<O> |
reverse() |
protected void |
setReverse(boolean reverse) |
int |
size() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEachRemainingpublic TabbedPaneIterator(boolean reverse,
JTabbedPane tabs)
public void reset()
public int size()
public SwingUtil.TabbedPaneIterator<O> reverse()
public int getIndex()
protected void setReverse(boolean reverse)
Copyright © 2008–2017 Ultreia.io. All rights reserved.