Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.scopemvc.model.collection: Javadoc index of package org.scopemvc.model.collection.


Package Samples:

org.scopemvc.model.collection

Classes:

ListModelAdaptor: Used to present a list of ListModelSource s as an active BasicModel. Useful when initialising org.scopemvc.view.swing.SComboBox or org.scopemvc.view.swing.SList with a static list of data. This will propogate ModelChangeEvents from sublists that are ModelChangeEventSources. Note that this adaptor registers as a listener with such sublists: it may be necessary to manually unregister with removeModelChangeListeners() 55 if an adaptor is no longer needed. The adaptor can present its ListModelSources as a sorted list if a Comparator is passed to setComparator(java.util.Comparator) 55 or all list elements ...
ArrayModel: A BasicModel wrapper for an Object[] that can propogate changes to contained Models up the Model hierarchy, and implements the java.util.List interface. The array itself is exposed via the "array" property, however, changes to this array must be made through the public API in order to maintain the model change propogation. By default ArrayModel registers itself as a listener to Models that are added to the array and deregisters when those Models are removed. This behaviour can be changed at creation so that ModelChangeEvent propogation is disabled.
SetModel: A BasicModel wrapper for an Set that can propogate changes to contained Models up the Model hierarchy. The set itself is exposed via the "set" property, however, changes to this underlying set must be made through this class's public API in order to maintain the event propogation. By default SetModel registers itself as a listener to Models that are added to the list and deregisters when those Models are removed. This behaviour can be changed at creation so that ModelChangeEvent propogation from contained models is disabled.
ListModel: A BasicModel wrapper for an List that can propogate changes to contained Models up the Model hierarchy. The list itself is exposed via the "list" property, however, changes to this list must be made through this class's public API in order to maintain the event propogation. By default ListModel registers itself as a listener to Models that are added to the list and deregisters when those Models are removed. This behaviour can be changed at creation so that ModelChangeEvent propogation is disabled.
ListModelSource: Used with ListModelAdaptor to wrap a Collection, List, Array, Enumeration or Iterator as the source of a list of model objects. Useful when initialising org.scopemvc.view.swing.SComboBox or org.scopemvc.view.swing.SList with a static list of data.

Home | Contact Us | Privacy Policy | Terms of Service