|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ObservableCollection | |
|---|---|
| org.apache.commons.events.observable | |
| org.apache.commons.events.observable.standard | |
| Uses of ObservableCollection in org.apache.commons.events.observable |
|---|
| Subclasses of ObservableCollection in org.apache.commons.events.observable | |
|---|---|
class |
ObservableBag
Decorates a Bag implementation to observe modifications. |
class |
ObservableBuffer
Decorates a Buffer implementation to observe modifications. |
class |
ObservableList
Decorates a List implementation to observe modifications. |
class |
ObservableSet
Decorates a Set implementation to observe modifications. |
class |
ObservableSortedBag
Decorates a SortedBag implementation to observe modifications. |
class |
ObservableSortedSet
Decorates a SortedSet implementation to observe modifications. |
| Fields in org.apache.commons.events.observable declared as ObservableCollection | |
|---|---|
protected ObservableCollection |
ModificationEvent.collection
The source collection |
| Methods in org.apache.commons.events.observable that return ObservableCollection | |
|---|---|
static ObservableCollection |
ObservableCollection.decorate(Collection coll)
Factory method to create an observable collection. |
static ObservableCollection |
ObservableCollection.decorate(Collection coll,
Object listener)
Factory method to create an observable collection using a listener or a handler. |
ObservableCollection |
ModificationHandler.getObservedCollection()
Gets the observed collection. |
ObservableCollection |
ModificationEvent.getObservedCollection()
Gets the collection the event is reporting on. |
| Methods in org.apache.commons.events.observable with parameters of type ObservableCollection | |
|---|---|
protected void |
ModificationHandler.postEvent(boolean modified,
int type,
int index,
Object object,
int repeat,
Object previous,
ObservableCollection view,
int viewOffset)
Handles the post event. |
protected void |
ModificationHandler.SetViewHandler.postEvent(boolean modified,
int type,
int index,
Object object,
int repeat,
Object previous,
ObservableCollection ignoredView,
int offset)
Override the postEvent method to forward all events to the underlying handler. |
protected void |
ModificationHandler.SubListHandler.postEvent(boolean modified,
int type,
int index,
Object object,
int repeat,
Object previous,
ObservableCollection ignoredView,
int ignoredOffset)
Override the postEvent method to forward all events to the underlying handler. |
protected boolean |
ModificationHandler.preEvent(int type,
int index,
Object object,
int repeat,
Object previous,
ObservableCollection view,
int viewOffset)
Handles the pre event. |
protected boolean |
ModificationHandler.SetViewHandler.preEvent(int type,
int index,
Object object,
int repeat,
Object previous,
ObservableCollection ignoredView,
int offset)
Override the preEvent method to forward all events to the underlying handler. |
protected boolean |
ModificationHandler.SubListHandler.preEvent(int type,
int index,
Object object,
int repeat,
Object previous,
ObservableCollection ignoredView,
int ignoredOffset)
Override the preEvent method to forward all events to the underlying handler. |
| Constructors in org.apache.commons.events.observable with parameters of type ObservableCollection | |
|---|---|
ModificationEvent(ObservableCollection obsCollection,
ModificationHandler handler,
int type)
Constructor. |
|
| Uses of ObservableCollection in org.apache.commons.events.observable.standard |
|---|
| Fields in org.apache.commons.events.observable.standard declared as ObservableCollection | |
|---|---|
protected ObservableCollection |
StandardModificationEvent.view
The view that the event came from, null if none |
| Methods in org.apache.commons.events.observable.standard that return ObservableCollection | |
|---|---|
ObservableCollection |
StandardModificationEvent.getView()
Gets the view, null if none. |
| Methods in org.apache.commons.events.observable.standard with parameters of type ObservableCollection | |
|---|---|
protected void |
StandardModificationHandler.firePostEvent(int type,
int index,
Object object,
int repeat,
Object previous,
ObservableCollection view,
int viewOffset)
Sends the post event to the listeners. |
protected boolean |
StandardModificationHandler.firePreEvent(int type,
int index,
Object object,
int repeat,
Object previous,
ObservableCollection view,
int viewOffset)
Sends the pre event to the listeners. |
protected void |
StandardModificationHandler.postEvent(boolean modified,
int type,
int index,
Object object,
int repeat,
Object previous,
ObservableCollection view,
int viewOffset)
Handles the post event. |
protected boolean |
StandardModificationHandler.preEvent(int type,
int index,
Object object,
int repeat,
Object previous,
ObservableCollection view,
int viewOffset)
Handles the pre event. |
| Constructors in org.apache.commons.events.observable.standard with parameters of type ObservableCollection | |
|---|---|
StandardModificationEvent(ObservableCollection obsCollection,
ModificationHandler handler,
int type,
int preSize,
int index,
Object object,
int repeat,
Object previous,
ObservableCollection view,
int viewOffset)
Constructor. |
|
StandardPostModificationEvent(ObservableCollection obsCollection,
ModificationHandler handler,
int type,
int preSize,
int index,
Object object,
int repeat,
Object previous,
ObservableCollection view,
int viewOffset)
Constructor. |
|
StandardPreModificationEvent(ObservableCollection obsCollection,
ModificationHandler handler,
int type,
int preSize,
int index,
Object object,
int repeat,
Object previous,
ObservableCollection view,
int viewOffset)
Constructor. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||