On this page
[Java] Class PropertyModel
- groovy.swing.model.PropertyModel
- All Implemented Interfaces and Traits:
- NestedValueModel, ValueModel
public class PropertyModel
extends Object
implements NestedValueModel, ValueModel
Represents a property of a value as a model.
Constructor Summary
Constructor and description |
---|
PropertyModel(ValueModel sourceModel, String property) |
PropertyModel(ValueModel sourceModel, String property, Class type) |
PropertyModel(ValueModel sourceModel, String property, Class type, boolean editable) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
public String |
getProperty() |
|
public ValueModel |
getSourceModel() |
|
public Class |
getType() |
|
public Object |
getValue() |
|
public boolean |
isEditable() |
|
public void |
setValue(Object value) |
Inherited Methods Summary
Constructor Detail
public PropertyModel(ValueModel sourceModel, String property)
public PropertyModel(ValueModel sourceModel, String property, Class type)
public PropertyModel(ValueModel sourceModel, String property, Class type, boolean editable)
Method Detail
public String getProperty()
@Override public ValueModel getSourceModel()
@Override public Class getType()
@Override public Object getValue()
@Override public boolean isEditable()
@Override public void setValue(Object value)
© 2003-2022 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/4.0.0/html/gapi/groovy/swing/model/PropertyModel.html