|
JAPI 0.9.0 Yet another Java API API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.AbstractListModel net.sf.japi.swing.prefs.PreferencesGroup
public class PreferencesGroup
A PreferencesGroup is an ordered set of Prefs
, for use with PreferencesPane
.
Field Summary |
---|
Fields inherited from class javax.swing.AbstractListModel |
---|
listenerList |
Constructor Summary | |
---|---|
PreferencesGroup(String title,
Prefs... prefs)
Create a Preferences group. |
Method Summary | |
---|---|
Prefs |
getElementAt(int index)
Returns the value at the specified index. |
int |
getSize()
Returns the length of the list. |
String |
getTitle()
Get the title. |
Iterator<Prefs> |
iterator()
Returns an iterator over a set of elements of type T. |
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 |
Constructor Detail |
---|
public PreferencesGroup(String title, Prefs... prefs)
prefs
- Preferences modules to initially addtitle
- Title for PreferencesMethod Detail |
---|
public String getTitle()
public Iterator<Prefs> iterator()
iterator
in interface Iterable<Prefs>
public int getSize()
getSize
in interface ListModel
public Prefs getElementAt(int index)
getElementAt
in interface ListModel
index
- the requested index
index
|
JAPI Yet another Java API API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |