|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sourceforge.helpgui.page.PageList
public class PageList
List of page for the help topic
| Constructor Summary | |
|---|---|
PageList()
Constructor. |
|
| Method Summary | |
|---|---|
void |
add(Page page)
Add a new page on the list. |
void |
clear()
Removes all the pages from this list. |
Page |
get(int pageIndex)
Return a page by its index. |
int |
getIndex(Page page)
Returns the index of the specified task. |
int |
indexOf(Page page)
Returns the index of the specified page. |
boolean |
isEmpty()
Tells if the list is empty or not. |
boolean |
isInList(Page page)
Tells if a page is or not in this list. |
java.util.Iterator |
iterator()
Returns a list iterator on this list. |
void |
remove(int pageIndex)
Removes the specified page form the list. |
void |
remove(Page page)
Removes the specified page form the list. |
int |
size()
Returns the number of pages in this list. |
java.lang.String |
toString()
Returns a string that describes current instance content. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PageList()
| Method Detail |
|---|
public void add(Page page)
public Page get(int pageIndex)
throws java.lang.IndexOutOfBoundsException
java.lang.IndexOutOfBoundsExceptionpublic int getIndex(Page page)
public java.util.Iterator iterator()
public int indexOf(Page page)
public boolean isEmpty()
public void remove(int pageIndex)
public void remove(Page page)
public int size()
public void clear()
public boolean isInList(Page page)
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||