|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.student.common.ui.client.mvc.CollectionModel<T>
T - the type of model object to be contained within the model
@Deprecated public class CollectionModel<T>
Model object used as a container for the model state. Sources ModelChangeEvents used for tracking the model state.
| Constructor Summary | |
|---|---|
CollectionModel()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
add(T object)
Deprecated. Adds an object to the model, and fires a ModelChangeEvent |
com.google.gwt.event.shared.HandlerRegistration |
addModelChangeHandler(ModelChangeHandler handler)
Deprecated. Adds a ModelChangeHandler that will be invoked for ModelChangeEvents |
T |
getValue()
Deprecated. Returns the Model's value Going forward, the Model class should primarily be used with a single DataModel instance for use with the configurable UI framework. |
Collection<T> |
getValues()
Deprecated. Returns an unsorted, umodifiable collection of the values contained within the model. |
T |
remove(T object)
Deprecated. should use new Data structures instead, accessed via getValue, setValue |
void |
setValue(T value)
Deprecated. Sets the Model's value Going forward, the Model class should primarily be used with a single DataModel instance for use with the configurable UI framework. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CollectionModel()
| Method Detail |
|---|
public void add(T object)
object - public T remove(T object)
object -
public com.google.gwt.event.shared.HandlerRegistration addModelChangeHandler(ModelChangeHandler handler)
addModelChangeHandler in interface Modelhandler - the handler to add
public Collection<T> getValues()
public T getValue()
public void setValue(T value)
value - the new value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||