[Java] Class PropertyModel
- groovy.swing.model.PropertyModel
- All Implemented Interfaces and Traits:
- NestedValueModel, ValueModel
public class PropertyModel
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
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
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()
public ValueModel getSourceModel()
public Class getType()
public Object getValue()
public boolean isEditable()
public void setValue(Object value)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/groovy/swing/model/PropertyModel.html