T
- the type of model object to be contained within the model@Deprecated public class CollectionModel<T> extends Object implements Model
Constructor and Description |
---|
CollectionModel()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public CollectionModel()
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 Model
handler
- the handler to addpublic Collection<T> getValues()
public T getValue()
Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.