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