@Deprecated public class ClosureModel
Represents a value model using a closure to extract the value from some source model and an optional write closure for updating the value.
Constructor and description |
---|
ClosureModel
(ValueModel sourceModel, Closure readClosure) |
ClosureModel
(ValueModel sourceModel, Closure readClosure, Closure writeClosure) |
ClosureModel
(ValueModel sourceModel, Closure readClosure, Closure writeClosure, Class type) |
Type Params | Return Type | Name and description |
---|---|---|
|
ValueModel |
getSourceModel() |
|
Class |
getType() |
|
Object |
getValue() |
|
boolean |
isEditable() |
|
void |
setValue(Object value) |
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.