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 | Name and description |
---|---|
ValueModel |
getSourceModel() |
Class |
getType() |
Object |
getValue() |
boolean |
isEditable() |
void |
setValue(Object value) |
Copyright © 2003-2016 The Apache Software Foundation. All rights reserved.