|
Mp3dings 20100427 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractSet
java.util.TreeSet
net.sourceforge.mp3dings.utils.BeanSet
public class BeanSet
The Set view of a BeanSet always contains all elements that have been added to it. In contrast the ListModel view only contains those elements that are instances of the current type. *
| Nested Class Summary | |
|---|---|
static class |
BeanSet.ListModel
A List Model view of the BeanSet. |
| Constructor Summary | |
|---|---|
BeanSet()
Constructs a new BeanSet. |
|
| Method Summary | |
|---|---|
boolean |
add(Object o)
Description of the Method |
boolean |
addAll(Collection c)
Adds a feature to the All attribute of the BeanSet object |
void |
addChangeListener(ChangeListener l)
Adds a feature to the ChangeListener attribute of the BeanSet object |
void |
clear()
Description of the Method |
protected void |
fireStateChanged(Class beantype)
Informs comboboxes that something has changed. |
Bean |
getBeanForID(long id)
Gets the beanForID attribute of the BeanSet object |
Bean |
getBeanForName(String name)
Gets the beanForName attribute of the BeanSet object |
BeanSet.ListModel |
getNewListModel()
Gets the newListModel attribute of the BeanSet object |
boolean |
remove(Object o)
Description of the Method |
boolean |
removeAll(Collection c)
Description of the Method |
void |
removeChangeListener(ChangeListener l)
Description of the Method |
boolean |
renameBean(Bean bean,
String newName)
Description of the Method |
| Methods inherited from class java.util.TreeSet |
|---|
ceiling, clone, comparator, contains, descendingIterator, descendingSet, first, floor, headSet, headSet, higher, isEmpty, iterator, last, lower, pollFirst, pollLast, size, subSet, subSet, tailSet, tailSet |
| Methods inherited from class java.util.AbstractSet |
|---|
equals, hashCode |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll, retainAll, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Set |
|---|
containsAll, equals, hashCode, retainAll, toArray, toArray |
| Constructor Detail |
|---|
public BeanSet()
| Method Detail |
|---|
public BeanSet.ListModel getNewListModel()
public boolean renameBean(Bean bean,
String newName)
bean - Description of the ParameternewName - Description of the Parameter
public Bean getBeanForName(String name)
name - Description of the Parameter
public Bean getBeanForID(long id)
id - Description of the Parameter
public boolean add(Object o)
add in interface Collectionadd in interface Setadd in class TreeSeto - Description of the Parameter
public boolean addAll(Collection c)
addAll in interface CollectionaddAll in interface SetaddAll in class TreeSetc - The feature to be added to the All attribute
public void clear()
clear in interface Collectionclear in interface Setclear in class TreeSetpublic boolean remove(Object o)
remove in interface Collectionremove in interface Setremove in class TreeSeto - Description of the Parameter
public boolean removeAll(Collection c)
removeAll in interface CollectionremoveAll in interface SetremoveAll in class AbstractSetc - Description of the Parameter
public void addChangeListener(ChangeListener l)
l - The feature to be added to the ChangeListener attributepublic void removeChangeListener(ChangeListener l)
l - Description of the Parameterprotected void fireStateChanged(Class beantype)
beantype - Description of the Parameter
|
Mp3dings 20100427 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||