|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.AbstractListModel javax.swing.DefaultComboBoxModel com.jidesoft.dialog.PageList
public class PageList
A list of AbstractDialogPage or its subclasses. It is used by MultiplePageDialog and Wizard.
Field Summary |
---|
Fields inherited from class javax.swing.AbstractListModel |
---|
listenerList |
Constructor Summary | |
---|---|
PageList()
|
Method Summary | |
---|---|
void |
append(AbstractDialogPage page)
Appends a page to the end of the list. |
void |
clear()
Clear the page list. |
AbstractDialogPage |
getCurrentPage()
Gets the current selected page. |
AbstractDialogPage |
getPage(int i)
Gets the page at position. |
AbstractDialogPage |
getPageByFullTitle(String title)
If you know the full title of any page, use this method to get the actual page from the list. |
int |
getPageCount()
Gets the page count in the list. |
int |
getPageIndexByFullTitle(String title)
Gets the page index if you know the full title of the page. |
List<String> |
getPageTitlesAsList()
Gets the all page titles as vector. |
void |
insertAfter(AbstractDialogPage page,
String title)
Inserts a page after the page with the specified full title. |
void |
remove(AbstractDialogPage page)
Removes a page from the page list. |
void |
setCurrentPage(AbstractDialogPage page)
Sets the current selected page. |
protected boolean |
setCurrentPage(AbstractDialogPage page,
Object source)
|
Methods inherited from class javax.swing.DefaultComboBoxModel |
---|
addElement, getElementAt, getIndexOf, getSelectedItem, getSize, insertElementAt, removeAllElements, removeElement, removeElementAt, setSelectedItem |
Methods inherited from class javax.swing.AbstractListModel |
---|
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.swing.ListModel |
---|
addListDataListener, removeListDataListener |
Constructor Detail |
---|
public PageList()
Method Detail |
---|
public AbstractDialogPage getPageByFullTitle(String title)
title
- the full title.
public int getPageIndexByFullTitle(String title)
title
- the full title.
public int getPageCount()
public void append(AbstractDialogPage page)
page
- the page to be appended.public void remove(AbstractDialogPage page)
page
- page to be removed.public void clear()
public void insertAfter(AbstractDialogPage page, String title)
page
- page to be inserted.title
- the title of the page after when the new page will be inserted.public AbstractDialogPage getPage(int i)
i
- the index
public List<String> getPageTitlesAsList()
public AbstractDialogPage getCurrentPage()
public void setCurrentPage(AbstractDialogPage page)
page
- the dialog page.protected boolean setCurrentPage(AbstractDialogPage page, Object source)
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |